#include <LASGlobalData.h>
Public Types | |
enum | Beam { BEAM0, BEAM1, BEAM2, BEAM3, BEAM4, BEAM5, BEAM6, BEAM7 } |
enum | Subdetector { TECPLUS, TECMINUS, TIB, TOB } |
enum | TecDisk { DISK1, DISK2, DISK3, DISK4, DISK5, DISK6, DISK7, DISK8, DISK9 } |
enum | TecRing { RING4, RING6 } |
enum | TibTobPosition { MINUS3, MINUS2, MINUS1, PLUS1, PLUS2, PLUS3 } |
Public Member Functions | |
T & | GetTEC2TECEntry (int subdetector, int beam, int tecDisk) |
T & | GetTECEntry (int subdetector, int tecRing, int beam, int tecDisk) |
T & | GetTIBTOBEntry (int subdetector, int beam, int tibTobPosition) |
LASGlobalData () | |
LASGlobalData (const T &) | |
void | SetTEC2TECEntry (int subdetector, int beam, int tecDisk, T) |
void | SetTECEntry (int subdetector, int tecRing, int beam, int tecDisk, T) |
void | SetTIBTOBEntry (int subdetector, int beam, int tibTobPosition, T) |
Private Member Functions | |
ClassDef (LASGlobalData, 2) | |
void | Init (const T &in=T()) |
Private Attributes | |
std::vector< std::vector< T > > | tecMinusATData |
std::vector< std::vector< std::vector< T > > > | tecMinusData |
std::vector< std::vector< T > > | tecPlusATData |
std::vector< std::vector< std::vector< T > > > | tecPlusData |
std::vector< std::vector< T > > | tibData |
std::vector< std::vector< T > > | tobData |
Container class for storing and easy access to global LAS data
There is one entry of type T for each LAS module, e.g. beam profiles, position, name, ... All identifiers (beam,subdetector,position,...) start with index 0. Note that some ring 4 TEC modules are hit by either TEC internal as well as by AT beams and are therefore considered twice in the container (once in tec<X>Data and once in tec<X>ATData). Do not instantiate this class with bool.
Short LAS geometry reminder:
Definition at line 31 of file LASGlobalData.h.
enum LASGlobalData::Beam |
enum LASGlobalData::Subdetector |
enum LASGlobalData::TecDisk |
enum LASGlobalData::TecRing |
enum LASGlobalData::TibTobPosition |
LASGlobalData< T >::LASGlobalData | ( | ) |
LASGlobalData< T >::LASGlobalData | ( | const T & | in | ) |
Definition at line 75 of file LASGlobalData.h.
|
private |
T & LASGlobalData< T >::GetTEC2TECEntry | ( | int | theDetector, |
int | theBeam, | ||
int | theDisk | ||
) |
get a tec AT entry (ring 4) from the container according to subdetector, beam and disk number
Definition at line 129 of file LASGlobalData.h.
Referenced by LaserAlignment::ApplyATMaskingCorrections(), LaserAlignment::beginJob(), LASAlignmentTubeAlgorithm::CalculateParameters(), RawDataConverter::ClearData(), LaserAlignment::DumpPosFileSet(), LASGeometryUpdater::EndcapUpdate(), LaserAlignment::endRunProduce(), fcn(), LaserAlignment::fillDataProfiles(), LaserAlignmentT0ProducerDQM::FillFromProcessedDigis(), LaserAlignmentT0ProducerDQM::FillFromRawDigis(), LaserAlignment::fillPedestalProfiles(), RawDataConverter::GetDigis(), LASAlignmentTubeAlgorithm::GetTEC2TECAlignmentParameterCorrection(), LaserAlignment::produce(), LASAlignmentTubeAlgorithm::ReadMisalignmentFromFile(), LASBarrelAlgorithm::ReadMisalignmentFromFile(), and LaserAlignment::testRoutine().
T & LASGlobalData< T >::GetTECEntry | ( | int | theDetector, |
int | theRing, | ||
int | theBeam, | ||
int | theDisk | ||
) |
get a tec entry from the container according to subdetector, ring, beam and disk number
Definition at line 84 of file LASGlobalData.h.
Referenced by LASGeometryUpdater::ApplyBeamKinkCorrections(), LaserAlignment::ApplyEndcapMaskingCorrections(), LaserAlignment::beginJob(), LASEndcapAlgorithm::CalculateParameters(), RawDataConverter::ClearData(), LaserAlignment::DumpHitmaps(), LaserAlignment::DumpPosFileSet(), LaserAlignment::endRunProduce(), LaserAlignment::fillDataProfiles(), LaserAlignmentT0ProducerDQM::FillFromProcessedDigis(), LaserAlignmentT0ProducerDQM::FillFromRawDigis(), LaserAlignment::fillPedestalProfiles(), LASEndcapAlgorithm::GetAlignmentParameterCorrection(), RawDataConverter::GetDigis(), LaserAlignment::isTECBeam(), LaserAlignment::produce(), LASAlignmentTubeAlgorithm::ReadMisalignmentFromFile(), LASBarrelAlgorithm::ReadMisalignmentFromFile(), and LaserAlignment::testRoutine().
T & LASGlobalData< T >::GetTIBTOBEntry | ( | int | theDetector, |
int | theBeam, | ||
int | thePosition | ||
) |
get a tib/tob entry from the container according to subdetector, beam and position (z) number
Definition at line 107 of file LASGlobalData.h.
Referenced by LaserAlignment::ApplyATMaskingCorrections(), LaserAlignment::beginJob(), LASAlignmentTubeAlgorithm::CalculateParameters(), RawDataConverter::ClearData(), LaserAlignment::DumpPosFileSet(), LaserAlignment::endRunProduce(), fcn(), LaserAlignment::fillDataProfiles(), LaserAlignmentT0ProducerDQM::FillFromProcessedDigis(), LaserAlignmentT0ProducerDQM::FillFromRawDigis(), LaserAlignment::fillPedestalProfiles(), RawDataConverter::GetDigis(), LASAlignmentTubeAlgorithm::GetTIBTOBAlignmentParameterCorrection(), LaserAlignment::isATBeam(), LaserAlignment::produce(), LASAlignmentTubeAlgorithm::ReadMisalignmentFromFile(), LASBarrelAlgorithm::ReadMisalignmentFromFile(), and LaserAlignment::testRoutine().
|
private |
Definition at line 249 of file LASGlobalData.h.
void LASGlobalData< T >::SetTEC2TECEntry | ( | int | theDetector, |
int | theBeam, | ||
int | theDisk, | ||
T | theEntry | ||
) |
set a tec AT entry (ring 4) in the container according to subdetector, beam and disk number
Definition at line 195 of file LASGlobalData.h.
Referenced by LaserAlignment::beginJob(), LaserAlignment::CalculateNominalCoordinates(), LaserAlignment::endRunProduce(), RawDataConverter::fillDetectorId(), LaserAlignmentT0ProducerDQM::FillDetectorId(), and LaserAlignment::fillDetectorId().
void LASGlobalData< T >::SetTECEntry | ( | int | theDetector, |
int | theRing, | ||
int | theBeam, | ||
int | theDisk, | ||
T | theEntry | ||
) |
set a tec entry int the container according to subdetector, ring, beam and disk number
Definition at line 150 of file LASGlobalData.h.
Referenced by LaserAlignment::beginJob(), LaserAlignment::CalculateNominalCoordinates(), LaserAlignment::endRunProduce(), RawDataConverter::fillDetectorId(), LaserAlignmentT0ProducerDQM::FillDetectorId(), LaserAlignment::fillDetectorId(), and LaserAlignment::produce().
void LASGlobalData< T >::SetTIBTOBEntry | ( | int | theDetector, |
int | theBeam, | ||
int | thePosition, | ||
T | theEntry | ||
) |
set a tib/tob entry in the container accord subdetector, beam and position (z) number
Definition at line 173 of file LASGlobalData.h.
Referenced by LaserAlignment::beginJob(), LaserAlignment::CalculateNominalCoordinates(), LaserAlignment::endRunProduce(), RawDataConverter::fillDetectorId(), LaserAlignmentT0ProducerDQM::FillDetectorId(), LaserAlignment::fillDetectorId(), and LaserAlignment::produce().
|
private |
Definition at line 55 of file LASGlobalData.h.
|
private |
Definition at line 53 of file LASGlobalData.h.
|
private |
Definition at line 54 of file LASGlobalData.h.
|
private |
Definition at line 52 of file LASGlobalData.h.
|
private |
Definition at line 56 of file LASGlobalData.h.
|
private |
Definition at line 57 of file LASGlobalData.h.