AliRoot Core  edcc906 (edcc906)
AliTPCROC Class Reference

Geometry class for a single ROC. More...

#include <AliTPCROC.h>

Inheritance diagram for AliTPCROC:

Public Types

enum  coordType {
  kLx =0, kLy =1, kLz =2, kGx =3,
  kGy =4, kGz =5
}
 

Public Member Functions

 AliTPCROC ()
 
 AliTPCROC (const AliTPCROC &roc)
 
AliTPCROCoperator= (const AliTPCROC &roc)
 
void Init ()
 
virtual ~AliTPCROC ()
 
void GetPositionLocal (UInt_t sector, UInt_t row, UInt_t pad, Float_t *pos)
 
void GetPositionGlobal (UInt_t sector, UInt_t row, UInt_t pad, Float_t *pos)
 
UInt_t GetNSectors () const
 
UInt_t GetNRows (UInt_t sector) const
 
UInt_t GetNChannels (UInt_t sector) const
 
UInt_t GetNPads (UInt_t sector, UInt_t row) const
 
const UInt_t * GetRowIndexes (UInt_t sector) const
 
Float_t GetInnerRadiusLow () const
 
Float_t GetInnerRadiusUp () const
 
Float_t GetOuterRadiusLow () const
 
Float_t GetOuterRadiusUp () const
 
Float_t GetInnerFrameSpace () const
 
Float_t GetOuterFrameSpace () const
 
Float_t GetInnerWireMount () const
 
Float_t GetOuterWireMount () const
 
Float_t GetInnerAngle () const
 
Float_t GetOuterAngle () const
 
UInt_t GetNInnerSector () const
 
UInt_t GetNOuterSector () const
 
UInt_t GetNSector () const
 
Float_t GetZLength (Int_t sector) const
 
Float_t GetPadRowRadiiLow (UInt_t irow) const
 
Float_t GetPadRowRadiiUp (UInt_t irow) const
 
Float_t GetPadRowRadii (UInt_t isec, UInt_t irow) const
 

Static Public Member Functions

static AliTPCROCInstance ()
 
static UInt_t GetTPCUniqueID (UInt_t sector, UInt_t row, UInt_t pad)
 
static Float_t GetIdealPosition (UInt_t sector, UInt_t row, UInt_t pad, coordType coord)
 

Protected Member Functions

void SetGeometry ()
 

Protected Attributes

UInt_t fNSectorsAll
 number of sectors More...
 
UInt_t fNSectors [2]
 number of sectors - inner outer More...
 
UInt_t fNRows [2]
 number of row - inner outer More...
 
UInt_t fNChannels [2]
 total number of pads - inner sector - outer sector More...
 
UInt_t * fNPads [2]
 number of pads in row - inner - outer More...
 
UInt_t * fRowPosIndex [2]
 index array - inner - outer More...
 
Float_t fInnerRadiusLow
 lower radius of inner sector-IP More...
 
Float_t fInnerRadiusUp
 upper radius of inner sector-IP More...
 
Float_t fOuterRadiusUp
 upper radius of outer sector-IP More...
 
Float_t fOuterRadiusLow
 lower radius of outer sector-IP More...
 
Float_t fInnerFrameSpace
 space for inner frame in the phi direction More...
 
Float_t fOuterFrameSpace
 space for outer frame in the phi direction More...
 
Float_t fInnerWireMount
 space for wire mount, inner sector More...
 
Float_t fOuterWireMount
 space for wire mount, outer sector More...
 
Float_t fZLength
 length of the drift region of the TPC More...
 
Float_t fInnerAngle
 angular coverage More...
 
Float_t fOuterAngle
 angular coverage More...
 
UInt_t fNInnerWiresPerPad
 Number of wires per pad. More...
 
Float_t fInnerWWPitch
 pitch between wires in inner sector - calculated More...
 
UInt_t fInnerDummyWire
 number of wires without pad readout More...
 
Float_t fInnerOffWire
 oofset of first wire to the begining of the sector More...
 
Float_t fRInnerFirstWire
 position of the first wire -calculated More...
 
Float_t fRInnerLastWire
 position of the last wire -calculated More...
 
Float_t fLastWireUp1
 position of the last wire in outer1 sector More...
 
UInt_t fNOuter1WiresPerPad
 Number of wires per pad. More...
 
UInt_t fNOuter2WiresPerPad
 Number of wires per pad. More...
 
Float_t fOuterWWPitch
 pitch between wires in outer sector -calculated More...
 
UInt_t fOuterDummyWire
 number of wires without pad readout More...
 
Float_t fOuterOffWire
 oofset of first wire to the begining of the sector More...
 
Float_t fROuterFirstWire
 position of the first wire -calulated More...
 
Float_t fROuterLastWire
 position of the last wire -calculated More...
 
Float_t fInnerPadPitchLength
 Inner pad pitch length. More...
 
Float_t fInnerPadPitchWidth
 Inner pad pitch width. More...
 
Float_t fInnerPadLength
 Inner pad length. More...
 
Float_t fInnerPadWidth
 Inner pad width. More...
 
Float_t fOuter1PadPitchLength
 Outer pad pitch length. More...
 
Float_t fOuter2PadPitchLength
 Outer pad pitch length. More...
 
Float_t fOuterPadPitchWidth
 Outer pad pitch width. More...
 
Float_t fOuter1PadLength
 Outer pad length. More...
 
Float_t fOuter2PadLength
 Outer pad length. More...
 
Float_t fOuterPadWidth
 Outer pad width. More...
 
UInt_t fNRowLow
 number of pad rows per low sector -set More...
 
UInt_t fNRowUp1
 number of short pad rows per sector up -set More...
 
UInt_t fNRowUp2
 number of long pad rows per sector up -set More...
 
UInt_t fNRowUp
 number of pad rows per sector up -calculated More...
 
UInt_t fNtRows
 total number of rows in TPC -calculated More...
 
Float_t fPadRowLow [100]
 Lower sector, pad row radii -calculated. More...
 
Float_t fPadRowUp [100]
 Upper sector, pad row radii -calculated. More...
 
UInt_t fNPadsLow [100]
 Lower sector, number of pads per row -calculated. More...
 
UInt_t fNPadsUp [100]
 Upper sector, number of pads per row -calculated. More...
 
Float_t fYInner [100]
 Inner sector, wire-length. More...
 
Float_t fYOuter [100]
 Outer sector, wire-length. More...
 

Static Protected Attributes

static AliTPCROCfgInstance = 0
 

Detailed Description

Geometry class for a single ROC.

TPC geometry class for ROC.

Definition at line 14 of file AliTPCROC.h.

Member Enumeration Documentation

Enumerator
kLx 
kLy 
kLz 
kGx 
kGy 
kGz 

Definition at line 16 of file AliTPCROC.h.

Constructor & Destructor Documentation

AliTPCROC::AliTPCROC ( )

Default constructor

Definition at line 239 of file AliTPCROC.cxx.

AliTPCROC::AliTPCROC ( const AliTPCROC roc)

AliTPCROC copy constructor

Definition at line 305 of file AliTPCROC.cxx.

AliTPCROC::~AliTPCROC ( )
virtual

AliTPCROC destructor

Definition at line 399 of file AliTPCROC.cxx.

Member Function Documentation

Float_t AliTPCROC::GetIdealPosition ( UInt_t  sector,
UInt_t  row,
UInt_t  pad,
coordType  coord 
)
static

Definition at line 444 of file AliTPCROC.cxx.

Referenced by GetTPCUniqueID().

Float_t AliTPCROC::GetInnerAngle ( ) const
inline

Definition at line 45 of file AliTPCROC.h.

Float_t AliTPCROC::GetInnerFrameSpace ( ) const
inline

Definition at line 41 of file AliTPCROC.h.

Float_t AliTPCROC::GetInnerRadiusLow ( ) const
inline

Definition at line 37 of file AliTPCROC.h.

Float_t AliTPCROC::GetInnerRadiusUp ( ) const
inline

Definition at line 38 of file AliTPCROC.h.

Float_t AliTPCROC::GetInnerWireMount ( ) const
inline

Definition at line 43 of file AliTPCROC.h.

UInt_t AliTPCROC::GetNInnerSector ( ) const
inline

Definition at line 47 of file AliTPCROC.h.

Referenced by AliTPCcalibDButil::ProcessNoiseData(), and AliTPCCalibRaw::Update().

UInt_t AliTPCROC::GetNOuterSector ( ) const
inline

Definition at line 48 of file AliTPCROC.h.

UInt_t AliTPCROC::GetNSector ( ) const
inline

Definition at line 49 of file AliTPCROC.h.

Referenced by AliTPCdataQA::MakeArrays().

Float_t AliTPCROC::GetOuterAngle ( ) const
inline

Definition at line 46 of file AliTPCROC.h.

Float_t AliTPCROC::GetOuterFrameSpace ( ) const
inline

Definition at line 42 of file AliTPCROC.h.

Float_t AliTPCROC::GetOuterRadiusLow ( ) const
inline

Definition at line 39 of file AliTPCROC.h.

Float_t AliTPCROC::GetOuterRadiusUp ( ) const
inline

Definition at line 40 of file AliTPCROC.h.

Float_t AliTPCROC::GetOuterWireMount ( ) const
inline

Definition at line 44 of file AliTPCROC.h.

Float_t AliTPCROC::GetPadRowRadiiLow ( UInt_t  irow) const
inline

Definition at line 54 of file AliTPCROC.h.

Referenced by GetPadRowRadii().

Float_t AliTPCROC::GetPadRowRadiiUp ( UInt_t  irow) const
inline
static UInt_t AliTPCROC::GetTPCUniqueID ( UInt_t  sector,
UInt_t  row,
UInt_t  pad 
)
inlinestatic

Definition at line 59 of file AliTPCROC.h.

Float_t AliTPCROC::GetZLength ( Int_t  sector) const
inline
void AliTPCROC::Init ( )

initialize static variables

Definition at line 49 of file AliTPCROC.cxx.

AliTPCROC * AliTPCROC::Instance ( )
static

Singleton implementation Returns an instance of this class, it is created if neccessary

Definition at line 34 of file AliTPCROC.cxx.

Referenced by AliTPCCalROC::AliTPCCalROC(), AliTPCPointCorrection::AliTPCPointCorrection(), AliTPCPreprocessor::AliTPCPreprocessor(), AliTPCPointCorrection::CorrectionOutR0(), AliTPCPointCorrection::CorrectionOutZ0(), AliTPCcalibDButil::CreateCEOutlyerMap(), AliTPCCalROC::CreateGlobalFitCalROC(), CreatePadObject(), AliTPCCalPad::EvalFormulaArray(), FitAlignCombined(), AliTPCCorrection::FitDistortedTrack(), FitdY(), AliTPCCorrectionDrift::GetCorrection(), AliTPCExBEffective::GetCorrection(), AliTPCExBConical::GetCorrection(), AliTPCROCVoltError3D::GetCorrection(), AliTPCCalibGlobalMisalignment::GetCorrection(), AliTPCPointCorrection::GetEdgeQ0(), GetIdealPosition(), AliTPCcalibDB::GetMaskedChannelsFromCorrectionMaps(), AliTPCcalibDButil::GetMeanAltro(), AliTPCCalROC::GetNeighbourhoodValue(), AliTPCCalROC::GetNPads(), AliTPCmapper::GetNpads(), AliTPCParam::GetNPadsPerSegment(), AliTPCROCVoltError3D::GetROCVoltOffset(), AliTPCCalROC::GlobalFit(), AliTPCmapper::Init(), AliTPCcalibDB::InitDeadMap(), AliTPCCorrection::InitLookUpfulcrums(), LaserCalib(), AliTPCTransform::Local2RotatedGlobal(), MakeAliases(), MakeAlign(), MakeAlignCorrection(), AliTPCdataQA::MakeArrays(), AliTPCCalPad::MakeCalPadFromHistoRPHI(), AliTPCCalPad::MakeHisto2D(), AliTPCCalibViewer::MakeTree(), AliTPCcalibDB::MakeTree(), AliTPCCalibViewer::MakeTreeWithObjects(), AliTPCCalROC::operator=(), AliTPCCalibTCF::PlotOccupSummary(), AliTPCCalibTCF::PlotOccupSummary2Dhist(), AliTPCcalibDButil::ProcessCEdata(), AliTPCcalibDButil::ProcessNoiseData(), RegisterAliTPCROCVoltError3D(), AliTPCPointCorrection::RPhiCOGCorrection(), AliTPCCalibTCF::TestTCFonRawFile(), AliTPCParamSR::Update(), AliTPCLaserTrack::UpdatePoints(), and AliTPCCalROC::~AliTPCCalROC().

AliTPCROC & AliTPCROC::operator= ( const AliTPCROC roc)

assignment operator - dummy

Definition at line 389 of file AliTPCROC.cxx.

void AliTPCROC::SetGeometry ( )
protected

set ROC geometry parameters

Definition at line 98 of file AliTPCROC.cxx.

Referenced by GetTPCUniqueID(), and Init().

Member Data Documentation

AliTPCROC * AliTPCROC::fgInstance = 0
staticprotected

! Instance of this class (singleton implementation)

Definition at line 132 of file AliTPCROC.h.

Referenced by ~AliTPCROC().

Float_t AliTPCROC::fInnerAngle
protected

angular coverage

Definition at line 86 of file AliTPCROC.h.

Referenced by GetInnerAngle(), and SetGeometry().

UInt_t AliTPCROC::fInnerDummyWire
protected

number of wires without pad readout

Definition at line 94 of file AliTPCROC.h.

Float_t AliTPCROC::fInnerFrameSpace
protected

space for inner frame in the phi direction

Definition at line 81 of file AliTPCROC.h.

Referenced by GetInnerFrameSpace(), and SetGeometry().

Float_t AliTPCROC::fInnerOffWire
protected

oofset of first wire to the begining of the sector

Definition at line 95 of file AliTPCROC.h.

Float_t AliTPCROC::fInnerPadLength
protected

Inner pad length.

Definition at line 111 of file AliTPCROC.h.

Referenced by SetGeometry().

Float_t AliTPCROC::fInnerPadPitchLength
protected

Inner pad pitch length.

Definition at line 109 of file AliTPCROC.h.

Referenced by SetGeometry().

Float_t AliTPCROC::fInnerPadPitchWidth
protected

Inner pad pitch width.

Definition at line 110 of file AliTPCROC.h.

Referenced by GetPositionLocal(), and SetGeometry().

Float_t AliTPCROC::fInnerPadWidth
protected

Inner pad width.

Definition at line 112 of file AliTPCROC.h.

Referenced by SetGeometry().

Float_t AliTPCROC::fInnerRadiusLow
protected

lower radius of inner sector-IP

Definition at line 77 of file AliTPCROC.h.

Referenced by GetInnerRadiusLow(), and SetGeometry().

Float_t AliTPCROC::fInnerRadiusUp
protected

upper radius of inner sector-IP

Definition at line 78 of file AliTPCROC.h.

Referenced by GetInnerRadiusUp(), and SetGeometry().

Float_t AliTPCROC::fInnerWireMount
protected

space for wire mount, inner sector

Definition at line 83 of file AliTPCROC.h.

Referenced by GetInnerWireMount(), and SetGeometry().

Float_t AliTPCROC::fInnerWWPitch
protected

pitch between wires in inner sector - calculated

Definition at line 93 of file AliTPCROC.h.

Float_t AliTPCROC::fLastWireUp1
protected

position of the last wire in outer1 sector

Definition at line 98 of file AliTPCROC.h.

Referenced by SetGeometry().

UInt_t AliTPCROC::fNChannels[2]
protected

total number of pads - inner sector - outer sector

Definition at line 69 of file AliTPCROC.h.

Referenced by AliTPCROC(), GetNChannels(), and Init().

UInt_t AliTPCROC::fNInnerWiresPerPad
protected

Number of wires per pad.

Definition at line 92 of file AliTPCROC.h.

UInt_t AliTPCROC::fNOuter1WiresPerPad
protected

Number of wires per pad.

Definition at line 99 of file AliTPCROC.h.

UInt_t AliTPCROC::fNOuter2WiresPerPad
protected

Number of wires per pad.

Definition at line 100 of file AliTPCROC.h.

UInt_t* AliTPCROC::fNPads[2]
protected

number of pads in row - inner - outer

Definition at line 70 of file AliTPCROC.h.

Referenced by AliTPCROC(), GetNPads(), GetPositionLocal(), Init(), and ~AliTPCROC().

UInt_t AliTPCROC::fNPadsLow[100]
protected

Lower sector, number of pads per row -calculated.

Definition at line 127 of file AliTPCROC.h.

Referenced by AliTPCROC(), and SetGeometry().

UInt_t AliTPCROC::fNPadsUp[100]
protected

Upper sector, number of pads per row -calculated.

Definition at line 128 of file AliTPCROC.h.

Referenced by AliTPCROC(), and SetGeometry().

UInt_t AliTPCROC::fNRowLow
protected

number of pad rows per low sector -set

Definition at line 120 of file AliTPCROC.h.

Referenced by GetPadRowRadiiLow(), and SetGeometry().

UInt_t AliTPCROC::fNRows[2]
protected

number of row - inner outer

Definition at line 68 of file AliTPCROC.h.

Referenced by AliTPCROC(), GetNRows(), and Init().

UInt_t AliTPCROC::fNRowUp
protected

number of pad rows per sector up -calculated

Definition at line 123 of file AliTPCROC.h.

Referenced by GetPadRowRadiiUp(), and SetGeometry().

UInt_t AliTPCROC::fNRowUp1
protected

number of short pad rows per sector up -set

Definition at line 121 of file AliTPCROC.h.

Referenced by SetGeometry().

UInt_t AliTPCROC::fNRowUp2
protected

number of long pad rows per sector up -set

Definition at line 122 of file AliTPCROC.h.

Referenced by SetGeometry().

UInt_t AliTPCROC::fNSectors[2]
protected

number of sectors - inner outer

Definition at line 67 of file AliTPCROC.h.

Referenced by AliTPCROC(), GetNChannels(), GetNInnerSector(), GetNOuterSector(), GetNPads(), GetNRows(), GetPadRowRadii(), GetRowIndexes(), and Init().

UInt_t AliTPCROC::fNSectorsAll
protected

number of sectors

Definition at line 66 of file AliTPCROC.h.

Referenced by AliTPCROC(), GetNSector(), GetNSectors(), and Init().

UInt_t AliTPCROC::fNtRows
protected

total number of rows in TPC -calculated

Definition at line 124 of file AliTPCROC.h.

Float_t AliTPCROC::fOuter1PadLength
protected

Outer pad length.

Definition at line 116 of file AliTPCROC.h.

Referenced by SetGeometry().

Float_t AliTPCROC::fOuter1PadPitchLength
protected

Outer pad pitch length.

Definition at line 113 of file AliTPCROC.h.

Referenced by SetGeometry().

Float_t AliTPCROC::fOuter2PadLength
protected

Outer pad length.

Definition at line 117 of file AliTPCROC.h.

Referenced by SetGeometry().

Float_t AliTPCROC::fOuter2PadPitchLength
protected

Outer pad pitch length.

Definition at line 114 of file AliTPCROC.h.

Referenced by SetGeometry().

Float_t AliTPCROC::fOuterAngle
protected

angular coverage

Definition at line 87 of file AliTPCROC.h.

Referenced by GetOuterAngle(), and SetGeometry().

UInt_t AliTPCROC::fOuterDummyWire
protected

number of wires without pad readout

Definition at line 102 of file AliTPCROC.h.

Float_t AliTPCROC::fOuterFrameSpace
protected

space for outer frame in the phi direction

Definition at line 82 of file AliTPCROC.h.

Referenced by GetOuterFrameSpace(), and SetGeometry().

Float_t AliTPCROC::fOuterOffWire
protected

oofset of first wire to the begining of the sector

Definition at line 103 of file AliTPCROC.h.

Float_t AliTPCROC::fOuterPadPitchWidth
protected

Outer pad pitch width.

Definition at line 115 of file AliTPCROC.h.

Referenced by GetPositionLocal(), and SetGeometry().

Float_t AliTPCROC::fOuterPadWidth
protected

Outer pad width.

Definition at line 118 of file AliTPCROC.h.

Referenced by SetGeometry().

Float_t AliTPCROC::fOuterRadiusLow
protected

lower radius of outer sector-IP

Definition at line 80 of file AliTPCROC.h.

Referenced by GetOuterRadiusLow(), and SetGeometry().

Float_t AliTPCROC::fOuterRadiusUp
protected

upper radius of outer sector-IP

Definition at line 79 of file AliTPCROC.h.

Referenced by GetOuterRadiusUp(), and SetGeometry().

Float_t AliTPCROC::fOuterWireMount
protected

space for wire mount, outer sector

Definition at line 84 of file AliTPCROC.h.

Referenced by GetOuterWireMount(), and SetGeometry().

Float_t AliTPCROC::fOuterWWPitch
protected

pitch between wires in outer sector -calculated

Definition at line 101 of file AliTPCROC.h.

Float_t AliTPCROC::fPadRowLow[100]
protected

Lower sector, pad row radii -calculated.

Definition at line 125 of file AliTPCROC.h.

Referenced by AliTPCROC(), GetPadRowRadiiLow(), GetPositionLocal(), and SetGeometry().

Float_t AliTPCROC::fPadRowUp[100]
protected

Upper sector, pad row radii -calculated.

Definition at line 126 of file AliTPCROC.h.

Referenced by AliTPCROC(), GetPadRowRadiiUp(), GetPositionLocal(), and SetGeometry().

Float_t AliTPCROC::fRInnerFirstWire
protected

position of the first wire -calculated

Definition at line 96 of file AliTPCROC.h.

Float_t AliTPCROC::fRInnerLastWire
protected

position of the last wire -calculated

Definition at line 97 of file AliTPCROC.h.

Float_t AliTPCROC::fROuterFirstWire
protected

position of the first wire -calulated

Definition at line 104 of file AliTPCROC.h.

Float_t AliTPCROC::fROuterLastWire
protected

position of the last wire -calculated

Definition at line 105 of file AliTPCROC.h.

UInt_t* AliTPCROC::fRowPosIndex[2]
protected

index array - inner - outer

Definition at line 71 of file AliTPCROC.h.

Referenced by AliTPCROC(), GetRowIndexes(), Init(), and ~AliTPCROC().

Float_t AliTPCROC::fYInner[100]
protected

Inner sector, wire-length.

Definition at line 129 of file AliTPCROC.h.

Referenced by AliTPCROC(), and SetGeometry().

Float_t AliTPCROC::fYOuter[100]
protected

Outer sector, wire-length.

Definition at line 130 of file AliTPCROC.h.

Referenced by AliTPCROC(), and SetGeometry().

Float_t AliTPCROC::fZLength
protected

length of the drift region of the TPC

Definition at line 85 of file AliTPCROC.h.

Referenced by GetPositionLocal(), GetZLength(), operator=(), and SetGeometry().


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