Hall C ROOT/C++ Analyzer (hcana)
THcDriftChamberPlane Class Reference

Class for a a single Hall C horizontal drift chamber plane.

Definition at line 27 of file THcDriftChamberPlane.h.

Public Member Functions

Double_t CalcWireFromPos (Double_t pos)
 
virtual void Clear (Option_t *opt="")
 
virtual Int_t CoarseProcess (TClonesArray &tracks)
 
virtual Int_t Decode (const THaEvData &)
 
virtual Int_t FineProcess (TClonesArray &tracks)
 
Double_t GetBeta ()
 
Double_t GetCentralTime ()
 
Int_t GetChamberNum () const
 
Int_t GetDriftTimeSign ()
 
TClonesArrayGetHits () const
 
Int_t GetNHits () const
 
Int_t GetNRawhits () const
 
Int_t GetNWires () const
 
Double_tGetPlaneCoef ()
 
Int_t GetPlaneIndex ()
 
Int_t GetPlaneNum () const
 
Double_t GetPsi0 ()
 
Double_t GetReadoutCorr ()
 
Int_t GetReadoutLR () const
 
virtual Int_t GetReadoutSide (Int_t wirenum)
 
Int_t GetReadoutTB () const
 
Int_t GetReadoutX ()
 
Double_t GetSigma ()
 
Double_tGetStubCoef ()
 
Int_t GetVersion () const
 
THcDCWireGetWire (Int_t i) const
 
Double_t GetXsp () const
 
Double_t GetYsp () const
 
virtual EStatus Init (const TDatime &run_time)
 
virtual Bool_t IsPid ()
 
Bool_t IsTracking ()
 
virtual Int_t ProcessHits (TClonesArray *rawhits, Int_t nexthit)
 
void SetPlaneIndex (Int_t index)
 
virtual Int_t SubtractStartTime ()
 
 THcDriftChamberPlane (const char *name, const char *description, Int_t planenum, THaDetectorBase *parent=NULL)
 
 THcDriftChamberPlane ()
 
virtual ~THcDriftChamberPlane ()
 

Public Attributes

Double_t fMax_DriftTime
 
Double_t fMin_DriftTime
 

Protected Member Functions

 ClassDef (THcDriftChamberPlane, 0)
 
virtual Int_t DefineVariables (EMode mode=kDefine)
 
virtual Int_t ReadDatabase (const TDatime &date)
 

Protected Attributes

Double_t fBeta
 
Double_t fCenter
 
Double_t fCentralTime
 
Double_t fCentralWire
 
Int_t fChamberNum
 
Int_t fDriftTimeSign
 
TClonesArrayfFirstPassHits
 
THcHodoscopefglHod
 
TClonesArrayfHits
 
Int_t fNRawhits
 
Double_t fNSperChan
 
Int_t fNWires
 
TClonesArrayfParentHitList
 
Double_t fPitch
 
Double_t fPlaneCoef [9]
 
Int_t fPlaneIndex
 
Int_t fPlaneNum
 
Double_t fPlaneTimeZero
 
Double_t fPsi0
 
TClonesArrayfRawHits
 
Double_t fReadoutCorr
 
Int_t fReadoutLR
 
Int_t fReadoutTB
 
Int_t fReadoutX
 
Double_t fSigma
 
Double_tfSigmaWire
 
Double_t fStubCoef [4]
 
Double_t fTdcRefTime
 
Int_t fTdcWinMax
 
Int_t fTdcWinMin
 
THcDCTimeToDistConvfTTDConv
 
Double_tfTzeroWire
 
Int_t fUsingSigmaPerWire
 
Int_t fUsingTzeroPerWire
 
Int_t fVersion
 
Int_t fWireOrder
 
TClonesArrayfWires
 
Double_t fXsp
 
Double_t fYsp
 

#include <THcDriftChamberPlane.h>

Inheritance diagram for THcDriftChamberPlane:

Constructor & Destructor Documentation

THcDriftChamberPlane::THcDriftChamberPlane ( const char *  name,
const char *  description,
Int_t  planenum,
THaDetectorBase *  parent = NULL 
)
THcDriftChamberPlane::~THcDriftChamberPlane ( )
virtual

Definition at line 59 of file THcDriftChamberPlane.cxx.

THcDriftChamberPlane::THcDriftChamberPlane ( )

Definition at line 48 of file THcDriftChamberPlane.cxx.

Member Function Documentation

Double_t THcDriftChamberPlane::CalcWireFromPos ( Double_t  pos)

Definition at line 344 of file THcDriftChamberPlane.cxx.

THcDriftChamberPlane::ClassDef ( THcDriftChamberPlane  ,
 
)
protected
void THcDriftChamberPlane::Clear ( Option_t opt = "")
virtual

Definition at line 318 of file THcDriftChamberPlane.cxx.

Int_t THcDriftChamberPlane::CoarseProcess ( TClonesArray tracks)
virtual

Definition at line 336 of file THcDriftChamberPlane.cxx.

Int_t THcDriftChamberPlane::Decode ( const THaEvData evdata)
virtual

Definition at line 328 of file THcDriftChamberPlane.cxx.

Int_t THcDriftChamberPlane::DefineVariables ( EMode  mode = kDefine)
protectedvirtual

Definition at line 284 of file THcDriftChamberPlane.cxx.

Int_t THcDriftChamberPlane::FineProcess ( TClonesArray tracks)
virtual

Definition at line 351 of file THcDriftChamberPlane.cxx.

Double_t THcDriftChamberPlane::GetBeta ( )
inline

Definition at line 69 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::GetCentralTime ( )
inline

Definition at line 67 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetChamberNum ( ) const
inline

Definition at line 60 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetDriftTimeSign ( )
inline

Definition at line 68 of file THcDriftChamberPlane.h.

TClonesArray* THcDriftChamberPlane::GetHits ( ) const
inline

Definition at line 57 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetNHits ( ) const
inline

Definition at line 55 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetNRawhits ( ) const
inline

Definition at line 56 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetNWires ( ) const
inline

Definition at line 50 of file THcDriftChamberPlane.h.

Double_t* THcDriftChamberPlane::GetPlaneCoef ( )
inline

Definition at line 73 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetPlaneIndex ( )
inline

Definition at line 62 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetPlaneNum ( ) const
inline

Definition at line 59 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::GetPsi0 ( )
inline

Definition at line 71 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::GetReadoutCorr ( )
inline

Definition at line 66 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetReadoutLR ( ) const
inline

Definition at line 76 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetReadoutSide ( Int_t  wirenum)
virtual

Definition at line 425 of file THcDriftChamberPlane.cxx.

Int_t THcDriftChamberPlane::GetReadoutTB ( ) const
inline

Definition at line 77 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetReadoutX ( )
inline

Definition at line 65 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::GetSigma ( )
inline

Definition at line 70 of file THcDriftChamberPlane.h.

Double_t* THcDriftChamberPlane::GetStubCoef ( )
inline

Definition at line 72 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::GetVersion ( ) const
inline

Definition at line 78 of file THcDriftChamberPlane.h.

THcDCWire* THcDriftChamberPlane::GetWire ( Int_t  i) const
inline

Definition at line 51 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::GetXsp ( ) const
inline

Definition at line 63 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::GetYsp ( ) const
inline

Definition at line 64 of file THcDriftChamberPlane.h.

THaAnalysisObject::EStatus THcDriftChamberPlane::Init ( const TDatime run_time)
virtual

Definition at line 71 of file THcDriftChamberPlane.cxx.

virtual Bool_t THcDriftChamberPlane::IsPid ( )
inlinevirtual

Definition at line 41 of file THcDriftChamberPlane.h.

Bool_t THcDriftChamberPlane::IsTracking ( )
inline

Definition at line 40 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::ProcessHits ( TClonesArray rawhits,
Int_t  nexthit 
)
virtual

Extract the data for this plane from hit list Assumes that the hit list is sorted by plane, so we stop when the plane doesn't agree and return the index for the next hit.

Definition at line 355 of file THcDriftChamberPlane.cxx.

Int_t THcDriftChamberPlane::ReadDatabase ( const TDatime date)
protectedvirtual

Load the drift time to drift distance map.

Retrieve geometry parameters from main drift chamber detector object (THcDC)

Definition at line 93 of file THcDriftChamberPlane.cxx.

void THcDriftChamberPlane::SetPlaneIndex ( Int_t  index)
inline

Definition at line 61 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::SubtractStartTime ( )
virtual

Definition at line 403 of file THcDriftChamberPlane.cxx.

Member Data Documentation

Double_t THcDriftChamberPlane::fBeta
protected

Definition at line 113 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fCenter
protected

Definition at line 123 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fCentralTime
protected

Definition at line 118 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fCentralWire
protected

Definition at line 106 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fChamberNum
protected

Definition at line 98 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fDriftTimeSign
protected

Definition at line 119 of file THcDriftChamberPlane.h.

TClonesArray* THcDriftChamberPlane::fFirstPassHits
protected

Definition at line 88 of file THcDriftChamberPlane.h.

THcHodoscope* THcDriftChamberPlane::fglHod
protected

Definition at line 135 of file THcDriftChamberPlane.h.

TClonesArray* THcDriftChamberPlane::fHits
protected

Definition at line 87 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fMax_DriftTime

Definition at line 81 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fMin_DriftTime

Definition at line 80 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fNRawhits
protected

Definition at line 101 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fNSperChan
protected

Definition at line 125 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fNWires
protected

Definition at line 102 of file THcDriftChamberPlane.h.

TClonesArray* THcDriftChamberPlane::fParentHitList
protected

Definition at line 85 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fPitch
protected

Definition at line 105 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fPlaneCoef[9]
protected

Definition at line 114 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fPlaneIndex
protected

Definition at line 97 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fPlaneNum
protected

Definition at line 96 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fPlaneTimeZero
protected

Definition at line 107 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fPsi0
protected

Definition at line 111 of file THcDriftChamberPlane.h.

TClonesArray* THcDriftChamberPlane::fRawHits
protected

Definition at line 89 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fReadoutCorr
protected

Definition at line 117 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fReadoutLR
protected

Definition at line 120 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fReadoutTB
protected

Definition at line 121 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fReadoutX
protected

Definition at line 116 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fSigma
protected

Definition at line 110 of file THcDriftChamberPlane.h.

Double_t* THcDriftChamberPlane::fSigmaWire
protected

Definition at line 128 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fStubCoef[4]
protected

Definition at line 112 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fTdcRefTime
protected

Definition at line 92 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fTdcWinMax
protected

Definition at line 104 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fTdcWinMin
protected

Definition at line 103 of file THcDriftChamberPlane.h.

THcDCTimeToDistConv* THcDriftChamberPlane::fTTDConv
protected

Definition at line 133 of file THcDriftChamberPlane.h.

Double_t* THcDriftChamberPlane::fTzeroWire
protected

Definition at line 127 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fUsingSigmaPerWire
protected

Definition at line 100 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fUsingTzeroPerWire
protected

Definition at line 99 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fVersion
protected

Definition at line 94 of file THcDriftChamberPlane.h.

Int_t THcDriftChamberPlane::fWireOrder
protected

Definition at line 95 of file THcDriftChamberPlane.h.

TClonesArray* THcDriftChamberPlane::fWires
protected

Definition at line 90 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fXsp
protected

Definition at line 108 of file THcDriftChamberPlane.h.

Double_t THcDriftChamberPlane::fYsp
protected

Definition at line 109 of file THcDriftChamberPlane.h.

Collaboration diagram for THcDriftChamberPlane:

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