#include <ChannelMapStandardAlg.h>
Public Member Functions | |
ChannelMapStandardAlg (fhicl::ParameterSet const &p) | |
void | Initialize (GeometryCore &geo) override |
void | Uninitialize () override |
unsigned int | Nchannels () const override |
unsigned int | NearestChannel (float const *xyz) const override |
void | NearestChannelInfo (float const *xyz, gar::geo::ChanWithNeighbors &cwn) const override |
void | ChannelToPosition (unsigned int chan, float *xyz) const override |
unsigned int | GapChannelNumber () const override |
float | GetIROCInnerRadius () const override |
float | GetIROCOuterRadius () const override |
float | GetOROCInnerRadius () const override |
float | GetOROCOuterRadius () const override |
float | GetOROCPadHeightChangeRadius () const override |
Public Member Functions inherited from gar::geo::seg::ChannelMapAlg | |
virtual | ~ChannelMapAlg ()=default |
Private Member Functions | |
void | NearestChannelWithROCType (float const *xyz, gar::geo::ROCType &roctype, unsigned int &nearestchannel) const |
void | CheckPositions () |
Method to check consistency of NearestChannel and ChannelToPosition. More... | |
Private Attributes | |
const gar::geo::GeometryCore * | fGeo |
AliTPCROC * | fROC |
TPC Readout geometry from ALICE software stack. More... | |
UInt_t | fNumSectors |
Number of sectors – should be 18. More... | |
float | fSectorOffsetAngleDeg |
Angle to rotate to the middle of the first sector – should be 10 degrees. More... | |
float | fPhiSectorWidth |
width of a sector in phi (in radians) More... | |
UInt_t | fNumPadRowsIROC |
Number of pad rows in the inner ROC – 64 (TDR) or 63 (ALICE code) More... | |
UInt_t | fNumPadRowsOROCI |
Number of small-pitch pad rows in the outer ROC. More... | |
UInt_t | fNumPadRowsOROCO |
Number of large-pitch pad rows in the outer ROC. More... | |
float | fPadHeightIROC |
Pad height in the inner ROC (cm) More... | |
float | fPadWidthIROC |
Pad width in the inner ROC (cm) More... | |
float | fPadHeightOROCI |
Pad height in the outer ROC inner part (cm) More... | |
float | fPadHeightOROCO |
Pad height in the outer ROC outer part (cm) More... | |
float | fPadWidthOROC |
Pad width in the OROC (assumed same for both sections) More... | |
float | fIROCInnerRadius |
Radius from the beam in cm along the midline of the sector to the inner IROC row inner edge. More... | |
float | fIROCOuterRadius |
Radius from the beam in cm along the midline of the sector to the outer IROC row outer edge. More... | |
float | fOROCInnerRadius |
Radius from the beam in cm along the midline of the sector to the inner OROC row inner edge. More... | |
float | fOROCPadHeightChangeRadius |
Radius from the beam in cm along the midline of the sector to the OROC pad height change. More... | |
float | fOROCOuterRadius |
Radius from the beam in cm along the midline of the sector to the outer OROC row outer edge. More... | |
float | fXPlaneLoc |
Location of pixel plane in X (only positive. Assume other one is at -X) More... | |
std::vector< UInt_t > | fNumPadsPerRow |
indexed by "global" pad row number for a single sector More... | |
std::vector< UInt_t > | fFirstPadInRow |
indexed by "global" pad row number for a single sector More... | |
std::vector< XYZPos > | fPixelCenters |
pixel centers (in cm) – for the entire detector More... | |
UInt_t | fNumChansPerSector |
Number of TPC pad channels per sector. More... | |
std::vector< UInt_t > | fCenterNumPadsPerRow |
pads per row for the center hole filler More... | |
std::vector< UInt_t > | fCenterFirstPadInRow |
first pad in row for center hole filler More... | |
float | fCenterPadWidth |
Width of square pads in center hole filler. More... | |
UInt_t | fNumChansCenter |
Number of channels in center hole filler. More... | |
XYZPos | fTPCCenter |
Location of the center of the TPC. More... | |
UInt_t | fGapChannelNumber |
channel number GetNearestChannel returns when xyz is in a gap More... | |
Definition at line 43 of file ChannelMapStandardAlg.h.
gar::geo::seg::ChannelMapStandardAlg::ChannelMapStandardAlg | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 18 of file ChannelMapStandardAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 555 of file ChannelMapStandardAlg.cxx.
|
private |
Method to check consistency of NearestChannel and ChannelToPosition.
Definition at line 180 of file ChannelMapStandardAlg.cxx.
|
inlineoverridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 55 of file ChannelMapStandardAlg.h.
|
inlineoverridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 56 of file ChannelMapStandardAlg.h.
|
inlineoverridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 57 of file ChannelMapStandardAlg.h.
|
inlineoverridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 58 of file ChannelMapStandardAlg.h.
|
inlineoverridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 59 of file ChannelMapStandardAlg.h.
|
inlineoverridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 60 of file ChannelMapStandardAlg.h.
|
overridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 24 of file ChannelMapStandardAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 226 of file ChannelMapStandardAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 234 of file ChannelMapStandardAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 408 of file ChannelMapStandardAlg.cxx.
|
private |
Definition at line 243 of file ChannelMapStandardAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::ChannelMapAlg.
Definition at line 175 of file ChannelMapStandardAlg.cxx.
|
private |
first pad in row for center hole filler
Definition at line 100 of file ChannelMapStandardAlg.h.
|
private |
pads per row for the center hole filler
Definition at line 99 of file ChannelMapStandardAlg.h.
|
private |
Width of square pads in center hole filler.
Definition at line 102 of file ChannelMapStandardAlg.h.
|
private |
indexed by "global" pad row number for a single sector
Definition at line 91 of file ChannelMapStandardAlg.h.
|
private |
channel number GetNearestChannel returns when xyz is in a gap
Definition at line 109 of file ChannelMapStandardAlg.h.
|
private |
Definition at line 60 of file ChannelMapStandardAlg.h.
|
private |
Radius from the beam in cm along the midline of the sector to the inner IROC row inner edge.
Definition at line 82 of file ChannelMapStandardAlg.h.
|
private |
Radius from the beam in cm along the midline of the sector to the outer IROC row outer edge.
Definition at line 83 of file ChannelMapStandardAlg.h.
|
private |
Number of channels in center hole filler.
Definition at line 103 of file ChannelMapStandardAlg.h.
|
private |
Number of TPC pad channels per sector.
Definition at line 95 of file ChannelMapStandardAlg.h.
|
private |
Number of pad rows in the inner ROC – 64 (TDR) or 63 (ALICE code)
Definition at line 73 of file ChannelMapStandardAlg.h.
|
private |
Number of small-pitch pad rows in the outer ROC.
Definition at line 74 of file ChannelMapStandardAlg.h.
|
private |
Number of large-pitch pad rows in the outer ROC.
Definition at line 75 of file ChannelMapStandardAlg.h.
|
private |
indexed by "global" pad row number for a single sector
Definition at line 90 of file ChannelMapStandardAlg.h.
|
private |
Number of sectors – should be 18.
Definition at line 69 of file ChannelMapStandardAlg.h.
|
private |
Radius from the beam in cm along the midline of the sector to the inner OROC row inner edge.
Definition at line 84 of file ChannelMapStandardAlg.h.
|
private |
Radius from the beam in cm along the midline of the sector to the outer OROC row outer edge.
Definition at line 86 of file ChannelMapStandardAlg.h.
|
private |
Radius from the beam in cm along the midline of the sector to the OROC pad height change.
Definition at line 85 of file ChannelMapStandardAlg.h.
|
private |
Pad height in the inner ROC (cm)
Definition at line 76 of file ChannelMapStandardAlg.h.
|
private |
Pad height in the outer ROC inner part (cm)
Definition at line 78 of file ChannelMapStandardAlg.h.
|
private |
Pad height in the outer ROC outer part (cm)
Definition at line 79 of file ChannelMapStandardAlg.h.
|
private |
Pad width in the inner ROC (cm)
Definition at line 77 of file ChannelMapStandardAlg.h.
|
private |
Pad width in the OROC (assumed same for both sections)
Definition at line 80 of file ChannelMapStandardAlg.h.
|
private |
width of a sector in phi (in radians)
Definition at line 71 of file ChannelMapStandardAlg.h.
|
private |
pixel centers (in cm) – for the entire detector
Definition at line 93 of file ChannelMapStandardAlg.h.
|
private |
TPC Readout geometry from ALICE software stack.
Definition at line 68 of file ChannelMapStandardAlg.h.
|
private |
Angle to rotate to the middle of the first sector – should be 10 degrees.
Definition at line 70 of file ChannelMapStandardAlg.h.
|
private |
Location of the center of the TPC.
Definition at line 107 of file ChannelMapStandardAlg.h.
|
private |
Location of pixel plane in X (only positive. Assume other one is at -X)
Definition at line 88 of file ChannelMapStandardAlg.h.