Public Member Functions | Protected Attributes | List of all members
caldp::PCHit Class Reference

"Pre-calibration hit". Common input to calibration procedures More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/CalibrationDataProducts/PCHit.h"

Public Member Functions

 PCHit ()
 
 ~PCHit ()
 
int Plane () const
 Return plane value. More...
 
int Cell () const
 Return cell value. More...
 
int Diblock () const
 Return diblock value. More...
 
int DCM () const
 Return dcm value. More...
 
int APD () const
 Return apd value. More...
 
int Pixel () const
 Return pixel value. More...
 
geo::View_t View () const
 Return view. More...
 
float PE () const
 Return PE value. More...
 
float Path () const
 Return Path value. More...
 
float W () const
 Return W value. More...
 
float TrueMeV () const
 Return True energy (MeV) value. More...
 
float TruePE () const
 Return True PE value. More...
 
float TruePath () const
 Return True Pathlength value. More...
 
float TrueW () const
 Return True W value. More...
 
float TNS () const
 Return uncorrected hit time. More...
 
bool GoodTime () const
 Return quality of timing fit for cell. More...
 
float FlightLen () const
 Return path from start of track to current cell. More...
 
float ReadDist () const
 Return distance to readout, with pigtail. More...
 
float PoissonLambda () const
 Return number of simulated photons at readout before fluctuations. More...
 
void SetPlane (int aPlane)
 Set plane value. More...
 
void SetCell (int aCell)
 Set cell value. More...
 
void SetDiblock (int aDiblock)
 Set diblock value. More...
 
void SetDCM (int aDCM)
 Set dcm value. More...
 
void SetAPD (int aAPD)
 Set apd value. More...
 
void SetPixel (int aPixel)
 Set pixel value. More...
 
void SetView (geo::View_t aView)
 Set view value. More...
 
void SetPE (float aPE)
 Set PE value. More...
 
void SetPath (float aPath)
 Set Path value. More...
 
void SetW (float aW)
 Set W value. More...
 
void SetTrueMeV (float aTrueMeV)
 Set True energy (MeV) value. More...
 
void SetTruePE (float aTruePE)
 Set True PE value. More...
 
void SetTruePath (float aTruePath)
 Set True path length value. More...
 
void SetTrueW (float aTrueW)
 Set True W value. More...
 
void SetTNS (float aTNS)
 Set hit time (ns) More...
 
void SetGoodTime (bool aGoodT)
 Set quality of timing fit. More...
 
void SetFlightLen (float aLen)
 Set path length from start of track. More...
 
void SetReadDist (float aDist)
 Set distance to cell readout. More...
 
void SetPoissonLambda (float aLambda)
 Set number of simulated photons at readout before fluctuations. More...
 

Protected Attributes

int plane
 plane number More...
 
int cell
 cell number More...
 
int diblock
 diblock number More...
 
int dcm
 number of dcm on diblock More...
 
int apd
 number of apd on dcm More...
 
int pixel
 number pixel on apd More...
 
geo::View_t view
 hit view More...
 
float pe
 uncalibrated PEs More...
 
float path
 Path length. More...
 
float w
 Unmeasured coordinate of hit. More...
 
float trueMeV
 True energy of hit (MC Truth) More...
 
float truePE
 True number of photoelectrons (MC Truth) More...
 
float truePath
 True pathlength through the cell. More...
 
float trueW
 True position along cell W (W) More...
 
float tns
 Time of pchit (ns) More...
 
bool goodTime
 True if the time fit for the hit was good. More...
 
float flightLen
 path length from the start of track (cm) More...
 
float readDist
 distance from hit to readout(including pigtail) (cm) More...
 
float poissonLambda
 Number of simulated photons at readout in the absence of fluctuations. More...
 

Detailed Description

"Pre-calibration hit". Common input to calibration procedures

Definition at line 16 of file PCHit.h.

Constructor & Destructor Documentation

caldp::PCHit::PCHit ( )

Definition at line 16 of file PCHit.cxx.

16  :
17  plane(-1),
18  cell(-1),
19  diblock(-1),
20  dcm(-1),
21  apd(-1),
22  pixel(-1),
24  pe(0),
25  path(0),
26  w(-1.0e4),
27  trueMeV(0),
28  truePE(0),
29  truePath(0),
30  trueW(9999),
31  tns(-1.0e4),
32  goodTime(true),
33  flightLen(-1.0),
34  readDist(-1.0),
35  poissonLambda(0)
36  { }
int apd
number of apd on dcm
Definition: PCHit.h:105
int diblock
diblock number
Definition: PCHit.h:103
float truePath
True pathlength through the cell.
Definition: PCHit.h:113
int pixel
number pixel on apd
Definition: PCHit.h:106
float poissonLambda
Number of simulated photons at readout in the absence of fluctuations.
Definition: PCHit.h:119
int plane
plane number
Definition: PCHit.h:101
X or Y views.
Definition: PlaneGeo.h:30
float trueW
True position along cell W (W)
Definition: PCHit.h:114
float readDist
distance from hit to readout(including pigtail) (cm)
Definition: PCHit.h:118
float trueMeV
True energy of hit (MC Truth)
Definition: PCHit.h:111
bool goodTime
True if the time fit for the hit was good.
Definition: PCHit.h:116
int cell
cell number
Definition: PCHit.h:102
float truePE
True number of photoelectrons (MC Truth)
Definition: PCHit.h:112
float flightLen
path length from the start of track (cm)
Definition: PCHit.h:117
float tns
Time of pchit (ns)
Definition: PCHit.h:115
float w
Unmeasured coordinate of hit.
Definition: PCHit.h:110
float pe
uncalibrated PEs
Definition: PCHit.h:108
int dcm
number of dcm on diblock
Definition: PCHit.h:104
float path
Path length.
Definition: PCHit.h:109
geo::View_t view
hit view
Definition: PCHit.h:107
caldp::PCHit::~PCHit ( )

Definition at line 38 of file PCHit.cxx.

38 { }

Member Function Documentation

int caldp::PCHit::APD ( ) const
inline

Return apd value.

Definition at line 32 of file PCHit.h.

References apd.

Referenced by calib::CalibAna::FillWithPCHit().

32 {return apd; };
int apd
number of apd on dcm
Definition: PCHit.h:105
int caldp::PCHit::Cell ( ) const
inline
int caldp::PCHit::DCM ( ) const
inline

Return dcm value.

Definition at line 30 of file PCHit.h.

References dcm.

Referenced by calib::CalibAna::FillWithPCHit(), and calib::TimingCalibration::produce().

30 {return dcm; };
int dcm
number of dcm on diblock
Definition: PCHit.h:104
int caldp::PCHit::Diblock ( ) const
inline

Return diblock value.

Definition at line 28 of file PCHit.h.

References diblock.

Referenced by calib::CalibAna::FillWithPCHit(), and calib::TimingCalibration::produce().

28 {return diblock; };
int diblock
diblock number
Definition: PCHit.h:103
float caldp::PCHit::FlightLen ( ) const
inline

Return path from start of track to current cell.

Definition at line 56 of file PCHit.h.

References flightLen.

Referenced by caldp::TCTrack::CalculateFiberVelocity(), caldp::TCTrack::CalculateMuonVelocity(), and calib::CalibAna::FillWithPCHit().

56 {return flightLen; };
float flightLen
path length from the start of track (cm)
Definition: PCHit.h:117
bool caldp::PCHit::GoodTime ( ) const
inline

Return quality of timing fit for cell.

Definition at line 54 of file PCHit.h.

References goodTime.

Referenced by caldp::TCTrack::CalculateFiberVelocity(), caldp::TCTrack::CalculateMuonVelocity(), calib::MuondEdx::getPECorr(), calib::DetRespDrift::getPECorr(), calib::MuonTrackHits::getPECorr(), calib::MuondEdxAna::getPECorr(), and calib::CalibAna::GetPECorr().

54 {return goodTime; };
bool goodTime
True if the time fit for the hit was good.
Definition: PCHit.h:116
float caldp::PCHit::Path ( ) const
inline

Return Path value.

Definition at line 40 of file PCHit.h.

References path.

Referenced by calib::ThresholdAna::analyze(), calib::DriftResponseCalc::FillPeCorrHits(), and calib::CalibAna::FillWithPCHit().

40 {return path; };
float path
Path length.
Definition: PCHit.h:109
float caldp::PCHit::PE ( ) const
inline
int caldp::PCHit::Pixel ( ) const
inline

Return pixel value.

Definition at line 34 of file PCHit.h.

References pixel.

Referenced by calib::CalibAna::FillWithPCHit().

34 {return pixel; };
int pixel
number pixel on apd
Definition: PCHit.h:106
int caldp::PCHit::Plane ( ) const
inline
float caldp::PCHit::PoissonLambda ( ) const
inline

Return number of simulated photons at readout before fluctuations.

Definition at line 60 of file PCHit.h.

References poissonLambda.

Referenced by calib::ThresholdAna::analyze(), and calib::CalibAna::FillWithPCHit().

60 { return poissonLambda; }
float poissonLambda
Number of simulated photons at readout in the absence of fluctuations.
Definition: PCHit.h:119
float caldp::PCHit::ReadDist ( ) const
inline

Return distance to readout, with pigtail.

Definition at line 58 of file PCHit.h.

References readDist.

Referenced by caldp::TCTrack::CalculateFiberVelocity(), caldp::TCTrack::CalculateMuonVelocity(), and calib::CalibAna::FillWithPCHit().

58 {return readDist; };
float readDist
distance from hit to readout(including pigtail) (cm)
Definition: PCHit.h:118
void caldp::PCHit::SetAPD ( int  aAPD)
inline

Set apd value.

Definition at line 71 of file PCHit.h.

References apd.

Referenced by calib::PCHitsList::CellHitToPCHit().

71 { apd = aAPD; };
int apd
number of apd on dcm
Definition: PCHit.h:105
void caldp::PCHit::SetCell ( int  aCell)
inline

Set cell value.

Definition at line 65 of file PCHit.h.

References cell.

Referenced by calib::PCHitsList::CellHitToPCHit().

65 { cell = aCell; };
int cell
cell number
Definition: PCHit.h:102
void caldp::PCHit::SetDCM ( int  aDCM)
inline

Set dcm value.

Definition at line 69 of file PCHit.h.

References dcm.

Referenced by calib::PCHitsList::CellHitToPCHit().

69 { dcm = aDCM; };
int dcm
number of dcm on diblock
Definition: PCHit.h:104
void caldp::PCHit::SetDiblock ( int  aDiblock)
inline

Set diblock value.

Definition at line 67 of file PCHit.h.

References diblock.

Referenced by calib::PCHitsList::CellHitToPCHit().

67 { diblock = aDiblock; };
int diblock
diblock number
Definition: PCHit.h:103
void caldp::PCHit::SetFlightLen ( float  aLen)
inline

Set path length from start of track.

Definition at line 95 of file PCHit.h.

References flightLen.

Referenced by calib::PCHitsList::CellHitToPCHit().

95 { flightLen= aLen; };
float flightLen
path length from the start of track (cm)
Definition: PCHit.h:117
void caldp::PCHit::SetGoodTime ( bool  aGoodT)
inline

Set quality of timing fit.

Definition at line 93 of file PCHit.h.

References goodTime.

Referenced by calib::PCHitsList::CellHitToPCHit().

93 { goodTime = aGoodT; };
bool goodTime
True if the time fit for the hit was good.
Definition: PCHit.h:116
void caldp::PCHit::SetPath ( float  aPath)
inline

Set Path value.

Definition at line 79 of file PCHit.h.

References path.

Referenced by calib::PCHitsList::CellHitToPCHit().

79 { path = aPath; };
float path
Path length.
Definition: PCHit.h:109
void caldp::PCHit::SetPE ( float  aPE)
inline

Set PE value.

Definition at line 77 of file PCHit.h.

References pe.

Referenced by calib::PCHitsList::CellHitToPCHit().

77 { pe = aPE; };
float pe
uncalibrated PEs
Definition: PCHit.h:108
void caldp::PCHit::SetPixel ( int  aPixel)
inline

Set pixel value.

Definition at line 73 of file PCHit.h.

References pixel.

Referenced by calib::PCHitsList::CellHitToPCHit().

73 { pixel = aPixel; };
int pixel
number pixel on apd
Definition: PCHit.h:106
void caldp::PCHit::SetPlane ( int  aPlane)
inline

Set plane value.

Definition at line 63 of file PCHit.h.

References plane.

Referenced by calib::PCHitsList::CellHitToPCHit().

63 { plane = aPlane; };
int plane
plane number
Definition: PCHit.h:101
void caldp::PCHit::SetPoissonLambda ( float  aLambda)
inline

Set number of simulated photons at readout before fluctuations.

Definition at line 99 of file PCHit.h.

References poissonLambda.

Referenced by calib::PCHitsList::CellHitToPCHit().

99 { poissonLambda = aLambda; }
float poissonLambda
Number of simulated photons at readout in the absence of fluctuations.
Definition: PCHit.h:119
void caldp::PCHit::SetReadDist ( float  aDist)
inline

Set distance to cell readout.

Definition at line 97 of file PCHit.h.

References readDist.

Referenced by calib::PCHitsList::CellHitToPCHit().

97 { readDist = aDist; };
float readDist
distance from hit to readout(including pigtail) (cm)
Definition: PCHit.h:118
void caldp::PCHit::SetTNS ( float  aTNS)
inline

Set hit time (ns)

Definition at line 91 of file PCHit.h.

References tns.

Referenced by calib::PCHitsList::CellHitToPCHit().

91 { tns = aTNS; };
float tns
Time of pchit (ns)
Definition: PCHit.h:115
void caldp::PCHit::SetTrueMeV ( float  aTrueMeV)
inline

Set True energy (MeV) value.

Definition at line 83 of file PCHit.h.

References trueMeV.

Referenced by calib::PCHitsList::CellHitToPCHit().

83 { trueMeV = aTrueMeV; };
float trueMeV
True energy of hit (MC Truth)
Definition: PCHit.h:111
void caldp::PCHit::SetTruePath ( float  aTruePath)
inline

Set True path length value.

Definition at line 87 of file PCHit.h.

References truePath.

Referenced by calib::PCHitsList::CellHitToPCHit().

87 { truePath = aTruePath;};
float truePath
True pathlength through the cell.
Definition: PCHit.h:113
void caldp::PCHit::SetTruePE ( float  aTruePE)
inline

Set True PE value.

Definition at line 85 of file PCHit.h.

References truePE.

Referenced by calib::PCHitsList::CellHitToPCHit().

85 { truePE = aTruePE; };
float truePE
True number of photoelectrons (MC Truth)
Definition: PCHit.h:112
void caldp::PCHit::SetTrueW ( float  aTrueW)
inline

Set True W value.

Definition at line 89 of file PCHit.h.

References trueW.

Referenced by calib::PCHitsList::CellHitToPCHit().

89 { trueW = aTrueW; };
float trueW
True position along cell W (W)
Definition: PCHit.h:114
void caldp::PCHit::SetView ( geo::View_t  aView)
inline

Set view value.

Definition at line 75 of file PCHit.h.

References view.

Referenced by calib::PCHitsList::CellHitToPCHit().

75 { view = aView; };
geo::View_t view
hit view
Definition: PCHit.h:107
void caldp::PCHit::SetW ( float  aW)
inline

Set W value.

Definition at line 81 of file PCHit.h.

References w.

Referenced by calib::PCHitsList::CellHitToPCHit().

81 { w = aW; };
float w
Unmeasured coordinate of hit.
Definition: PCHit.h:110
float caldp::PCHit::TNS ( ) const
inline
float caldp::PCHit::TrueMeV ( ) const
inline

Return True energy (MeV) value.

Definition at line 44 of file PCHit.h.

References trueMeV.

Referenced by calib::ThresholdAna::analyze(), and calib::CalibAna::FillWithPCHit().

44 {return trueMeV; };
float trueMeV
True energy of hit (MC Truth)
Definition: PCHit.h:111
float caldp::PCHit::TruePath ( ) const
inline

Return True Pathlength value.

Definition at line 48 of file PCHit.h.

References truePath.

Referenced by calib::CalibAna::FillWithPCHit().

48 {return truePath; };
float truePath
True pathlength through the cell.
Definition: PCHit.h:113
float caldp::PCHit::TruePE ( ) const
inline

Return True PE value.

Definition at line 46 of file PCHit.h.

References truePE.

Referenced by calib::CalibAna::FillWithPCHit().

46 {return truePE; };
float truePE
True number of photoelectrons (MC Truth)
Definition: PCHit.h:112
float caldp::PCHit::TrueW ( ) const
inline

Return True W value.

Definition at line 50 of file PCHit.h.

References trueW.

Referenced by calib::CalibAna::FillWithPCHit().

50 {return trueW; };
float trueW
True position along cell W (W)
Definition: PCHit.h:114
geo::View_t caldp::PCHit::View ( ) const
inline
float caldp::PCHit::W ( ) const
inline

Member Data Documentation

int caldp::PCHit::apd
protected

number of apd on dcm

Definition at line 105 of file PCHit.h.

Referenced by APD(), and SetAPD().

int caldp::PCHit::cell
protected

cell number

Definition at line 102 of file PCHit.h.

Referenced by Cell(), and SetCell().

int caldp::PCHit::dcm
protected

number of dcm on diblock

Definition at line 104 of file PCHit.h.

Referenced by DCM(), and SetDCM().

int caldp::PCHit::diblock
protected

diblock number

Definition at line 103 of file PCHit.h.

Referenced by Diblock(), and SetDiblock().

float caldp::PCHit::flightLen
protected

path length from the start of track (cm)

Definition at line 117 of file PCHit.h.

Referenced by FlightLen(), and SetFlightLen().

bool caldp::PCHit::goodTime
protected

True if the time fit for the hit was good.

Definition at line 116 of file PCHit.h.

Referenced by GoodTime(), and SetGoodTime().

float caldp::PCHit::path
protected
float caldp::PCHit::pe
protected

uncalibrated PEs

Definition at line 108 of file PCHit.h.

Referenced by PE(), and SetPE().

int caldp::PCHit::pixel
protected

number pixel on apd

Definition at line 106 of file PCHit.h.

Referenced by Pixel(), and SetPixel().

int caldp::PCHit::plane
protected

plane number

Definition at line 101 of file PCHit.h.

Referenced by Plane(), and SetPlane().

float caldp::PCHit::poissonLambda
protected

Number of simulated photons at readout in the absence of fluctuations.

Definition at line 119 of file PCHit.h.

Referenced by PoissonLambda(), and SetPoissonLambda().

float caldp::PCHit::readDist
protected

distance from hit to readout(including pigtail) (cm)

Definition at line 118 of file PCHit.h.

Referenced by ReadDist(), and SetReadDist().

float caldp::PCHit::tns
protected

Time of pchit (ns)

Definition at line 115 of file PCHit.h.

Referenced by SetTNS(), and TNS().

float caldp::PCHit::trueMeV
protected

True energy of hit (MC Truth)

Definition at line 111 of file PCHit.h.

Referenced by SetTrueMeV(), and TrueMeV().

float caldp::PCHit::truePath
protected

True pathlength through the cell.

Definition at line 113 of file PCHit.h.

Referenced by SetTruePath(), and TruePath().

float caldp::PCHit::truePE
protected

True number of photoelectrons (MC Truth)

Definition at line 112 of file PCHit.h.

Referenced by SetTruePE(), and TruePE().

float caldp::PCHit::trueW
protected

True position along cell W (W)

Definition at line 114 of file PCHit.h.

Referenced by SetTrueW(), and TrueW().

geo::View_t caldp::PCHit::view
protected

hit view

Definition at line 107 of file PCHit.h.

Referenced by SetView(), and View().

float caldp::PCHit::w
protected

Unmeasured coordinate of hit.

Definition at line 110 of file PCHit.h.

Referenced by SetW(), and W().


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