FarDetSlice Class Reference

#include <FarDetSlice.h>

Inheritance diagram for FarDetSlice:
CandSlice CandBase CandRefCounted

List of all members.

Public Member Functions

 FarDetSlice ()

Static Public Member Functions

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

Protected Member Functions

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

Private Attributes

Double_t fFidChargeSM1 [11]
Double_t fFidChargeSM2 [11]
Double_t fMeanXPosSM1 [11]
Double_t fMeanXPosSM2 [11]
Double_t fMeanYPosSM1 [11]
Double_t fMeanYPosSM2 [11]
Double_t fMeanZPosSM1 [11]
Double_t fMeanZPosSM2 [11]
Double_t fMaxPlaneCharge
Int_t fEventId
Int_t fEventIdSM1
Int_t fEventIdSM2
Int_t fEventIdX
Int_t fEdgesSM1
Int_t fEdgesSM2
Int_t fEdges
Int_t fGoodUPlanes
Int_t fGoodVPlanes
Int_t fGoodPlanes
Int_t fGoodStrips

Friends

class FarDetSliceHandle

Detailed Description

Definition at line 11 of file FarDetSlice.h.


Constructor & Destructor Documentation

FarDetSlice::FarDetSlice (  ) 

Definition at line 16 of file FarDetSlice.cxx.

References fFidChargeSM1, fFidChargeSM2, fMeanXPosSM1, fMeanXPosSM2, fMeanYPosSM1, fMeanYPosSM2, fMeanZPosSM1, and fMeanZPosSM2.

Referenced by Dup().

00016                          :
00017   fMaxPlaneCharge(0.0), 
00018   fEventId(-1), 
00019   fEventIdSM1(-1), fEventIdSM2(-1), fEventIdX(-1), 
00020   fEdgesSM1(-1), fEdgesSM2(-1), fEdges(-1),
00021   fGoodUPlanes(0), fGoodVPlanes(0),
00022   fGoodPlanes(0), fGoodStrips(0)
00023 {
00024   for(Int_t i=0;i<11;i++){
00025     fFidChargeSM1[i]=0.0;
00026     fFidChargeSM2[i]=0.0;
00027     fMeanXPosSM1[i]=-999.9;
00028     fMeanXPosSM2[i]=-999.9;
00029     fMeanYPosSM1[i]=-999.9;
00030     fMeanYPosSM2[i]=-999.9;
00031     fMeanZPosSM1[i]=-999.9;
00032     fMeanZPosSM2[i]=-999.9;
00033   }   
00034 }

FarDetSlice::FarDetSlice ( AlgHandle ah  )  [protected]

Definition at line 36 of file FarDetSlice.cxx.

References fFidChargeSM1, fFidChargeSM2, fMeanXPosSM1, fMeanXPosSM2, fMeanYPosSM1, fMeanYPosSM2, fMeanZPosSM1, and fMeanZPosSM2.

00036                                       :
00037   CandSlice(ah),
00038   fMaxPlaneCharge(0.0), 
00039   fEventId(-1), 
00040   fEventIdSM1(-1), fEventIdSM2(-1), fEventIdX(-1), 
00041   fEdgesSM1(-1), fEdgesSM2(-1), fEdges(-1),
00042   fGoodUPlanes(0), fGoodVPlanes(0),
00043   fGoodPlanes(0), fGoodStrips(0)
00044 {
00045   for(Int_t i=0;i<11;i++){
00046     fFidChargeSM1[i]=0.0;
00047     fFidChargeSM2[i]=0.0;
00048     fMeanXPosSM1[i]=-999.9;
00049     fMeanXPosSM2[i]=-999.9;
00050     fMeanYPosSM1[i]=-999.9;
00051     fMeanYPosSM2[i]=-999.9;
00052     fMeanZPosSM1[i]=-999.9;
00053     fMeanZPosSM2[i]=-999.9;
00054   } 
00055 }
 

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

Definition at line 57 of file FarDetSlice.cxx.

References FarDetSliceHandle, fFidChargeSM1, fFidChargeSM2, fMeanXPosSM1, fMeanXPosSM2, fMeanYPosSM1, fMeanYPosSM2, fMeanZPosSM1, fMeanZPosSM2, AlgHandle::RunAlg(), and CandBase::SetLocalHandle().

00057                                                                        :
00058   CandSlice(ah),
00059   fMaxPlaneCharge(0.0), 
00060   fEventId(-1), 
00061   fEventIdSM1(-1), fEventIdSM2(-1), fEventIdX(-1), 
00062   fEdgesSM1(-1), fEdgesSM2(-1), fEdges(-1),
00063   fGoodUPlanes(0), fGoodVPlanes(0),
00064   fGoodPlanes(0), fGoodStrips(0)
00065 {
00066   for(Int_t i=0;i<11;i++){
00067     fFidChargeSM1[i]=0.0;
00068     fFidChargeSM2[i]=0.0;
00069     fMeanXPosSM1[i]=-999.9;
00070     fMeanXPosSM2[i]=-999.9;
00071     fMeanYPosSM1[i]=-999.9;
00072     fMeanYPosSM2[i]=-999.9;
00073     fMeanZPosSM1[i]=-999.9;
00074     fMeanZPosSM2[i]=-999.9;
00075   }
00076 
00077   SetLocalHandle(new FarDetSliceHandle(this));
00078   { FarDetSliceHandle cth(this); ch = cth; }
00079   ah.RunAlg(ch, cx);
00080 }
  

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

Definition at line 82 of file FarDetSlice.cxx.

References fFidChargeSM1, fFidChargeSM2, fMeanXPosSM1, fMeanXPosSM2, fMeanYPosSM1, fMeanYPosSM2, fMeanZPosSM1, and fMeanZPosSM2.

00082                                                :
00083   CandSlice(rhs),
00084   fMaxPlaneCharge(rhs.fMaxPlaneCharge), 
00085   fEventId(rhs.fEventId), 
00086   fEventIdSM1(rhs.fEventIdSM1), fEventIdSM2(rhs.fEventIdSM2), fEventIdX(rhs.fEventIdX), 
00087   fEdgesSM1(rhs.fEdgesSM1), fEdgesSM2(rhs.fEdgesSM2), fEdges(rhs.fEdges),
00088   fGoodUPlanes(rhs.fGoodUPlanes), fGoodVPlanes(rhs.fGoodVPlanes),
00089   fGoodPlanes(rhs.fGoodPlanes), fGoodStrips(rhs.fGoodStrips)
00090 {
00091   for(Int_t i=0;i<11;i++){
00092     fFidChargeSM1[i]=rhs.fFidChargeSM1[i];
00093     fFidChargeSM2[i]=rhs.fFidChargeSM2[i];
00094     fMeanXPosSM1[i]=rhs.fMeanXPosSM1[i];
00095     fMeanXPosSM2[i]=rhs.fMeanXPosSM2[i];
00096     fMeanYPosSM1[i]=rhs.fMeanYPosSM1[i];
00097     fMeanYPosSM2[i]=rhs.fMeanYPosSM2[i];
00098     fMeanZPosSM1[i]=rhs.fMeanZPosSM1[i];
00099     fMeanZPosSM2[i]=rhs.fMeanZPosSM2[i];
00100   } 
00101 }
  

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

Definition at line 103 of file FarDetSlice.cxx.

00104 {
00105 
00106 }


Member Function Documentation

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

Reimplemented from CandSlice.

Definition at line 118 of file FarDetSlice.cxx.

References FarDetSliceHandle, and CandBase::SetLocalHandle().

Referenced by Dup().

00119 {
00120   this->SetLocalHandle(new FarDetSliceHandle(this));
00121 }

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

Reimplemented from CandSlice.

Definition at line 108 of file FarDetSlice.cxx.

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

00109 {
00110   FarDetSlice *cb = new FarDetSlice(*this);
00111   cb->CreateLocalHandle();
00112   TIter iterdau = GetDaughterIterator();
00113   CandHandle *dau;
00114   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00115   return cb;
00116 }

FarDetSliceHandle FarDetSlice::MakeCandidate ( AlgHandle ah,
CandContext cx 
) [static]

Reimplemented from CandSlice.

Definition at line 9 of file FarDetSlice.cxx.

Referenced by AlgFarDetSliceList::RunAlg().

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


Friends And Related Function Documentation

friend class FarDetSliceHandle [friend]

Definition at line 13 of file FarDetSlice.h.

Referenced by CreateLocalHandle(), and FarDetSlice().


Member Data Documentation

Int_t FarDetSlice::fEdges [private]

Definition at line 43 of file FarDetSlice.h.

Int_t FarDetSlice::fEdgesSM1 [private]

Definition at line 41 of file FarDetSlice.h.

Int_t FarDetSlice::fEdgesSM2 [private]

Definition at line 42 of file FarDetSlice.h.

Int_t FarDetSlice::fEventId [private]

Definition at line 37 of file FarDetSlice.h.

Int_t FarDetSlice::fEventIdSM1 [private]

Definition at line 38 of file FarDetSlice.h.

Int_t FarDetSlice::fEventIdSM2 [private]

Definition at line 39 of file FarDetSlice.h.

Int_t FarDetSlice::fEventIdX [private]

Definition at line 40 of file FarDetSlice.h.

Double_t FarDetSlice::fFidChargeSM1[11] [private]

Definition at line 28 of file FarDetSlice.h.

Referenced by FarDetSlice(), and FarDetSliceHandle::SetSM1().

Double_t FarDetSlice::fFidChargeSM2[11] [private]

Definition at line 29 of file FarDetSlice.h.

Referenced by FarDetSlice(), and FarDetSliceHandle::SetSM2().

Int_t FarDetSlice::fGoodPlanes [private]

Definition at line 46 of file FarDetSlice.h.

Int_t FarDetSlice::fGoodStrips [private]

Definition at line 47 of file FarDetSlice.h.

Int_t FarDetSlice::fGoodUPlanes [private]

Definition at line 44 of file FarDetSlice.h.

Int_t FarDetSlice::fGoodVPlanes [private]

Definition at line 45 of file FarDetSlice.h.

Double_t FarDetSlice::fMaxPlaneCharge [private]

Definition at line 36 of file FarDetSlice.h.

Double_t FarDetSlice::fMeanXPosSM1[11] [private]

Definition at line 30 of file FarDetSlice.h.

Referenced by FarDetSlice(), and FarDetSliceHandle::SetSM1().

Double_t FarDetSlice::fMeanXPosSM2[11] [private]

Definition at line 31 of file FarDetSlice.h.

Referenced by FarDetSlice(), and FarDetSliceHandle::SetSM2().

Double_t FarDetSlice::fMeanYPosSM1[11] [private]

Definition at line 32 of file FarDetSlice.h.

Referenced by FarDetSlice(), and FarDetSliceHandle::SetSM1().

Double_t FarDetSlice::fMeanYPosSM2[11] [private]

Definition at line 33 of file FarDetSlice.h.

Referenced by FarDetSlice(), and FarDetSliceHandle::SetSM2().

Double_t FarDetSlice::fMeanZPosSM1[11] [private]

Definition at line 34 of file FarDetSlice.h.

Referenced by FarDetSlice(), and FarDetSliceHandle::SetSM1().

Double_t FarDetSlice::fMeanZPosSM2[11] [private]

Definition at line 35 of file FarDetSlice.h.

Referenced by FarDetSlice(), and FarDetSliceHandle::SetSM2().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1