FarDetStrip Class Reference

#include <FarDetStrip.h>

Inheritance diagram for FarDetStrip:
CandStrip CandBase CandRefCounted

List of all members.

Public Member Functions

 FarDetStrip ()

Static Public Member Functions

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

Protected Member Functions

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

Private Attributes

Int_t fPlane
Int_t fStrip
Int_t fXtalk [3]
Double_t fRawTime [3]
Double_t fCalTime [3]
Double_t fChargeAdc [2]
Double_t fChargePE [2]
Double_t fChargeSigLin [2]
Double_t fChargeSigCorr [2]
Double_t fGreenFibre [2]
Double_t fWlsPigtail [2]
Double_t fClearFibre [2]
Double_t fHalfLength

Friends

class FarDetStripHandle

Detailed Description

Definition at line 11 of file FarDetStrip.h.


Constructor & Destructor Documentation

FarDetStrip::FarDetStrip (  ) 

Definition at line 16 of file FarDetStrip.cxx.

References fCalTime, fChargeAdc, fChargePE, fChargeSigCorr, fChargeSigLin, fClearFibre, fGreenFibre, fHalfLength, fPlane, fRawTime, fStrip, fWlsPigtail, and fXtalk.

Referenced by Dup().

00017 {
00018   fPlane = -1; 
00019   fStrip = -1;
00020 
00021   for(Int_t i=0;i<2;i++){
00022     fChargeAdc[i] = 0.0;
00023     fChargeSigLin[i] = 0.0;
00024     fChargeSigCorr[i] = 0.0;
00025     fChargePE[i] = 0.0;
00026     fGreenFibre[i] = 0.0;
00027     fWlsPigtail[i] = 0.0;
00028     fClearFibre[i] = 0.0;
00029   }
00030   for(Int_t i=0;i<3;i++){
00031     fRawTime[i] = 0.0;
00032     fCalTime[i] = 0.0;
00033     fXtalk[i] = 0;
00034   }
00035 
00036   fHalfLength = 0.0;
00037 }

FarDetStrip::FarDetStrip ( AlgHandle ah  )  [protected]

Definition at line 39 of file FarDetStrip.cxx.

References fCalTime, fChargeAdc, fChargePE, fChargeSigCorr, fChargeSigLin, fClearFibre, fGreenFibre, fHalfLength, fPlane, fRawTime, fStrip, fWlsPigtail, and fXtalk.

00039                                       :
00040   CandStrip(ah)
00041 {
00042   fPlane = -1; 
00043   fStrip = -1;
00044 
00045   for(Int_t i=0;i<2;i++){
00046     fChargeAdc[i] = 0.0;
00047     fChargeSigLin[i] = 0.0;
00048     fChargeSigCorr[i] = 0.0;
00049     fChargePE[i] = 0.0;
00050     fGreenFibre[i] = 0.0;
00051     fWlsPigtail[i] = 0.0;
00052     fClearFibre[i] = 0.0;
00053   }
00054   for(Int_t i=0;i<3;i++){
00055     fRawTime[i] = 0.0;
00056     fCalTime[i] = 0.0;
00057     fXtalk[i] = 0;
00058   }
00059 
00060   fHalfLength = 0.0;
00061 }
 

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

Definition at line 63 of file FarDetStrip.cxx.

References FarDetStripHandle, fCalTime, fChargeAdc, fChargePE, fChargeSigCorr, fChargeSigLin, fClearFibre, fGreenFibre, fHalfLength, fPlane, fRawTime, fStrip, fWlsPigtail, fXtalk, AlgHandle::RunAlg(), and CandBase::SetLocalHandle().

00063                                                                        :
00064   CandStrip(ah)
00065 {
00066   fPlane = -1; 
00067   fStrip = -1;
00068 
00069   for(Int_t i=0;i<2;i++){
00070     fChargeAdc[i] = 0.0;
00071     fChargeSigLin[i] = 0.0;
00072     fChargeSigCorr[i] = 0.0;
00073     fChargePE[i] = 0.0;
00074     fGreenFibre[i] = 0.0;
00075     fWlsPigtail[i] = 0.0;
00076     fClearFibre[i] = 0.0;
00077   }
00078   for(Int_t i=0;i<3;i++){
00079     fRawTime[i] = 0.0;
00080     fCalTime[i] = 0.0;
00081     fXtalk[i] = 0;
00082   }
00083 
00084   fHalfLength = 0.0;
00085 
00086   SetLocalHandle(new FarDetStripHandle(this));
00087   { FarDetStripHandle cth(this); ch = cth; }
00088   ah.RunAlg(ch, cx);
00089 }
  

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

Definition at line 91 of file FarDetStrip.cxx.

References fCalTime, fChargeAdc, fChargePE, fChargeSigCorr, fChargeSigLin, fClearFibre, fGreenFibre, fHalfLength, fPlane, fRawTime, fStrip, fWlsPigtail, and fXtalk.

00091                                                :
00092   CandStrip(rhs)
00093 {
00094   fPlane = rhs.fPlane;
00095   fStrip = rhs.fStrip;
00096 
00097   for(Int_t i=0;i<2;i++){
00098     fChargeAdc[i] = rhs.fChargeAdc[i];
00099     fChargeSigLin[i] = rhs.fChargeSigLin[i];
00100     fChargeSigCorr[i] = rhs.fChargeSigCorr[i];
00101     fChargePE[i] = rhs.fChargePE[i];
00102     fGreenFibre[i] = rhs.fGreenFibre[i];
00103     fWlsPigtail[i] = rhs.fWlsPigtail[i];
00104     fClearFibre[i] = rhs.fClearFibre[i];
00105   }
00106   for(Int_t i=0;i<3;i++){
00107     fRawTime[i] = rhs.fRawTime[i];
00108     fCalTime[i] = rhs.fCalTime[i];
00109     fXtalk[i] = rhs.fXtalk[i];
00110   }
00111 
00112   fHalfLength = 0.0;
00113 }
  

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

Definition at line 115 of file FarDetStrip.cxx.

00116 {
00117 
00118 }


Member Function Documentation

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

Reimplemented from CandStrip.

Definition at line 130 of file FarDetStrip.cxx.

References FarDetStripHandle, and CandBase::SetLocalHandle().

Referenced by Dup().

00131 {
00132   this->SetLocalHandle(new FarDetStripHandle(this));
00133 }

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

Reimplemented from CandStrip.

Definition at line 120 of file FarDetStrip.cxx.

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

00121 {
00122   FarDetStrip *cb = new FarDetStrip(*this);
00123   cb->CreateLocalHandle();
00124   TIter iterdau = GetDaughterIterator();
00125   CandHandle *dau;
00126   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00127   return cb;
00128 }

FarDetStripHandle FarDetStrip::MakeCandidate ( AlgHandle ah,
CandContext cx 
) [static]

Reimplemented from CandStrip.

Definition at line 9 of file FarDetStrip.cxx.

Referenced by AlgFarDetStripList::RunAlg().

00010 {
00011   FarDetStripHandle cth;
00012   new FarDetStrip(ah, cth, cx);        
00013   return cth;
00014 }


Friends And Related Function Documentation

friend class FarDetStripHandle [friend]

Definition at line 13 of file FarDetStrip.h.

Referenced by CreateLocalHandle(), and FarDetStrip().


Member Data Documentation

Double_t FarDetStrip::fCalTime[3] [private]
Double_t FarDetStrip::fChargeAdc[2] [private]
Double_t FarDetStrip::fChargePE[2] [private]
Double_t FarDetStrip::fChargeSigCorr[2] [private]
Double_t FarDetStrip::fChargeSigLin[2] [private]
Double_t FarDetStrip::fClearFibre[2] [private]
Double_t FarDetStrip::fGreenFibre[2] [private]
Double_t FarDetStrip::fHalfLength [private]

Definition at line 42 of file FarDetStrip.h.

Referenced by FarDetStrip(), and FarDetStripHandle::SetFibreLengths().

Int_t FarDetStrip::fPlane [private]

Definition at line 28 of file FarDetStrip.h.

Referenced by FarDetStrip().

Double_t FarDetStrip::fRawTime[3] [private]
Int_t FarDetStrip::fStrip [private]

Definition at line 29 of file FarDetStrip.h.

Referenced by FarDetStrip().

Double_t FarDetStrip::fWlsPigtail[2] [private]
Int_t FarDetStrip::fXtalk[3] [private]

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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1