BOSS 7.0.6
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 |
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 |
Static Public Member Functions | |
static Identifier | cell_id (int barrel_ec, int layer, int phi_module, int end) |
For a single crystal. | |
static Identifier | cell_id (int value) |
static value_type | getIntID (int barrel_ec, int layer, int phi_module, int end) |
static Identifier | cell_id (int barrel_ec, int endcap, int module, int strip, int end) |
For a single MRPC. | |
static value_type | getIntID (int barrel_ec, int endcap, int module, int strip, 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 end) |
static value_type | getBARREL_EC_MRPC () |
static value_type | getENDCAP_MRPC_MAX () |
static value_type | getMODULE_MRPC_MAX () |
static value_type | getSTRIP_MRPC_MAX () |
static bool | values_ok (const unsigned int barrel_ec, const unsigned int endcap, const unsigned int module, const unsigned int strip, const unsigned int end) |
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) |
static bool | is_scin (const Identifier &id) |
static bool | is_scin (const unsigned int barrel_ec) |
static bool | is_mrpc (const Identifier &id) |
static bool | is_mrpc (const unsigned int barrel_ec) |
static int | endcap (const Identifier &id) |
static int | module (const Identifier &id) |
static int | strip (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 | 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 | 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 61 of file TofID.cxx.
Referenced by cell_id(), TofShower::energyCalib(), EventAssemblyAlg::execute(), BesTrigL1::execute(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getNeighbors(), is_barrel(), is_mrpc(), is_scin(), TofTrack::match(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), McTestAlg::RetrieveTof(), TofROOTGeo::SetHits(), TofData::setIdentify(), Adc::setValue(), TofRawDataProvider::tofDataMapFull(), TofRawDataProvider::tofDataMapOnlineMode(), and values_ok().
|
static |
For a single MRPC.
Definition at line 163 of file TofID.cxx.
|
static |
For a single crystal.
Definition at line 143 of file TofID.cxx.
Referenced by PmtData::adc(), RawDataTofMcHitCnv::createObj(), TofCheckDigi::FillCol(), TofShower::getNeighbors(), BesRawDataWriter::SaveTofDigits(), BesMcTruthWriter::SaveTofTruth(), TofTrack::setTofData(), TofRawDataProvider::tofDataMapEmc(), TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapTof().
|
static |
|
static |
Definition at line 79 of file TofID.cxx.
Referenced by cell_id(), TofShower::energyCalib(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getNeighbors(), TofTrack::match(), McTestAlg::RetrieveTof(), Adc::setValue(), TofRawDataProvider::tofDataMapFull(), TofRawDataProvider::tofDataMapOnlineMode(), and values_ok().
|
static |
Definition at line 124 of file TofID.cxx.
Referenced by cell_id(), TofShower::energyCalib(), EsTimeAlg::execute(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getNeighbors(), TofTrack::match(), TofROOTGeo::SetHits(), TofData::setIdentify(), TofRawDataProvider::tofDataMapFull(), and values_ok().
|
static |
Definition at line 226 of file TofID.cxx.
Referenced by TofBuilder::initialize().
|
static |
Definition at line 231 of file TofID.cxx.
Referenced by TofBuilder::initialize().
|
static |
|
static |
|
static |
|
static |
Definition at line 178 of file TofID.cxx.
Referenced by TofBuilder::initialize(), TofTrack::setTofData(), and TofRawDataProvider::tofDataMapFull().
|
static |
Definition at line 207 of file TofID.cxx.
Referenced by TofBuilder::initialize().
|
static |
Definition at line 212 of file TofID.cxx.
Referenced by TofBuilder::initialize().
|
static |
|
static |
Definition at line 217 of file TofID.cxx.
Referenced by RawDataTofMcHitCnv::createObj(), TofBuilder::initialize(), BesRawDataWriter::SaveTofDigits(), and BesMcTruthWriter::SaveTofTruth().
|
static |
|
static |
|
static |
Test for barrel.
Definition at line 49 of file TofID.cxx.
Referenced by EmcRecTofDigitCalib::Convert(), TofCheckDigi::FillCol(), layer_max(), phi_module_max(), BesRawDataWriter::SaveTofDigits(), BesMcTruthWriter::SaveTofTruth(), and TofRawDataProvider::tofDataMapFull().
|
static |
|
static |
Definition at line 113 of file TofID.cxx.
Referenced by PmtData::adc(), EventAssemblyAlg::execute(), TofCheckDigi::FillCol(), TofShower::findShower(), layer(), TofBuilder::pack(), phi_module(), TofData::setIdentify(), TofTrack::setTofData(), Adc::setValue(), TofRawDataProvider::tofDataMapEmc(), TofRawDataProvider::tofDataMapFull(), TofRawDataProvider::tofDataMapOnlineMode(), and TofRawDataProvider::tofDataMapTof().
|
static |
|
static |
Definition at line 102 of file TofID.cxx.
Referenced by endcap(), TofShower::energyCalib(), TofCheckDigi::FillCol(), TofShower::getNeighbors(), module(), BesRawDataWriter::SaveTofDigits(), BesMcTruthWriter::SaveTofTruth(), Adc::setValue(), strip(), TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapOnlineMode().
|
static |
|
static |
Definition at line 66 of file TofID.cxx.
Referenced by cell_id(), EmcRecTofDigitCalib::Convert(), TofShower::energyCalib(), EventAssemblyAlg::execute(), TofEnergyCalib::execute(), BesTrigL1::execute(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getNeighbors(), RecEmcTofHit::IntCellId(), TofTrack::match(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), McTestAlg::RetrieveTof(), TofROOTGeo::SetHits(), TofData::setIdentify(), Adc::setValue(), and values_ok().
int TofID::layer_max | ( | const Identifier & | id | ) |
|
static |
Definition at line 130 of file TofID.cxx.
Referenced by cell_id(), TofShower::energyCalib(), EventAssemblyAlg::execute(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getNeighbors(), TofTrack::match(), TofROOTGeo::SetHits(), TofData::setIdentify(), TofRawDataProvider::tofDataMapFull(), and values_ok().
|
static |
Definition at line 73 of file TofID.cxx.
Referenced by cell_id(), EmcRecTofDigitCalib::Convert(), TofShower::energyCalib(), EventAssemblyAlg::execute(), TofEnergyCalib::execute(), BesTrigL1::execute(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getNeighbors(), RecEmcTofHit::IntCellId(), TofTrack::match(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), McTestAlg::RetrieveTof(), TofROOTGeo::SetHits(), TofData::setIdentify(), Adc::setValue(), TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapOnlineMode().
int TofID::phi_module_max | ( | const Identifier & | id | ) |
|
static |
Definition at line 136 of file TofID.cxx.
Referenced by cell_id(), TofShower::energyCalib(), TofCheckDigi::FillCol(), TofShower::findShower(), getIntID(), TofShower::getNeighbors(), TofTrack::match(), TofROOTGeo::SetHits(), TofData::setIdentify(), TofRawDataProvider::tofDataMapFull(), and values_ok().
|
static |
|
static |