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

Generic hodoscope consisting of multiple planes with multiple paddles with phototubes on both ends.

This differs from Hall A scintillator class in that it is the whole hodoscope array, not just one plane.

Definition at line 37 of file THcHodoscope.h.

Classes

struct  GoodFlags
 
struct  TOFCalc
 
struct  TOFPInfo
 

Public Member Functions

virtual Int_t ApplyCorrections (void)
 
void CalcCluster (void)
 
virtual void Clear (Option_t *opt="")
 
virtual Int_t CoarseProcess (TClonesArray &tracks)
 
virtual Int_t Decode (const THaEvData &)
 
Double_t DetermineTimePeak (Int_t FillFlag)
 
virtual Int_t End (THaRunBase *run=0)
 
void EstimateFocalPlaneTime (void)
 
virtual Int_t FineProcess (TClonesArray &tracks)
 
Double_t GetAdcTdcOffset (Int_t ip) const
 
Double_t GetBeta () const
 
Double_t GetBetaNominal () const
 
Double_t GetBetaNotrk () const
 
Bool_t GetFlags (Int_t itrack, Int_t iplane, Int_t ihit, Bool_t &onTrack, Bool_t &goodScinTime, Bool_t &goodTdcNeg, Bool_t &goodTdcPos) const
 
Int_t GetGoodRawPad (Int_t iii)
 
Int_t GetGoodRawPlane (Int_t iii)
 
Double_t GetHodoCableFit (Int_t iii) const
 
Double_t GetHodoLCoeff (Int_t iii) const
 
Double_t GetHodoNeg_c1 (Int_t iii) const
 
Double_t GetHodoNeg_c2 (Int_t iii) const
 
Double_t GetHodoNegAdcTimeWindowMax (Int_t iii) const
 
Double_t GetHodoNegAdcTimeWindowMin (Int_t iii) const
 
Double_t GetHodoNegInvAdcAdc (Int_t iii) const
 
Double_t GetHodoNegInvAdcLinear (Int_t iii) const
 
Double_t GetHodoNegInvAdcOffset (Int_t iii) const
 
Double_t GetHodoNegMinPh (Int_t iii) const
 
Double_t GetHodoNegPhcCoeff (Int_t iii) const
 
Double_t GetHodoNegSigma (Int_t iii) const
 
Double_t GetHodoNegTimeOffset (Int_t iii) const
 
Double_t GetHodoPos_c1 (Int_t iii) const
 
Double_t GetHodoPos_c2 (Int_t iii) const
 
Double_t GetHodoPosAdcTimeWindowMax (Int_t iii) const
 
Double_t GetHodoPosAdcTimeWindowMin (Int_t iii) const
 
Double_t GetHodoPosInvAdcAdc (Int_t iii) const
 
Double_t GetHodoPosInvAdcLinear (Int_t iii) const
 
Double_t GetHodoPosInvAdcOffset (Int_t iii) const
 
Double_t GetHodoPosMinPh (Int_t iii) const
 
Double_t GetHodoPosPhcCoeff (Int_t iii) const
 
Double_t GetHodoPosSigma (Int_t iii) const
 
Double_t GetHodoPosTimeOffset (Int_t iii) const
 
Double_t GetHodoSlop (Int_t ip)
 
Double_t GetHodoVelFit (Int_t iii) const
 
Double_t GetHodoVelLight (Int_t iii) const
 
Int_t GetNfptimes () const
 
UInt_t GetNPaddles (Int_t ip)
 
Int_t GetNPlanes ()
 
Int_t GetNScinHits (Int_t iii)
 
Int_t GetNTracks () const
 
Double_t GetOffsetTime () const
 
Double_t GetPathLengthCentral ()
 
THcScintillatorPlaneGetPlane (Int_t ip)
 
Double_t GetPlaneCenter (Int_t ip)
 
Double_t GetPlaneSpacing (Int_t ip)
 
Int_t GetScinIndex (Int_t nPlane, Int_t nPaddle)
 
Int_t GetScinIndex (Int_t nSide, Int_t nPlane, Int_t nPaddle)
 
Double_t GetStartTime () const
 
Double_t GetStartTimeCenter () const
 
Double_t GetStartTimeSlop () const
 
Double_t GetTdcMax () const
 
Double_t GetTdcMin () const
 
Int_t GetTdcOffset (Int_t ip) const
 
Double_t GetTDCThrs () const
 
Double_t GetTdcToTime () const
 
Double_t GetTofTolerance () const
 
Int_t GetTotHits ()
 
const TClonesArrayGetTrackHits () const
 
virtual EStatus Init (const TDatime &run_time)
 
Bool_t IsStartTimeGood () const
 
void OriginalTrackEffTest (void)
 
 THcHodoscope (const char *name, const char *description="", THaApparatus *a=NULL)
 
 THcHodoscope ()
 
void TrackEffTest (void)
 
virtual ~THcHodoscope ()
 
- Public Member Functions inherited from THcHitList
void CreateMissReportParms (const char *prefix)
 
virtual Int_t DecodeToHitList (const THaEvData &evdata, Bool_t suppress=kFALSE)
 Populate the hitlist from the raw event data. More...
 
void DisableSlipCorrection ()
 
TClonesArrayGetHitList () const
 
void InitHitList (THaDetMap *detmap, const char *hitclass, Int_t maxhits, Int_t tdcref_cut=0, Int_t adcref_cut=0)
 Save the electronics module to detector mapping and initialize a hit array of hits of class hitclass. More...
 
void MissReport (const char *name)
 
 THcHitList ()
 
virtual ~THcHitList ()
 

Protected Types

enum  ESide { kLeft = 0, kRight = 1 }
 

Protected Member Functions

virtual Int_t DefineVariables (EMode mode=kDefine)
 
void DeleteArrays ()
 
virtual Int_t ReadDatabase (const TDatime &date)
 
void Setup (const char *name, const char *description)
 
virtual Double_t TimeWalkCorrection (const Int_t &paddle, const ESide side)
 
- Protected Member Functions inherited from THcHitList
 ClassDef (THcHitList, 0)
 

Protected Attributes

Int_t fADC_RefTimeCut
 
Double_t fADCStartTime
 
Double_tfAdcTdcOffset
 
Int_t fAnalyzePedestals
 
Double_t fBeta
 
Double_t fBetaNominal
 
Double_t fBetaNoTrk
 
Double_t fBetaNoTrkChiSq
 
Int_t fCheckEvent
 
THcCherenkovfCherenkov
 
Double_t fChi2Min
 
std::vector< std::vector< Int_t > > fClusterSize
 
std::vector< std::vector< Double_t > > fClusterXPos
 
std::vector< std::vector< Double_t > > fClusterYPos
 
std::vector< std::vector< Double_t > > fClustPos
 
std::vector< std::vector< Int_t > > fClustSize
 
Int_t fCosmicFlag
 
Int_t fdebugprintscinraw
 
std::vector< std::vector< Double_t > > fdEdX
 
ofstream fDumpOut
 
Int_t fDumpTOF
 
Int_t fEventNum
 
Int_t fEventType
 
Double_tfFPTime
 
Double_t fFPTimeAll
 
Bool_t fGoodEventTOFCalib
 
std::vector< std::vector< std::vector< GoodFlags > > > fGoodFlags
 
Bool_tfGoodPlaneTime
 
Int_t fGoodScinHits
 
std::vector< Int_tfGoodScinHitsX
 
Bool_t fGoodStartTime
 
Int_t fGoodTrack
 
Int_t fHitSweet1X
 
Int_t fHitSweet1Y
 
Int_t fHitSweet2X
 
Int_t fHitSweet2Y
 
Double_tfHodo_LCoeff
 
Double_tfHodoCableFit
 
Double_tfHodoNeg_c1
 
Double_tfHodoNeg_c2
 
Double_tfHodoNegAdcTimeWindowMax
 
Double_tfHodoNegAdcTimeWindowMin
 
Double_tfHodoNegInvAdcAdc
 
Double_tfHodoNegInvAdcLinear
 
Double_tfHodoNegInvAdcOffset
 
Double_tfHodoNegMinPh
 
Int_tfHodoNegPedLimit
 
Double_tfHodoNegPhcCoeff
 
Double_tfHodoNegSigma
 
Double_tfHodoNegTimeOffset
 
Double_tfHodoPos_c1
 
Double_tfHodoPos_c2
 
Double_tfHodoPosAdcTimeWindowMax
 
Double_tfHodoPosAdcTimeWindowMin
 
Double_tfHodoPosInvAdcAdc
 
Double_tfHodoPosInvAdcLinear
 
Double_tfHodoPosInvAdcOffset
 
Double_tfHodoPosMinPh
 
Int_tfHodoPosPedLimit
 
Double_tfHodoPosPhcCoeff
 
Double_tfHodoPosSigma
 
Double_tfHodoPosTimeOffset
 
Double_tfHodoSigmaNeg
 
Double_tfHodoSigmaPos
 
Double_tfHodoSlop
 
Double_tfHodoVelFit
 
Double_tfHodoVelLight
 
UInt_t fMaxHodoScin
 
UInt_t fMaxScinPerPlane
 
Double_t fNCerNPE
 
std::vector< Int_tfNClust
 
std::vector< Int_tfNCluster
 
Int_t fNfptimes
 
Int_t fNHits
 
Int_t fNHodoscopes
 
Double_t fNormETot
 
UInt_tfNPaddle
 
Int_t fNPlanes
 
Int_tfNPlaneTime
 
std::vector< Int_tfNScinHit
 
Int_tfNScinHits
 
Int_t fNumPlanesBetaCalc
 
Double_t fOffsetTime
 
Double_t fPartMass
 
Double_t fPathLengthCentral
 
Double_tfPlaneCenter
 
char ** fPlaneNames
 
THcScintillatorPlane ** fPlanes
 
Double_tfPlaneSpacing
 
Bool_tfPresentP
 
Double_t fRatio_xpfp_to_xfp
 
Double_t fScin2XdZpos
 
Double_t fScin2XZpos
 
Double_t fScin2YdZpos
 
Double_t fScin2YZpos
 
std::vector< std::vector< Int_t > > fScinHitPaddle
 
Double_t fScinTdcMax
 
Double_t fScinTdcMin
 
Double_t fScinTdcToTime
 
Bool_t fSHMS
 
Double_t fStartTime
 
Double_t fStartTimeCenter
 
Double_t fStartTimeSlop
 
Double_tfSumPlaneTime
 
Int_t fSweet1XScin
 
Int_t fSweet1YScin
 
Int_t fSweet2XScin
 
Int_t fSweet2YScin
 
Int_t fTDC_RefTimeCut
 
Double_t fTdc_Thrs
 
Int_tfTdcOffset
 
Int_t fTestSum
 
std::vector< Int_tfThreeScin
 
Double_t fTimeHist_FpTime_Hits
 
Double_t fTimeHist_FpTime_NumPeaks
 
Double_t fTimeHist_FpTime_Peak
 
Double_t fTimeHist_FpTime_Sigma
 
Double_t fTimeHist_StartTime_Hits
 
Double_t fTimeHist_StartTime_NumPeaks
 
Double_t fTimeHist_StartTime_Peak
 
Double_t fTimeHist_StartTime_Sigma
 
std::vector< TOFCalcfTOFCalc
 
Double_t fTOFCalib_beta_hi
 
Double_t fTOFCalib_beta_lo
 
Double_t fTOFCalib_cer_lo
 
Double_t fTOFCalib_shtrk_hi
 
Double_t fTOFCalib_shtrk_lo
 
string fTOFDumpFile
 
std::vector< TOFPInfofTOFPInfo
 
Double_t fTofTolerance
 
Int_t fTofUsingInvAdc
 
UInt_t fTotHodScin
 
Int_t fTrackBetaIncludeSinglePmtHits
 
Int_t fTrackEffTestNScinPlanes
 
TClonesArrayfTrackProj
 
Int_tfxHiScin
 
Int_tfxLoScin
 
Int_tfyHiScin
 
Int_tfyLoScin
 
TH1FhTime
 
Double_t trackeff_scint_xdiff_max
 
Double_t trackeff_scint_ydiff_max
 
- Protected Attributes inherited from THcHitList
Double_t fDisableSlipCorrection
 
std::map< Int_t, Decoder::Fadc250Module * > fFADCSlotMap
 
Bool_t fHaveFADCInfo
 
Decoder::THaCrateMapfMap
 
Int_t fNADCRef_miss
 
Int_t fNPED
 
Int_t fNRefIndex
 
Int_t fNSA
 
Int_t fNSB
 
UInt_t fNSignals
 
Int_t fNTDCRef_miss
 
THcConfigEvtHandlerfPSE125
 
std::vector< RefIndexMapfRefIndexMaps
 
THcRawHit::ESignalTypefSignalTypes
 
Int_t fTICrate
 
Int_t fTISlot
 
std::map< Int_t, Int_tfTrigTimeShiftMap
 

Friends

class THaScCalib
 

Additional Inherited Members

- Public Attributes inherited from THcHitList
Bool_t fADC_RefTimeBest
 
Int_t fADC_RefTimeCut
 
THaDetMap * fdMap
 
Int_t fNMaxRawHits
 
UInt_t fNRawHits
 
TClassfRawHitClass
 
TClonesArrayfRawHitList
 
Bool_t fTDC_RefTimeBest
 
Int_t fTDC_RefTimeCut
 

#include <THcHodoscope.h>

Inheritance diagram for THcHodoscope:

Member Enumeration Documentation

enum THcHodoscope::ESide
protected
Enumerator
kLeft 
kRight 

Definition at line 410 of file THcHodoscope.h.

Constructor & Destructor Documentation

THcHodoscope::THcHodoscope ( const char *  name,
const char *  description = "",
THaApparatus *  a = NULL 
)

Definition at line 52 of file THcHodoscope.cxx.

THcHodoscope::~THcHodoscope ( )
virtual

Definition at line 582 of file THcHodoscope.cxx.

THcHodoscope::THcHodoscope ( )

Definition at line 66 of file THcHodoscope.cxx.

Member Function Documentation

Int_t THcHodoscope::ApplyCorrections ( void  )
virtual

Definition at line 1185 of file THcHodoscope.cxx.

void THcHodoscope::CalcCluster ( void  )

Definition at line 1701 of file THcHodoscope.cxx.

void THcHodoscope::Clear ( Option_t opt = "")
virtual

Clears variables

Called by THcHodoscope::Decode

Definition at line 660 of file THcHodoscope.cxx.

Int_t THcHodoscope::CoarseProcess ( TClonesArray tracks)
virtual

Definition at line 1198 of file THcHodoscope.cxx.

Int_t THcHodoscope::Decode ( const THaEvData evdata)
virtual

Decodes raw data and processes raw data into hits for each instance of THcScintillatorPlane

Definition at line 712 of file THcHodoscope.cxx.

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

Initialize global variables for histograms and Root tree

Definition at line 546 of file THcHodoscope.cxx.

void THcHodoscope::DeleteArrays ( )
protected

Definition at line 604 of file THcHodoscope.cxx.

Double_t THcHodoscope::DetermineTimePeak ( Int_t  FillFlag)

Definition at line 794 of file THcHodoscope.cxx.

Int_t THcHodoscope::End ( THaRunBase *  run = 0)
virtual

Definition at line 2287 of file THcHodoscope.cxx.

void THcHodoscope::EstimateFocalPlaneTime ( void  )

Calculates the Drift Chamber start time and fBetaNoTrk (velocity determined without track info)

  • Called by THcHodoscope::Decode
  • selects good scintillator paddle hits
    • loops through hits in each scintillator plane and fills histogram array, "timehist", with corrected times for positive and negative ends of each paddle
    • Determines the peak of "timehist"

Definition at line 918 of file THcHodoscope.cxx.

Int_t THcHodoscope::FineProcess ( TClonesArray tracks)
virtual

Definition at line 2211 of file THcHodoscope.cxx.

Double_t THcHodoscope::GetAdcTdcOffset ( Int_t  ip) const
inline

Definition at line 117 of file THcHodoscope.h.

Double_t THcHodoscope::GetBeta ( ) const
inline

Definition at line 120 of file THcHodoscope.h.

Double_t THcHodoscope::GetBetaNominal ( ) const
inline

Definition at line 70 of file THcHodoscope.h.

Double_t THcHodoscope::GetBetaNotrk ( ) const
inline

Definition at line 103 of file THcHodoscope.h.

Bool_t THcHodoscope::GetFlags ( Int_t  itrack,
Int_t  iplane,
Int_t  ihit,
Bool_t onTrack,
Bool_t goodScinTime,
Bool_t goodTdcNeg,
Bool_t goodTdcPos 
) const
inline

Definition at line 126 of file THcHodoscope.h.

Int_t THcHodoscope::GetGoodRawPad ( Int_t  iii)
inline

Definition at line 105 of file THcHodoscope.h.

Int_t THcHodoscope::GetGoodRawPlane ( Int_t  iii)
inline

Definition at line 106 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoCableFit ( Int_t  iii) const
inline

Definition at line 91 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoLCoeff ( Int_t  iii) const
inline

Definition at line 92 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNeg_c1 ( Int_t  iii) const
inline

Definition at line 96 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNeg_c2 ( Int_t  iii) const
inline

Definition at line 98 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNegAdcTimeWindowMax ( Int_t  iii) const
inline

Definition at line 86 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNegAdcTimeWindowMin ( Int_t  iii) const
inline

Definition at line 87 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNegInvAdcAdc ( Int_t  iii) const
inline

Definition at line 83 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNegInvAdcLinear ( Int_t  iii) const
inline

Definition at line 81 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNegInvAdcOffset ( Int_t  iii) const
inline

Definition at line 79 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNegMinPh ( Int_t  iii) const
inline

Definition at line 74 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNegPhcCoeff ( Int_t  iii) const
inline

Definition at line 72 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNegSigma ( Int_t  iii) const
inline

Definition at line 124 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoNegTimeOffset ( Int_t  iii) const
inline

Definition at line 76 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPos_c1 ( Int_t  iii) const
inline

Definition at line 95 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPos_c2 ( Int_t  iii) const
inline

Definition at line 97 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPosAdcTimeWindowMax ( Int_t  iii) const
inline

Definition at line 84 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPosAdcTimeWindowMin ( Int_t  iii) const
inline

Definition at line 85 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPosInvAdcAdc ( Int_t  iii) const
inline

Definition at line 82 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPosInvAdcLinear ( Int_t  iii) const
inline

Definition at line 80 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPosInvAdcOffset ( Int_t  iii) const
inline

Definition at line 78 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPosMinPh ( Int_t  iii) const
inline

Definition at line 73 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPosPhcCoeff ( Int_t  iii) const
inline

Definition at line 71 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPosSigma ( Int_t  iii) const
inline

Definition at line 123 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoPosTimeOffset ( Int_t  iii) const
inline

Definition at line 75 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoSlop ( Int_t  ip)
inline

Definition at line 113 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoVelFit ( Int_t  iii) const
inline

Definition at line 90 of file THcHodoscope.h.

Double_t THcHodoscope::GetHodoVelLight ( Int_t  iii) const
inline

Definition at line 77 of file THcHodoscope.h.

Int_t THcHodoscope::GetNfptimes ( ) const
inline

Definition at line 61 of file THcHodoscope.h.

UInt_t THcHodoscope::GetNPaddles ( Int_t  ip)
inline

Definition at line 112 of file THcHodoscope.h.

Int_t THcHodoscope::GetNPlanes ( )
inline

Definition at line 110 of file THcHodoscope.h.

Int_t THcHodoscope::GetNScinHits ( Int_t  iii)
inline

Definition at line 107 of file THcHodoscope.h.

Int_t THcHodoscope::GetNTracks ( ) const
inline

Definition at line 65 of file THcHodoscope.h.

Double_t THcHodoscope::GetOffsetTime ( ) const
inline

Definition at line 59 of file THcHodoscope.h.

Double_t THcHodoscope::GetPathLengthCentral ( )

Definition at line 2282 of file THcHodoscope.cxx.

THcScintillatorPlane* THcHodoscope::GetPlane ( Int_t  ip)
inline

Definition at line 111 of file THcHodoscope.h.

Double_t THcHodoscope::GetPlaneCenter ( Int_t  ip)
inline

Definition at line 114 of file THcHodoscope.h.

Double_t THcHodoscope::GetPlaneSpacing ( Int_t  ip)
inline

Definition at line 115 of file THcHodoscope.h.

Int_t THcHodoscope::GetScinIndex ( Int_t  nPlane,
Int_t  nPaddle 
)

Definition at line 2270 of file THcHodoscope.cxx.

Int_t THcHodoscope::GetScinIndex ( Int_t  nSide,
Int_t  nPlane,
Int_t  nPaddle 
)

Definition at line 2278 of file THcHodoscope.cxx.

Double_t THcHodoscope::GetStartTime ( ) const
inline

Definition at line 58 of file THcHodoscope.h.

Double_t THcHodoscope::GetStartTimeCenter ( ) const
inline

Definition at line 101 of file THcHodoscope.h.

Double_t THcHodoscope::GetStartTimeSlop ( ) const
inline

Definition at line 102 of file THcHodoscope.h.

Double_t THcHodoscope::GetTdcMax ( ) const
inline

Definition at line 67 of file THcHodoscope.h.

Double_t THcHodoscope::GetTdcMin ( ) const
inline

Definition at line 66 of file THcHodoscope.h.

Int_t THcHodoscope::GetTdcOffset ( Int_t  ip) const
inline

Definition at line 116 of file THcHodoscope.h.

Double_t THcHodoscope::GetTDCThrs ( ) const
inline

Definition at line 99 of file THcHodoscope.h.

Double_t THcHodoscope::GetTdcToTime ( ) const
inline

Definition at line 69 of file THcHodoscope.h.

Double_t THcHodoscope::GetTofTolerance ( ) const
inline

Definition at line 68 of file THcHodoscope.h.

Int_t THcHodoscope::GetTotHits ( )
inline

Definition at line 108 of file THcHodoscope.h.

const TClonesArray* THcHodoscope::GetTrackHits ( ) const
inline

Definition at line 136 of file THcHodoscope.h.

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

Definition at line 154 of file THcHodoscope.cxx.

Bool_t THcHodoscope::IsStartTimeGood ( ) const
inline

Definition at line 60 of file THcHodoscope.h.

void THcHodoscope::OriginalTrackEffTest ( void  )

Translation of h_track_tests.f file for tracking efficiency

Definition at line 1996 of file THcHodoscope.cxx.

Int_t THcHodoscope::ReadDatabase ( const TDatime date)
protectedvirtual

Read this detector's parameters from the ThcParmlist.

This function is called by THaDetectorBase::Init() once at the beginning of the analysis.

Definition at line 213 of file THcHodoscope.cxx.

void THcHodoscope::Setup ( const char *  name,
const char *  description 
)
protected

Create the scintillator plane objects for the hodoscope.

Uses the Xhodo_num_planes and Xhodo_plane_names to get the number of planes and their names.

Gets a pointer to the Cherenkov named "cer" ("hgcer" in the case of the SHMS.)

Definition at line 73 of file THcHodoscope.cxx.

Double_t THcHodoscope::TimeWalkCorrection ( const Int_t paddle,
const ESide  side 
)
protectedvirtual

Definition at line 1190 of file THcHodoscope.cxx.

void THcHodoscope::TrackEffTest ( void  )

Definition at line 1838 of file THcHodoscope.cxx.

Friends And Related Function Documentation

friend class THaScCalib
friend

Definition at line 138 of file THcHodoscope.h.

Member Data Documentation

Int_t THcHodoscope::fADC_RefTimeCut
protected

Definition at line 146 of file THcHodoscope.h.

Double_t THcHodoscope::fADCStartTime
protected

Definition at line 161 of file THcHodoscope.h.

Double_t* THcHodoscope::fAdcTdcOffset
protected

Definition at line 260 of file THcHodoscope.h.

Int_t THcHodoscope::fAnalyzePedestals
protected

Definition at line 148 of file THcHodoscope.h.

Double_t THcHodoscope::fBeta
protected

Definition at line 175 of file THcHodoscope.h.

Double_t THcHodoscope::fBetaNominal
protected

Definition at line 232 of file THcHodoscope.h.

Double_t THcHodoscope::fBetaNoTrk
protected

Definition at line 177 of file THcHodoscope.h.

Double_t THcHodoscope::fBetaNoTrkChiSq
protected

Definition at line 178 of file THcHodoscope.h.

Int_t THcHodoscope::fCheckEvent
protected

Definition at line 242 of file THcHodoscope.h.

THcCherenkov* THcHodoscope::fCherenkov
protected

Definition at line 143 of file THcHodoscope.h.

Double_t THcHodoscope::fChi2Min
protected

Definition at line 252 of file THcHodoscope.h.

std::vector<std::vector<Int_t> > THcHodoscope::fClusterSize
protected

Definition at line 389 of file THcHodoscope.h.

std::vector<std::vector<Double_t> > THcHodoscope::fClusterXPos
protected

Definition at line 390 of file THcHodoscope.h.

std::vector<std::vector<Double_t> > THcHodoscope::fClusterYPos
protected

Definition at line 391 of file THcHodoscope.h.

std::vector<std::vector<Double_t> > THcHodoscope::fClustPos
protected

Definition at line 387 of file THcHodoscope.h.

std::vector<std::vector<Int_t> > THcHodoscope::fClustSize
protected

Definition at line 386 of file THcHodoscope.h.

Int_t THcHodoscope::fCosmicFlag
protected

Definition at line 186 of file THcHodoscope.h.

Int_t THcHodoscope::fdebugprintscinraw
protected

Definition at line 261 of file THcHodoscope.h.

std::vector<std::vector<Double_t> > THcHodoscope::fdEdX
protected

Definition at line 382 of file THcHodoscope.h.

ofstream THcHodoscope::fDumpOut
protected

Definition at line 277 of file THcHodoscope.h.

Int_t THcHodoscope::fDumpTOF
protected

Definition at line 276 of file THcHodoscope.h.

Int_t THcHodoscope::fEventNum
protected

Definition at line 244 of file THcHodoscope.h.

Int_t THcHodoscope::fEventType
protected

Definition at line 243 of file THcHodoscope.h.

Double_t* THcHodoscope::fFPTime
protected

Definition at line 294 of file THcHodoscope.h.

Double_t THcHodoscope::fFPTimeAll
protected

Definition at line 163 of file THcHodoscope.h.

Bool_t THcHodoscope::fGoodEventTOFCalib
protected

Definition at line 279 of file THcHodoscope.h.

std::vector<std::vector<std::vector<GoodFlags> > > THcHodoscope::fGoodFlags
protected

Definition at line 404 of file THcHodoscope.h.

Bool_t* THcHodoscope::fGoodPlaneTime
protected

Definition at line 302 of file THcHodoscope.h.

Int_t THcHodoscope::fGoodScinHits
protected

Definition at line 264 of file THcHodoscope.h.

std::vector<Int_t > THcHodoscope::fGoodScinHitsX
protected

Definition at line 393 of file THcHodoscope.h.

Bool_t THcHodoscope::fGoodStartTime
protected

Definition at line 159 of file THcHodoscope.h.

Int_t THcHodoscope::fGoodTrack
protected

Definition at line 246 of file THcHodoscope.h.

Int_t THcHodoscope::fHitSweet1X
protected

Definition at line 282 of file THcHodoscope.h.

Int_t THcHodoscope::fHitSweet1Y
protected

Definition at line 283 of file THcHodoscope.h.

Int_t THcHodoscope::fHitSweet2X
protected

Definition at line 284 of file THcHodoscope.h.

Int_t THcHodoscope::fHitSweet2Y
protected

Definition at line 285 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodo_LCoeff
protected

Definition at line 222 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoCableFit
protected

Definition at line 221 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNeg_c1
protected

Definition at line 224 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNeg_c2
protected

Definition at line 226 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNegAdcTimeWindowMax
protected

Definition at line 195 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNegAdcTimeWindowMin
protected

Definition at line 194 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNegInvAdcAdc
protected

Definition at line 217 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNegInvAdcLinear
protected

Definition at line 215 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNegInvAdcOffset
protected

Definition at line 213 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNegMinPh
protected

Definition at line 204 of file THcHodoscope.h.

Int_t* THcHodoscope::fHodoNegPedLimit
protected

Definition at line 210 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNegPhcCoeff
protected

Definition at line 206 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNegSigma
protected

Definition at line 201 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoNegTimeOffset
protected

Definition at line 208 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPos_c1
protected

Definition at line 223 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPos_c2
protected

Definition at line 225 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPosAdcTimeWindowMax
protected

Definition at line 197 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPosAdcTimeWindowMin
protected

Definition at line 196 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPosInvAdcAdc
protected

Definition at line 216 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPosInvAdcLinear
protected

Definition at line 214 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPosInvAdcOffset
protected

Definition at line 212 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPosMinPh
protected

Definition at line 203 of file THcHodoscope.h.

Int_t* THcHodoscope::fHodoPosPedLimit
protected

Definition at line 209 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPosPhcCoeff
protected

Definition at line 205 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPosSigma
protected

Definition at line 200 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoPosTimeOffset
protected

Definition at line 207 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoSigmaNeg
protected

Definition at line 229 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoSigmaPos
protected

Definition at line 228 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoSlop
protected

Definition at line 258 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoVelFit
protected

Definition at line 220 of file THcHodoscope.h.

Double_t* THcHodoscope::fHodoVelLight
protected

Definition at line 199 of file THcHodoscope.h.

UInt_t THcHodoscope::fMaxHodoScin
protected

Definition at line 183 of file THcHodoscope.h.

UInt_t THcHodoscope::fMaxScinPerPlane
protected

Definition at line 183 of file THcHodoscope.h.

Double_t THcHodoscope::fNCerNPE
protected

Definition at line 257 of file THcHodoscope.h.

std::vector<Int_t > THcHodoscope::fNClust
protected

Definition at line 385 of file THcHodoscope.h.

std::vector<Int_t > THcHodoscope::fNCluster
protected

Definition at line 388 of file THcHodoscope.h.

Int_t THcHodoscope::fNfptimes
protected

Definition at line 164 of file THcHodoscope.h.

Int_t THcHodoscope::fNHits
protected

Definition at line 150 of file THcHodoscope.h.

Int_t THcHodoscope::fNHodoscopes
protected

Definition at line 269 of file THcHodoscope.h.

Double_t THcHodoscope::fNormETot
protected

Definition at line 256 of file THcHodoscope.h.

UInt_t* THcHodoscope::fNPaddle
protected

Definition at line 191 of file THcHodoscope.h.

Int_t THcHodoscope::fNPlanes
protected

Definition at line 182 of file THcHodoscope.h.

Int_t* THcHodoscope::fNPlaneTime
protected

Definition at line 300 of file THcHodoscope.h.

std::vector<Int_t > THcHodoscope::fNScinHit
protected

Definition at line 383 of file THcHodoscope.h.

Int_t* THcHodoscope::fNScinHits
protected

Definition at line 299 of file THcHodoscope.h.

Int_t THcHodoscope::fNumPlanesBetaCalc
protected

Definition at line 187 of file THcHodoscope.h.

Double_t THcHodoscope::fOffsetTime
protected

Definition at line 162 of file THcHodoscope.h.

Double_t THcHodoscope::fPartMass
protected

Definition at line 231 of file THcHodoscope.h.

Double_t THcHodoscope::fPathLengthCentral
protected

Definition at line 188 of file THcHodoscope.h.

Double_t* THcHodoscope::fPlaneCenter
protected

Definition at line 253 of file THcHodoscope.h.

char** THcHodoscope::fPlaneNames
protected

Definition at line 190 of file THcHodoscope.h.

THcScintillatorPlane** THcHodoscope::fPlanes
protected

Definition at line 234 of file THcHodoscope.h.

Double_t* THcHodoscope::fPlaneSpacing
protected

Definition at line 254 of file THcHodoscope.h.

Bool_t* THcHodoscope::fPresentP
protected

Definition at line 165 of file THcHodoscope.h.

Double_t THcHodoscope::fRatio_xpfp_to_xfp
protected

Definition at line 154 of file THcHodoscope.h.

Double_t THcHodoscope::fScin2XdZpos
protected

Definition at line 248 of file THcHodoscope.h.

Double_t THcHodoscope::fScin2XZpos
protected

Definition at line 247 of file THcHodoscope.h.

Double_t THcHodoscope::fScin2YdZpos
protected

Definition at line 250 of file THcHodoscope.h.

Double_t THcHodoscope::fScin2YZpos
protected

Definition at line 249 of file THcHodoscope.h.

std::vector<std::vector<Int_t> > THcHodoscope::fScinHitPaddle
protected

Definition at line 384 of file THcHodoscope.h.

Double_t THcHodoscope::fScinTdcMax
protected

Definition at line 189 of file THcHodoscope.h.

Double_t THcHodoscope::fScinTdcMin
protected

Definition at line 189 of file THcHodoscope.h.

Double_t THcHodoscope::fScinTdcToTime
protected

Definition at line 184 of file THcHodoscope.h.

Bool_t THcHodoscope::fSHMS
protected

Definition at line 158 of file THcHodoscope.h.

Double_t THcHodoscope::fStartTime
protected

Definition at line 160 of file THcHodoscope.h.

Double_t THcHodoscope::fStartTimeCenter
protected

Definition at line 184 of file THcHodoscope.h.

Double_t THcHodoscope::fStartTimeSlop
protected

Definition at line 184 of file THcHodoscope.h.

Double_t* THcHodoscope::fSumPlaneTime
protected

Definition at line 297 of file THcHodoscope.h.

Int_t THcHodoscope::fSweet1XScin
protected

Definition at line 287 of file THcHodoscope.h.

Int_t THcHodoscope::fSweet1YScin
protected

Definition at line 288 of file THcHodoscope.h.

Int_t THcHodoscope::fSweet2XScin
protected

Definition at line 289 of file THcHodoscope.h.

Int_t THcHodoscope::fSweet2YScin
protected

Definition at line 290 of file THcHodoscope.h.

Int_t THcHodoscope::fTDC_RefTimeCut
protected

Definition at line 145 of file THcHodoscope.h.

Double_t THcHodoscope::fTdc_Thrs
protected

Definition at line 227 of file THcHodoscope.h.

Int_t* THcHodoscope::fTdcOffset
protected

Definition at line 259 of file THcHodoscope.h.

Int_t THcHodoscope::fTestSum
protected

Definition at line 262 of file THcHodoscope.h.

std::vector<Int_t > THcHodoscope::fThreeScin
protected

Definition at line 392 of file THcHodoscope.h.

Double_t THcHodoscope::fTimeHist_FpTime_Hits
protected

Definition at line 173 of file THcHodoscope.h.

Double_t THcHodoscope::fTimeHist_FpTime_NumPeaks
protected

Definition at line 170 of file THcHodoscope.h.

Double_t THcHodoscope::fTimeHist_FpTime_Peak
protected

Definition at line 171 of file THcHodoscope.h.

Double_t THcHodoscope::fTimeHist_FpTime_Sigma
protected

Definition at line 172 of file THcHodoscope.h.

Double_t THcHodoscope::fTimeHist_StartTime_Hits
protected

Definition at line 169 of file THcHodoscope.h.

Double_t THcHodoscope::fTimeHist_StartTime_NumPeaks
protected

Definition at line 166 of file THcHodoscope.h.

Double_t THcHodoscope::fTimeHist_StartTime_Peak
protected

Definition at line 167 of file THcHodoscope.h.

Double_t THcHodoscope::fTimeHist_StartTime_Sigma
protected

Definition at line 168 of file THcHodoscope.h.

std::vector<TOFCalc> THcHodoscope::fTOFCalc
protected

Definition at line 378 of file THcHodoscope.h.

Double_t THcHodoscope::fTOFCalib_beta_hi
protected

Definition at line 275 of file THcHodoscope.h.

Double_t THcHodoscope::fTOFCalib_beta_lo
protected

Definition at line 274 of file THcHodoscope.h.

Double_t THcHodoscope::fTOFCalib_cer_lo
protected

Definition at line 273 of file THcHodoscope.h.

Double_t THcHodoscope::fTOFCalib_shtrk_hi
protected

Definition at line 272 of file THcHodoscope.h.

Double_t THcHodoscope::fTOFCalib_shtrk_lo
protected

Definition at line 271 of file THcHodoscope.h.

string THcHodoscope::fTOFDumpFile
protected

Definition at line 278 of file THcHodoscope.h.

std::vector<TOFPInfo> THcHodoscope::fTOFPInfo
protected

Definition at line 361 of file THcHodoscope.h.

Double_t THcHodoscope::fTofTolerance
protected

Definition at line 185 of file THcHodoscope.h.

Int_t THcHodoscope::fTofUsingInvAdc
protected

Definition at line 211 of file THcHodoscope.h.

UInt_t THcHodoscope::fTotHodScin
protected

Definition at line 183 of file THcHodoscope.h.

Int_t THcHodoscope::fTrackBetaIncludeSinglePmtHits
protected

Definition at line 192 of file THcHodoscope.h.

Int_t THcHodoscope::fTrackEffTestNScinPlanes
protected

Definition at line 263 of file THcHodoscope.h.

TClonesArray* THcHodoscope::fTrackProj
protected

Definition at line 236 of file THcHodoscope.h.

Int_t* THcHodoscope::fxHiScin
protected

Definition at line 266 of file THcHodoscope.h.

Int_t* THcHodoscope::fxLoScin
protected

Definition at line 265 of file THcHodoscope.h.

Int_t* THcHodoscope::fyHiScin
protected

Definition at line 268 of file THcHodoscope.h.

Int_t* THcHodoscope::fyLoScin
protected

Definition at line 267 of file THcHodoscope.h.

TH1F* THcHodoscope::hTime
protected

Definition at line 152 of file THcHodoscope.h.

Double_t THcHodoscope::trackeff_scint_xdiff_max
protected

Definition at line 156 of file THcHodoscope.h.

Double_t THcHodoscope::trackeff_scint_ydiff_max
protected

Definition at line 155 of file THcHodoscope.h.

Collaboration diagram for THcHodoscope:

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