00001 // -*- C++ -*- 00002 // AID-GENERATED 00003 // ========================================================================= 00004 // This class was generated by AID - Abstract Interface Definition 00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 00006 // ========================================================================= 00007 #ifndef EVENT_PARTICLEID_H 00008 #define EVENT_PARTICLEID_H 1 00009 00010 #include "EVENT/LCObject.h" 00011 #include "LCIOSTLTypes.h" 00012 00013 namespace EVENT { 00014 00015 00016 class ParticleID ; 00017 /**Vector of (pointers to) ParticleIDs.*/ 00018 typedef std::vector<ParticleID*> ParticleIDVec ; 00019 /** Persistent interface for LCIO ParticleIDs. 00020 * Used by ReconstructedParticle and Cluster 00021 * for different hypotheses on the particle type. 00022 * 00023 * @author gaede 00024 * @version $Id: ParticleID.aid,v 1.10 2006/08/03 16:53:35 gaede Exp $ 00025 * @see ReconstructedParticle.getParticleIDs() 00026 * @see Cluster.getParticleIDs() 00027 */ 00028 class ParticleID : public LCObject { 00029 00030 public: 00031 /// Destructor. 00032 virtual ~ParticleID() { /* nop */; } 00033 00034 00035 /** Useful typedef for template programming with LCIO */ 00036 typedef ParticleID lcobject_type ; 00037 00038 /** Type - userdefined. 00039 */ 00040 virtual int getType() const = 0; 00041 00042 /** The PDG code of this id - UnknownPDG ( 999999 ) if unknown. 00043 */ 00044 virtual int getPDG() const = 0; 00045 00046 /** Constant to be used if the PDG code is not known or undefined. 00047 */ 00048 00049 00050 static const int UnknownPDG = 999999 ; 00051 /**The likelihood of this hypothesis - in a user defined normalization. 00052 */ 00053 virtual float getLikelihood() const = 0; 00054 00055 /** Type of the algorithm/module that created this hypothesis. 00056 * Check/set collection parameters PIDAlgorithmTypeName and PIDAlgorithmTypeID. 00057 */ 00058 virtual int getAlgorithmType() const = 0; 00059 00060 /** Parameters associated with this hypothesis. 00061 * Check/set collection paramter PIDParameterNames for decoding the indices. 00062 */ 00063 virtual const FloatVec & getParameters() const = 0; 00064 }; // class 00065 } // namespace EVENT 00066 #endif /* ifndef EVENT_PARTICLEID_H */
1.3.9.1