LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
ParticleID.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef EVENT_PARTICLEID_H
8 #define EVENT_PARTICLEID_H 1
9 
10 #include "EVENT/LCObject.h"
11 #include "LCIOSTLTypes.h"
12 
13 namespace EVENT {
14 
15 
16 class ParticleID ;
18 typedef std::vector<ParticleID*> ParticleIDVec ;
28 class ParticleID : public LCObject {
29 
30 public:
32  virtual ~ParticleID() { /* nop */; }
33 
34 
37 
40  virtual int getType() const = 0;
41 
44  virtual int getPDG() const = 0;
45 
50  static const int UnknownPDG = 999999 ;
53  virtual float getLikelihood() const = 0;
54 
59  virtual int getAlgorithmType() const = 0;
60 
64  virtual const FloatVec & getParameters() const = 0;
65 }; // class
66 } // namespace EVENT
67 #endif /* ifndef EVENT_PARTICLEID_H */
static const int UnknownPDG
Constant to be used if the PDG code is not known or undefined.
Definition: ParticleID.h:50
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
virtual int getType() const =0
Type - userdefined.
std::vector< ParticleID * > ParticleIDVec
Vector of (pointers to) ParticleIDs.
Definition: ParticleID.h:16
std::vector< float > FloatVec
Vector of floats.
Definition: LCIOSTLTypes.h:18
virtual const FloatVec & getParameters() const =0
Parameters associated with this hypothesis.
virtual float getLikelihood() const =0
The likelihood of this hypothesis - in a user defined normalization.
Persistent interface for LCIO ParticleIDs.
Definition: ParticleID.h:28
virtual ~ParticleID()
Destructor.
Definition: ParticleID.h:32
virtual int getAlgorithmType() const =0
Type of the algorithm/module that created this hypothesis - NOTE: must be unique within one collectio...
ParticleID lcobject_type
Useful typedef for template programming with LCIO.
Definition: ParticleID.h:36
virtual int getPDG() const =0
The PDG code of this id - UnknownPDG ( 999999 ) if unknown.