FarDetShieldPlank Class Reference

#include <FarDetShieldPlank.h>

Inheritance diagram for FarDetShieldPlank:

CandBase CandRefCounted List of all members.

Public Member Functions

 FarDetShieldPlank ()

Static Public Member Functions

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

Protected Member Functions

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

Private Attributes

Int_t fSection
Int_t fSubSection
Int_t fPlane
Int_t fPlank
Int_t fNStrips
Int_t fGeomErrors
Double_t fX
Double_t fY
Double_t fZ [2]
Double_t fRawTime [3]
Double_t fCalTime [3]
Double_t fChargeNone [2]
Double_t fChargePE [2]
Double_t fGreenFibre [2]
Double_t fWlsPigtail [2]
Double_t fClearFibre [2]
Double_t fHalfLength

Friends

class FarDetShieldPlankHandle

Detailed Description

Definition at line 11 of file FarDetShieldPlank.h.


Constructor & Destructor Documentation

FarDetShieldPlank::FarDetShieldPlank (  ) 

Definition at line 16 of file FarDetShieldPlank.cxx.

References fCalTime, fChargeNone, fChargePE, fClearFibre, fGeomErrors, fGreenFibre, fHalfLength, fNStrips, fPlane, fPlank, fRawTime, fSection, fSubSection, fWlsPigtail, fX, fY, and fZ.

Referenced by Dup().

00017 {
00018   fSection=-1;
00019   fSubSection=-1;
00020   fPlane=-1;
00021   fPlank=-1;
00022   fNStrips=0;
00023   fGeomErrors=0;
00024   fX=0.0;
00025   fY=0.0;
00026   fHalfLength=0.0;
00027    
00028   for(Int_t i=0;i<2;i++){
00029     fZ[i]=0.0;
00030     fChargeNone[i]=0.0;
00031     fChargePE[i]=0.0;        
00032     fGreenFibre[i]=0.0;
00033     fWlsPigtail[i]=0.0;
00034     fClearFibre[i]=0.0;
00035   }
00036 
00037   for(Int_t i=0;i<3;i++){
00038     fRawTime[i]=0.0;
00039     fCalTime[i]=0.0;
00040   }
00041 }

FarDetShieldPlank::FarDetShieldPlank ( AlgHandle ah  )  [protected]

Definition at line 43 of file FarDetShieldPlank.cxx.

References fCalTime, fChargeNone, fChargePE, fClearFibre, fGeomErrors, fGreenFibre, fHalfLength, fNStrips, fPlane, fPlank, fRawTime, fSection, fSubSection, fWlsPigtail, fX, fY, and fZ.

00043                                                   : 
00044   CandBase(ah)
00045 {
00046   fSection=-1;
00047   fSubSection=-1;
00048   fPlane=-1;
00049   fPlank=-1;
00050   fNStrips=0;
00051   fGeomErrors=0;
00052   fX=0.0;
00053   fY=0.0;
00054   fHalfLength=0.0;
00055    
00056   for(Int_t i=0;i<2;i++){
00057     fZ[i]=0.0;
00058     fChargeNone[i]=0.0;
00059     fChargePE[i]=0.0;        
00060     fGreenFibre[i]=0.0;
00061     fWlsPigtail[i]=0.0;
00062     fClearFibre[i]=0.0;
00063   }
00064 
00065   for(Int_t i=0;i<3;i++){
00066     fRawTime[i]=0.0;
00067     fCalTime[i]=0.0;
00068   }
00069 }

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

Definition at line 71 of file FarDetShieldPlank.cxx.

References FarDetShieldPlankHandle, fCalTime, fChargeNone, fChargePE, fClearFibre, fGeomErrors, fGreenFibre, fHalfLength, fNStrips, fPlane, fPlank, fRawTime, fSection, fSubSection, fWlsPigtail, fX, fY, fZ, AlgHandle::RunAlg(), and CandBase::SetLocalHandle().

00071                                                                                    :
00072   CandBase(ah)
00073 {
00074   fSection=-1;
00075   fSubSection=-1;
00076   fPlane=-1;
00077   fPlank=-1;
00078   fNStrips=0;
00079   fGeomErrors=0;
00080   fX=0.0;
00081   fY=0.0;
00082   fHalfLength=0.0;  
00083    
00084   for(Int_t i=0;i<2;i++){
00085     fZ[i]=0.0;
00086     fChargeNone[i]=0.0;
00087     fChargePE[i]=0.0;        
00088     fGreenFibre[i]=0.0;
00089     fWlsPigtail[i]=0.0;
00090     fClearFibre[i]=0.0;
00091   }
00092 
00093   for(Int_t i=0;i<3;i++){
00094     fRawTime[i]=0.0;
00095     fCalTime[i]=0.0;
00096   }
00097 
00098   SetLocalHandle(new FarDetShieldPlankHandle(this));
00099   { FarDetShieldPlankHandle cth(this); ch = cth; }
00100   ah.RunAlg(ch, cx);
00101 }

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

Definition at line 103 of file FarDetShieldPlank.cxx.

References fCalTime, fChargeNone, fChargePE, fClearFibre, fGeomErrors, fGreenFibre, fHalfLength, fNStrips, fPlane, fPlank, fRawTime, fSection, fSubSection, fWlsPigtail, fX, fY, and fZ.

00103                                                                  : 
00104   CandBase(rhs)
00105 {
00106   fSection=rhs.fSection;
00107   fSubSection=rhs.fSubSection;
00108   fPlane=rhs.fPlane;
00109   fPlank=rhs.fPlank;
00110   fNStrips=rhs.fNStrips;
00111   fGeomErrors=rhs.fGeomErrors;
00112   fX=rhs.fX;
00113   fY=rhs.fY;
00114   fHalfLength=rhs.fHalfLength;
00115    
00116   for(Int_t i=0;i<2;i++){
00117     fZ[i]=rhs.fZ[i];
00118     fChargeNone[i]=rhs.fChargeNone[i];
00119     fChargePE[i]=rhs.fChargePE[i];        
00120     fGreenFibre[i]=rhs.fGreenFibre[i];
00121     fWlsPigtail[i]=rhs.fWlsPigtail[i];
00122     fClearFibre[i]=rhs.fClearFibre[i];
00123   }
00124 
00125   for(Int_t i=0;i<3;i++){
00126     fRawTime[i]=rhs.fRawTime[i];
00127     fCalTime[i]=rhs.fCalTime[i];
00128   }
00129 }

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

Definition at line 131 of file FarDetShieldPlank.cxx.

00132 {
00133 }


Member Function Documentation

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

Implements CandBase.

Definition at line 145 of file FarDetShieldPlank.cxx.

References FarDetShieldPlankHandle, and CandBase::SetLocalHandle().

Referenced by Dup().

00146 {
00147   this->SetLocalHandle(new FarDetShieldPlankHandle(this));
00148 }

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

Implements CandBase.

Definition at line 135 of file FarDetShieldPlank.cxx.

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

00136 {
00137   FarDetShieldPlank* newone = new FarDetShieldPlank(*this);
00138   newone->CreateLocalHandle();
00139   TIter iter = this->GetDaughterIterator();
00140   CandHandle* ch;
00141   while ((ch=(CandHandle*)iter())) newone->AddDaughterLink(*ch);
00142   return newone;
00143 }

FarDetShieldPlankHandle FarDetShieldPlank::MakeCandidate ( AlgHandle ah,
CandContext ch 
) [static]

Definition at line 9 of file FarDetShieldPlank.cxx.

Referenced by AlgFarDetShieldPlankList::RunAlg().

00010 {
00011   FarDetShieldPlankHandle csh;
00012   new FarDetShieldPlank(ah,csh,cx);
00013   return csh;
00014 }


Friends And Related Function Documentation

friend class FarDetShieldPlankHandle [friend]

Definition at line 13 of file FarDetShieldPlank.h.

Referenced by CreateLocalHandle(), and FarDetShieldPlank().


Member Data Documentation

Double_t FarDetShieldPlank::fCalTime[3] [private]

Definition at line 41 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank(), FarDetShieldPlankHandle::GetTime(), and FarDetShieldPlankHandle::SetTime().

Double_t FarDetShieldPlank::fChargeNone[2] [private]

Definition at line 42 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank(), FarDetShieldPlankHandle::GetCharge(), and FarDetShieldPlankHandle::SetCharge().

Double_t FarDetShieldPlank::fChargePE[2] [private]

Definition at line 43 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank(), FarDetShieldPlankHandle::GetCharge(), and FarDetShieldPlankHandle::SetCharge().

Double_t FarDetShieldPlank::fClearFibre[2] [private]

Definition at line 47 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank(), FarDetShieldPlankHandle::GetClearFibre(), and FarDetShieldPlankHandle::SetFibreLengths().

Int_t FarDetShieldPlank::fGeomErrors [private]

Definition at line 34 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank().

Double_t FarDetShieldPlank::fGreenFibre[2] [private]

Definition at line 45 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank(), FarDetShieldPlankHandle::GetGreenFibre(), and FarDetShieldPlankHandle::SetFibreLengths().

Double_t FarDetShieldPlank::fHalfLength [private]

Definition at line 48 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank(), and FarDetShieldPlankHandle::SetFibreLengths().

Int_t FarDetShieldPlank::fNStrips [private]

Definition at line 33 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank().

Int_t FarDetShieldPlank::fPlane [private]

Definition at line 31 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank().

Int_t FarDetShieldPlank::fPlank [private]

Definition at line 32 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank().

Double_t FarDetShieldPlank::fRawTime[3] [private]

Definition at line 40 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank(), FarDetShieldPlankHandle::GetTime(), and FarDetShieldPlankHandle::SetTime().

Int_t FarDetShieldPlank::fSection [private]

Definition at line 29 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank().

Int_t FarDetShieldPlank::fSubSection [private]

Definition at line 30 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank().

Double_t FarDetShieldPlank::fWlsPigtail[2] [private]

Definition at line 46 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank(), FarDetShieldPlankHandle::GetWlsPigtail(), and FarDetShieldPlankHandle::SetFibreLengths().

Double_t FarDetShieldPlank::fX [private]

Definition at line 36 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank().

Double_t FarDetShieldPlank::fY [private]

Definition at line 37 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank().

Double_t FarDetShieldPlank::fZ[2] [private]

Definition at line 38 of file FarDetShieldPlank.h.

Referenced by FarDetShieldPlank(), FarDetShieldPlankHandle::GetZ(), and FarDetShieldPlankHandle::SetZ().


The documentation for this class was generated from the following files:
Generated on Wed Dec 10 22:49:32 2014 for loon by  doxygen 1.4.7