CGEM BOSS 6.6.5.h
BESIII Offline Software System
|
#include <TofID.h>
Public Types | |
typedef Identifier::size_type | size_type |
typedef Identifier::value_type | value_type |
Public Member Functions | |
TofID () | |
constructor | |
~TofID () | |
destructor | |
int | phi_module_max (const Identifier &id) |
Max/Min values for each field (error returns -999) | |
int | layer_max (const Identifier &id) |
Public Member Functions inherited from BesDetectorID | |
BesDetectorID (void) | |
~BesDetectorID (void) | |
Identifier | mdc (void) const |
Identifier | tof (void) const |
Identifier | emc (void) const |
Identifier | muc (void) const |
Identifier | hlt (void) const |
Identifier | mrpc (void) const |
Identifier | cgem (void) const |
bool | is_mdc (const Identifier &id) const |
bool | is_tof (const Identifier &id) const |
bool | is_emc (const Identifier &id) const |
bool | is_muc (const Identifier &id) const |
bool | is_hlt (const Identifier &id) const |
bool | is_mrpc (const Identifier &id) const |
bool | is_cgem (const Identifier &id) const |
Static Public Member Functions | |
static Identifier | cell_id (int barrel_ec, int layer, int phi_module, int end) |
For a single crystal. | |
static value_type | getIntID (int barrel_ec, int layer, int phi_module, int end) |
static value_type | getLAYER_BARREL_MAX () |
static value_type | getLAYER_ENDCAP_MAX () |
static value_type | getPHI_BARREL_MAX () |
static value_type | getPHI_ENDCAP_MAX () |
static value_type | getBARREL_EC_MAX () |
static value_type | getBARREL_EC_MIN () |
static bool | values_ok (const unsigned int barrel_ec, const unsigned int layer, const unsigned int phi_module, const unsigned int) |
static bool | values_ok_mrpc (const unsigned int partID, const unsigned int scinNum) |
static bool | values_ok_mrpc_mc (const unsigned int partID, const unsigned int scinNum) |
static Identifier | cell_id_mrpc (int partID, int scinNum) |
static Identifier | cell_id_mrpc_mc (int partID, int scinNum) |
static bool | is_mymrpc (const Identifier &id) |
static value_type | getIntID_mrpc (int partID, int scinNum) |
static Identifier | cell_id (int value) |
static bool | is_barrel (const Identifier &id) |
Test for barrel. | |
static bool | is_barrel (const unsigned int barrel_ec) |
static int | barrel_ec (const Identifier &id) |
Values of different levels (failure returns 0) | |
static int | layer (const Identifier &id) |
static int | phi_module (const Identifier &id) |
static int | end (const Identifier &id) |
Additional Inherited Members | |
Protected Member Functions inherited from BesDetectorID | |
int | mdc_field_value () const |
Provide efficient access to individual field values. | |
int | cgem_field_value () const |
int | tof_field_value () const |
int | emc_field_value () const |
int | muc_field_value () const |
int | hlt_field_value () const |
int | mrpc_field_value () const |
int | get_detectorID (const Identifier &id) const |
Static Protected Attributes inherited from BesDetectorID | |
static const unsigned int | MDC_ID = 0x10 |
static const unsigned int | MDC_INDEX = 24 |
static const unsigned int | MDC_MASK = 0xFF000000 |
static const unsigned int | TOF_ID = 0x20 |
static const unsigned int | TOF_INDEX = 24 |
static const unsigned int | TOF_MASK = 0xFF000000 |
static const unsigned int | EMC_ID = 0x30 |
static const unsigned int | EMC_INDEX = 24 |
static const unsigned int | EMC_MASK = 0xFF000000 |
static const unsigned int | MUC_ID = 0x40 |
static const unsigned int | MUC_INDEX = 24 |
static const unsigned int | MUC_MASK = 0xFF000000 |
static const unsigned int | HLT_ID = 0x50 |
static const unsigned int | HLT_INDEX = 24 |
static const unsigned int | HLT_MASK = 0xFF000000 |
static const unsigned int | CGEM_ID = 0x60 |
static const unsigned int | CGEM_INDEX = 24 |
static const unsigned int | CGEM_MASK = 0xFF000000 |
static const unsigned int | MRPC_ID = 0x70 |
static const unsigned int | MRPC_INDEX = 24 |
static const unsigned int | MRPC_MASK = 0xFF000000 |
|
static |
Values of different levels (failure returns 0)
Definition at line 95 of file TofID.cxx.
Referenced by cell_id(), TofShower::energyCalib(), BesTrigL1::execute(), EsTimeAlg::execute(), EventAssemblyAlg::execute(), MrpcDBSRec::execute(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getMRPC_neighbours(), TofShower::getNeighbors(), is_barrel(), TofTrack::match(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), McTestAlg::RetrieveTof(), TofROOTGeo::SetHits(), TofData::setIdentify(), TofRawDataProvider::tofDataMapFull(), TofRawDataProvider::tofDataMapOnlineMode(), and values_ok().
|
static |
For a single crystal.
Definition at line 156 of file TofID.cxx.
Referenced by Adc::calculate(), RawDataTofMcHitCnv::createObj(), TofShower::getNeighbors(), BesRawDataWriter::SaveTofDigits(), and BesMcTruthWriter::SaveTofTruth().
|
static |
|
static |
Definition at line 177 of file TofID.cxx.
Referenced by TofShower::getMRPC_neighbours(), and BesRawDataWriter::SaveTofDigits().
|
static |
Definition at line 189 of file TofID.cxx.
Referenced by RawDataTofMcHitCnv::createObj(), and BesMcTruthWriter::SaveTofTruth().
|
static |
Definition at line 129 of file TofID.cxx.
Referenced by cell_id(), TofShower::energyCalib(), TofCheckDigi::FillCol(), getIntID(), TofShower::getNeighbors(), TofTrack::match(), McTestAlg::RetrieveTof(), TofROOTGeo::SetHits(), TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapOnlineMode().
|
static |
Definition at line 246 of file TofID.cxx.
Referenced by TofBuilder::initialize().
|
static |
Definition at line 251 of file TofID.cxx.
Referenced by TofBuilder::initialize().
|
static |
Definition at line 200 of file TofID.cxx.
Referenced by TofBuilder::initialize(), MrpcDBSTrack::setTofData(), MrpcTrack::setTofData(), TofTrack::setTofData(), and TofRawDataProvider::tofDataMapFull().
|
static |
Definition at line 216 of file TofID.cxx.
Referenced by MrpcDBSTrack::setTofData(), and MrpcTrack::setTofData().
|
static |
Definition at line 227 of file TofID.cxx.
Referenced by TofBuilder::initialize().
|
static |
Definition at line 232 of file TofID.cxx.
Referenced by TofBuilder::initialize().
|
static |
Definition at line 237 of file TofID.cxx.
Referenced by RawDataTofMcHitCnv::createObj(), TofBuilder::initialize(), BesRawDataWriter::SaveTofDigits(), and BesMcTruthWriter::SaveTofTruth().
|
static |
|
static |
Test for barrel.
Definition at line 78 of file TofID.cxx.
Referenced by EmcRecTofDigitCalib::Convert(), RawDataTofMcHitCnv::createObj(), layer_max(), phi_module_max(), BesRawDataWriter::SaveTofDigits(), and BesMcTruthWriter::SaveTofTruth().
|
static |
|
static |
Definition at line 58 of file TofID.cxx.
Referenced by barrel_ec(), Adc::calculate(), end(), TofShower::energyCalib(), EsTimeAlg::execute(), EventAssemblyAlg::execute(), TofShower::findSeed(), TofShower::findShower(), is_barrel(), layer(), and phi_module().
|
static |
Definition at line 109 of file TofID.cxx.
Referenced by cell_id(), EmcRecTofDigitCalib::Convert(), TofShower::energyCalib(), BesTrigL1::execute(), EventAssemblyAlg::execute(), TofEnergyCalib::execute(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getNeighbors(), RecEmcTofHit::IntCellId(), TofTrack::match(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), McTestAlg::RetrieveTof(), TofROOTGeo::SetHits(), TofData::setIdentify(), and values_ok().
int TofID::layer_max | ( | const Identifier & | id | ) |
|
static |
Definition at line 117 of file TofID.cxx.
Referenced by cell_id(), EmcRecTofDigitCalib::Convert(), TofShower::energyCalib(), BesTrigL1::execute(), EsTimeAlg::execute(), EventAssemblyAlg::execute(), MrpcDBSRec::execute(), TofEnergyCalib::execute(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getMRPC_neighbours(), TofShower::getNeighbors(), RecEmcTofHit::IntCellId(), TofTrack::match(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), McTestAlg::RetrieveTof(), TofROOTGeo::SetHits(), TofData::setIdentify(), TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapOnlineMode().
int TofID::phi_module_max | ( | const Identifier & | id | ) |
|
static |
Definition at line 13 of file TofID.cxx.
Referenced by cell_id().
|
static |
Definition at line 39 of file TofID.cxx.
Referenced by cell_id_mrpc().
|
static |
Definition at line 49 of file TofID.cxx.
Referenced by cell_id_mrpc_mc().