CandCalDetPID Class Reference

#include <CandCalDetPID.h>

Inheritance diagram for CandCalDetPID:
CandBase CandRefCounted

List of all members.

Public Member Functions

 CandCalDetPID ()

Static Public Member Functions

static CandCalDetPIDHandle MakeCandidate (AlgHandle &ah, CandContext &ch)

Protected Member Functions

 CandCalDetPID (AlgHandle &ah)
 CandCalDetPID (AlgHandle &ah, CandHandle &ch, CandContext &cx)
 CandCalDetPID (const CandCalDetPID &rhs)
virtual ~CandCalDetPID ()
virtual void CreateLocalHandle ()
virtual CandCalDetPIDDup () const

Private Attributes

Bool_t fNoOverlap
Bool_t fInCERTime
UInt_t fPIDType
UInt_t fNoOverlapBits
UInt_t fInCERTimeBits
Float_t fOLChi2

Friends

class CandCalDetPIDHandle

Detailed Description

Definition at line 34 of file CandCalDetPID.h.


Constructor & Destructor Documentation

CandCalDetPID::CandCalDetPID (  ) 

Definition at line 28 of file CandCalDetPID.cxx.

References Msg::kDebug, and MSG.

Referenced by Dup(), and MakeCandidate().

00028                               : fNoOverlap(kFALSE), fInCERTime(kFALSE),
00029                                   fPIDType(0), fNoOverlapBits(0), 
00030                                   fInCERTimeBits(0), fOLChi2(0.)
00031 {
00032   MSG("CalDetPID",Msg::kDebug)
00033     << "CandCalDetPID default ctor called" << endl;
00034 }

CandCalDetPID::CandCalDetPID ( AlgHandle ah  )  [protected]

Definition at line 36 of file CandCalDetPID.cxx.

00037      : CandBase(ah), fNoOverlap(kFALSE), fInCERTime(kFALSE),fPIDType(0),
00038        fNoOverlapBits(0), fInCERTimeBits(0), fOLChi2(0.)
00039 {
00040 }

CandCalDetPID::CandCalDetPID ( AlgHandle ah,
CandHandle ch,
CandContext cx 
) [protected]

Definition at line 42 of file CandCalDetPID.cxx.

References CreateLocalHandle(), and AlgHandle::RunAlg().

00043      : CandBase(ah), fNoOverlap(kFALSE), fInCERTime(kFALSE),fPIDType(0),
00044        fNoOverlapBits(0), fInCERTimeBits(0), fOLChi2(0.)
00045 
00046 {
00047     this->CreateLocalHandle();
00048     {
00049         CandCalDetPIDHandle a_handle(this);
00050         ch = a_handle;
00051     }
00052     ah.RunAlg(ch,cx);
00053 }

CandCalDetPID::CandCalDetPID ( const CandCalDetPID rhs  )  [protected]

Definition at line 55 of file CandCalDetPID.cxx.

00056      : CandBase(rhs),fNoOverlap(kFALSE), fInCERTime(kFALSE),fPIDType(0),
00057        fNoOverlapBits(0), fInCERTimeBits(0), fOLChi2(0.)
00058 {
00059 }

CandCalDetPID::~CandCalDetPID (  )  [protected, virtual]

Definition at line 61 of file CandCalDetPID.cxx.

00062 {
00063 }


Member Function Documentation

void CandCalDetPID::CreateLocalHandle (  )  [protected, virtual]

Implements CandBase.

Definition at line 65 of file CandCalDetPID.cxx.

References CandCalDetPIDHandle, and CandBase::SetLocalHandle().

Referenced by CandCalDetPID(), and Dup().

00066 {
00067     this->SetLocalHandle(new CandCalDetPIDHandle(this));
00068 }

CandCalDetPID * CandCalDetPID::Dup (  )  const [protected, virtual]

Implements CandBase.

Definition at line 70 of file CandCalDetPID.cxx.

References CandBase::AddDaughterLink(), CandCalDetPID(), CreateLocalHandle(), and CandBase::GetDaughterIterator().

00071 {
00072     CandCalDetPID* newone = new CandCalDetPID(*this);
00073     newone->CreateLocalHandle();
00074     TIter iter = this->GetDaughterIterator();
00075     CandHandle* ch;
00076     while ((ch=(CandHandle*)iter())) newone->AddDaughterLink(*ch);
00077     return newone;
00078 }

CandCalDetPIDHandle CandCalDetPID::MakeCandidate ( AlgHandle ah,
CandContext ch 
) [static]

Definition at line 80 of file CandCalDetPID.cxx.

References CandCalDetPID().

Referenced by RealCalDetPIDModule::Reco().

00081 {
00082     CandCalDetPIDHandle a_handle;
00083     new CandCalDetPID(ah,a_handle,cx);
00084     return a_handle;
00085 }


Friends And Related Function Documentation

friend class CandCalDetPIDHandle [friend]

Definition at line 36 of file CandCalDetPID.h.

Referenced by CreateLocalHandle().


Member Data Documentation

Bool_t CandCalDetPID::fInCERTime [private]
Bool_t CandCalDetPID::fNoOverlap [private]
Float_t CandCalDetPID::fOLChi2 [private]
UInt_t CandCalDetPID::fPIDType [private]

The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1