00001 00002 // 00003 // "$Id: CandCalDetPID.h,v 1.3 2006/06/21 00:53:18 rhatcher Exp $" 00004 // 00005 // CandCalDetPID 00006 // 00007 // Package: CalDetPID 00008 // 00009 // A Candidate to hold the result of a PID decision for CalDet. 00010 // This class holds a bit field in which each bit corresponds to 00011 // a particular particle type. This allows the class to designate 00012 // a particle as being "a pion OR a muon" for example. 00013 // 00014 // 00015 // Contact: kordosky@hep.utexas.edu 00016 // 00017 // Created on: Sun Apr 27 11:52:34 CDT 2003 00018 // (generated by kordosky@unknown with init-cand-alg.pl) 00019 // 00021 00022 00023 #ifndef CALDETPID_CANDCALDETPID_H 00024 #define CALDETPID_CANDCALDETPID_H 00025 00026 #include "Candidate/CandBase.h" 00027 #include "CalDetPID/CandCalDetPIDHandle.h" 00028 00029 00030 class AlgHandle; 00031 class CandContext; 00032 class CandCalDetPIDHandle; 00033 00034 class CandCalDetPID : public CandBase 00035 { 00036 friend class CandCalDetPIDHandle; 00037 00038 public: 00039 00040 static CandCalDetPIDHandle MakeCandidate(AlgHandle& ah, CandContext& ch); 00041 CandCalDetPID(); 00042 00043 protected: 00044 CandCalDetPID(AlgHandle& ah); 00045 CandCalDetPID(AlgHandle& ah, CandHandle& ch, CandContext& cx); 00046 CandCalDetPID(const CandCalDetPID& rhs); 00047 virtual ~CandCalDetPID(); 00048 virtual void CreateLocalHandle(); 00049 virtual CandCalDetPID* Dup() const; 00050 00051 private: 00052 // The data for the candidate goes here 00053 00054 Bool_t fNoOverlap; 00055 Bool_t fInCERTime; 00056 UInt_t fPIDType; // a bit field 00057 UInt_t fNoOverlapBits; 00058 UInt_t fInCERTimeBits; 00059 Float_t fOLChi2; 00060 00061 ClassDef(CandCalDetPID,2) 00062 }; 00063 00064 #endif // CALDETPID_CANDCALDETPID_H 00065
1.3.9.1