CandShowerAtNu Class Reference

#include <CandShowerAtNu.h>

Inheritance diagram for CandShowerAtNu:
CandShower CandReco CandBase CandRefCounted

List of all members.

Public Member Functions

 CandShowerAtNu ()

Static Public Member Functions

static CandShowerAtNuHandle MakeCandidate (AlgHandle &ah, CandContext &cx)

Protected Member Functions

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

Private Attributes

Int_t fMinPlane
Int_t fMaxPlane
Int_t fNPlanes
Int_t fNStrips
Double_t fVtxR
Double_t fDirTimeScore
Double_t fDirVtxShwScore
Double_t fDirCosErrU
Double_t fDirCosErrV
Bool_t fVtxShw
Bool_t fReseedFlag

Friends

class CandShowerAtNuHandle

Detailed Description

Definition at line 11 of file CandShowerAtNu.h.


Constructor & Destructor Documentation

CandShowerAtNu::CandShowerAtNu (  ) 

Definition at line 15 of file CandShowerAtNu.cxx.

References Msg::kDebug, and MSG.

Referenced by Dup(), and MakeCandidate().

00015                                :
00016   fMinPlane(-1), fMaxPlane(-1), 
00017   fNPlanes(0), fNStrips(0), fVtxR(0.0),
00018   fDirTimeScore(0.0), fDirVtxShwScore(0.0), 
00019   fDirCosErrU(0.0), fDirCosErrV(0.0),
00020   fVtxShw(0), fReseedFlag(0)
00021 {
00022   MSG("CandShowerAtNu", Msg::kDebug) << " " << endl;
00023 }

CandShowerAtNu::CandShowerAtNu ( AlgHandle ah  )  [protected]

Definition at line 25 of file CandShowerAtNu.cxx.

00025                                             : 
00026   CandShower(ah), 
00027   fMinPlane(-1), fMaxPlane(-1), 
00028   fNPlanes(0), fNStrips(0), fVtxR(0.0),
00029   fDirTimeScore(0.0), fDirVtxShwScore(0.0), 
00030   fDirCosErrU(0.0), fDirCosErrV(0.0),
00031   fVtxShw(0), fReseedFlag(0)
00032 {
00033 
00034 }

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

Definition at line 36 of file CandShowerAtNu.cxx.

References CandShowerAtNuHandle, AlgHandle::RunAlg(), and CandBase::SetLocalHandle().

00036                                                                              :
00037   CandShower(ah), 
00038   fMinPlane(-1), fMaxPlane(-1), 
00039   fNPlanes(0), fNStrips(0), fVtxR(0.0),
00040   fDirTimeScore(0.0), fDirVtxShwScore(0.0),
00041   fDirCosErrU(0.0), fDirCosErrV(0.0),
00042   fVtxShw(0), fReseedFlag(0)
00043 {
00044   SetLocalHandle(new CandShowerAtNuHandle(this));
00045   { CandShowerAtNuHandle cth(this); ch = cth; }
00046   ah.RunAlg(ch, cx);
00047 }

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

Definition at line 49 of file CandShowerAtNu.cxx.

00049                                                         :
00050   CandShower(rhs),
00051   fMinPlane(rhs.fMinPlane), fMaxPlane(rhs.fMaxPlane), 
00052   fNPlanes(rhs.fNPlanes), fNStrips(rhs.fNStrips), fVtxR(rhs.fVtxR),
00053   fDirTimeScore(rhs.fDirTimeScore), fDirVtxShwScore(rhs.fDirVtxShwScore), 
00054   fDirCosErrU(rhs.fDirCosErrU), fDirCosErrV(rhs.fDirCosErrV),
00055   fVtxShw(rhs.fVtxShw), fReseedFlag(rhs.fReseedFlag)
00056 {
00057   
00058 }

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

Definition at line 60 of file CandShowerAtNu.cxx.

00061 {
00062 
00063 }


Member Function Documentation

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

Reimplemented from CandShower.

Definition at line 75 of file CandShowerAtNu.cxx.

References CandShowerAtNuHandle, and CandBase::SetLocalHandle().

Referenced by Dup().

00076 {
00077   this->SetLocalHandle(new CandShowerAtNuHandle(this));
00078 }

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

Reimplemented from CandShower.

Definition at line 65 of file CandShowerAtNu.cxx.

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

00066 {
00067   CandShowerAtNu *cb = new CandShowerAtNu(*this);       
00068   cb->CreateLocalHandle();   
00069   TIter iterdau = GetDaughterIterator();
00070   CandHandle *dau;
00071   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00072   return cb;
00073 }

CandShowerAtNuHandle CandShowerAtNu::MakeCandidate ( AlgHandle ah,
CandContext cx 
) [static]

Reimplemented from CandShower.

Definition at line 80 of file CandShowerAtNu.cxx.

References CandShowerAtNu().

Referenced by AlgShowerAtNuList::RunAlg(), and AlgAtmosShowerList::RunAlg().

00081 {
00082   CandShowerAtNuHandle csh;
00083   new CandShowerAtNu(ah, csh, cx);        
00084   return csh;
00085 }


Friends And Related Function Documentation

friend class CandShowerAtNuHandle [friend]

Definition at line 14 of file CandShowerAtNu.h.

Referenced by CandShowerAtNu(), and CreateLocalHandle().


Member Data Documentation

Double_t CandShowerAtNu::fDirCosErrU [private]

Definition at line 38 of file CandShowerAtNu.h.

Double_t CandShowerAtNu::fDirCosErrV [private]

Definition at line 39 of file CandShowerAtNu.h.

Double_t CandShowerAtNu::fDirTimeScore [private]

Definition at line 36 of file CandShowerAtNu.h.

Double_t CandShowerAtNu::fDirVtxShwScore [private]

Definition at line 37 of file CandShowerAtNu.h.

Int_t CandShowerAtNu::fMaxPlane [private]

Definition at line 32 of file CandShowerAtNu.h.

Int_t CandShowerAtNu::fMinPlane [private]

Definition at line 31 of file CandShowerAtNu.h.

Int_t CandShowerAtNu::fNPlanes [private]

Definition at line 33 of file CandShowerAtNu.h.

Int_t CandShowerAtNu::fNStrips [private]

Definition at line 34 of file CandShowerAtNu.h.

Bool_t CandShowerAtNu::fReseedFlag [private]

Definition at line 41 of file CandShowerAtNu.h.

Double_t CandShowerAtNu::fVtxR [private]

Definition at line 35 of file CandShowerAtNu.h.

Bool_t CandShowerAtNu::fVtxShw [private]

Definition at line 40 of file CandShowerAtNu.h.


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1