BOSS 7.0.3
BESIII Offline Software System
|
#include <EmcID.h>
Public Types | |
typedef Identifier::size_type | size_type |
typedef Identifier::value_type | value_type |
typedef Identifier::size_type | size_type |
typedef Identifier::value_type | value_type |
Public Member Functions | |
EmcID () | |
constructor | |
~EmcID () | |
destructor | |
unsigned int | theta_module_max (const Identifier &id) |
Max/Min values for each field (error returns -999) | |
unsigned int | phi_module_max (const Identifier &id) |
EmcID () | |
constructor | |
~EmcID () | |
destructor | |
unsigned int | theta_module_max (const Identifier &id) |
Max/Min values for each field (error returns -999) | |
unsigned int | phi_module_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 |
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 | crystal_id (const unsigned int barrel_ec, const unsigned int theta_module, const unsigned int phi_module) |
For a single crystal. | |
static unsigned int | getIntID (const unsigned int barrel_ec, const unsigned int theta_module, const unsigned int phi_module) |
static bool | values_ok (const unsigned int barrel_ec, const unsigned int theta_module, const unsigned int phi_module) |
static bool | is_barrel (const Identifier &id) |
Test for barrel. | |
static unsigned int | barrel_ec (const Identifier &id) |
Values of different levels (failure returns 0) | |
static unsigned int | theta_module (const Identifier &id) |
static unsigned int | phi_module (const Identifier &id) |
static unsigned int | getTHETA_BARREL_MAX () |
static unsigned int | getTHETA_BARREL_MIN () |
static unsigned int | getTHETA_ENDCAP_MAX () |
static unsigned int | getTHETA_ENDCAP_MIN () |
static unsigned int | getPHI_BARREL_MAX () |
static unsigned int | getPHI_BARREL_MIN () |
static unsigned int | getPHI_ENDCAP_MAX (const unsigned int theta) |
static unsigned int | getPHI_ENDCAP_MIN () |
static unsigned int | getBARREL_EC_MAX () |
static unsigned int | getBARREL_EC_MIN () |
static unsigned int | getENDCAP_EAST () |
static unsigned int | getBARREL () |
static unsigned int | getENDCAP_WEST () |
static Identifier | crystal_id (const unsigned int barrel_ec, const unsigned int theta_module, const unsigned int phi_module) |
For a single crystal. | |
static unsigned int | getIntID (const unsigned int barrel_ec, const unsigned int theta_module, const unsigned int phi_module) |
static bool | values_ok (const unsigned int barrel_ec, const unsigned int theta_module, const unsigned int phi_module) |
static bool | is_barrel (const Identifier &id) |
Test for barrel. | |
static unsigned int | barrel_ec (const Identifier &id) |
Values of different levels (failure returns 0) | |
static unsigned int | theta_module (const Identifier &id) |
static unsigned int | phi_module (const Identifier &id) |
static unsigned int | getTHETA_BARREL_MAX () |
static unsigned int | getTHETA_BARREL_MIN () |
static unsigned int | getTHETA_ENDCAP_MAX () |
static unsigned int | getTHETA_ENDCAP_MIN () |
static unsigned int | getPHI_BARREL_MAX () |
static unsigned int | getPHI_BARREL_MIN () |
static unsigned int | getPHI_ENDCAP_MAX (const unsigned int theta) |
static unsigned int | getPHI_ENDCAP_MIN () |
static unsigned int | getBARREL_EC_MAX () |
static unsigned int | getBARREL_EC_MIN () |
static unsigned int | getENDCAP_EAST () |
static unsigned int | getBARREL () |
static unsigned int | getENDCAP_WEST () |
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 |
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 |
Definition at line 8 of file DetectorDescription/Identifier/Identifier-00-02-17/Identifier/EmcID.h.
Definition at line 11 of file DetectorDescription/Identifier/Identifier-00-02-17/Identifier/EmcID.h.
Definition at line 11 of file InstallArea/include/Identifier/Identifier/EmcID.h.
Definition at line 12 of file DetectorDescription/Identifier/Identifier-00-02-17/Identifier/EmcID.h.
Definition at line 12 of file InstallArea/include/Identifier/Identifier/EmcID.h.
EmcID::EmcID | ( | ) |
constructor
EmcID::~EmcID | ( | ) |
destructor
|
static |
Values of different levels (failure returns 0)
Definition at line 38 of file EmcID.cxx.
Referenced by BesEvent::ConstructEmcTrackFromRec(), EmcRecDigit2Hit::Convert(), crystal_id(), EmcRawDataProvider::doCalib(), EmcROOTGeo::DrawHits(), EmcRecShowerEnergy::ECorrTheta(), EmcRecShowerEnergy::Energy(), AbsCor::execute(), McCor::execute(), DQA_EMC::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), EmcSelBhaEvent::execute(), EFGlobalEnergy::execute(), BhabhaPreSelect::execute(), DigammaPreSelect::execute(), EmcRec::execute(), EmcTimeRec::execute(), EmcSelBhaEvent::FillBhabha(), EmcRecEndCapGeo::GetCCenter(), EmcRecEndCapGeo::GetCFrontCenter(), EmcRecEndCapGeo::GetCrystal(), BesTrigL1::getEmcAnalogSig(), getIntID(), EmcRecNeighbor::GetNeighbors(), EmcRecNeighbor::GetNextNeighbors(), EmcRecShowerShape::LatMoment(), main(), EmcRecShowerPosLin::Position(), EmcRecShowerPosLinShMax::Position(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLogShMax::Position(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), EmcRecShowerShape::SecondMoment(), EmcTCFinder::setEmcDigi(), EmcROOTGeo::SetHits(), and values_ok().
|
static |
Values of different levels (failure returns 0)
|
static |
For a single crystal.
Definition at line 71 of file EmcID.cxx.
Referenced by EmcSelBhaEvent::CollectBhabha(), RawDataEmcMcHitCnv::createObj(), AbsCor::execute(), EmcRec::execute(), EmcRecROOTGeo::FillCrystalMap(), EmcRecEndCapGeo::GetCrystal(), EmcRecNeighbor::GetNeighbors(), EmcRecNeighbor::GetNextNeighbors(), EmcRecROOTGeo::InitFromXML(), main(), EmcRecDigit2Hit::Output(), EmcRecDigit2Hit::OutputEndcap(), EmcRecShowerPosLin::Position(), EmcRecShowerPosLinShMax::Position(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLogShMax::Position(), BesEmcSD::ProcessHits(), BesRawDataWriter::SaveEmcDigits(), and BesMcTruthWriter::SaveEmcTruth().
|
static |
For a single crystal.
|
static |
Definition at line 146 of file EmcID.cxx.
Referenced by EmcRecROOTGeo::FillCrystalMap(), EmcRecNeighbor::GetNeighbors(), and EmcBuilder::initialize().
|
static |
|
static |
Definition at line 132 of file EmcID.cxx.
Referenced by EmcBuilder::initialize().
|
static |
|
static |
Definition at line 136 of file EmcID.cxx.
Referenced by EmcBuilder::initialize().
|
static |
|
static |
Definition at line 141 of file EmcID.cxx.
Referenced by EmcRecEndCapGeo::GetCCenter(), EmcRecEndCapGeo::GetCFrontCenter(), EmcRecEndCapGeo::GetCrystal(), EmcRecNeighbor::GetNeighbors(), and main().
|
static |
|
static |
Definition at line 151 of file EmcID.cxx.
Referenced by EmcRecEndCapGeo::GetCrystal(), EmcRecNeighbor::GetNeighbors(), and main().
|
static |
|
static |
Definition at line 81 of file EmcID.cxx.
Referenced by EmcBuilder::initialize().
|
static |
|
static |
Definition at line 107 of file EmcID.cxx.
Referenced by EmcStructure::crystalsInRing(), RecEmcFraction::Distance(), EmcRecNeighbor::GetNeighbors(), EmcRecNeighbor::GetNextNeighbors(), EmcStructure::getNumberOfXtals(), EmcBuilder::initialize(), EmcRecDigit2Hit::Output(), and EmcRecSplitWeighted::Split().
|
static |
|
static |
Definition at line 111 of file EmcID.cxx.
Referenced by EmcRecNeighbor::GetNeighbors(), EmcRecNeighbor::GetNextNeighbors(), EmcBuilder::initialize(), and EmcRecDigit2Hit::Output().
|
static |
|
static |
Definition at line 115 of file EmcID.cxx.
Referenced by EmcStructure::crystalsInRing(), EmcRecEndCapGeo::GetCCenter(), EmcRecEndCapGeo::GetCFrontCenter(), EmcRecEndCapGeo::GetCrystal(), EmcRecNeighbor::GetNeighbors(), EmcStructure::getNumberOfXtals(), EmcBuilder::initialize(), main(), EmcRecDigit2Hit::OutputEndcap(), phi_module_max(), and values_ok().
|
static |
|
static |
Definition at line 128 of file EmcID.cxx.
Referenced by EmcRecNeighbor::GetNeighbors(), EmcBuilder::initialize(), and EmcRecDigit2Hit::OutputEndcap().
|
static |
|
static |
Definition at line 91 of file EmcID.cxx.
Referenced by EmcRecNeighbor::GetNeighbors(), EmcRecNeighbor::GetNextNeighbors(), EmcStructure::getNumberOfTheRings(), EmcStructure::getNumberOfXtals(), EmcBuilder::initialize(), and EmcRecDigit2Hit::Output().
|
static |
|
static |
Definition at line 95 of file EmcID.cxx.
Referenced by EmcRecNeighbor::GetNeighbors(), EmcRecNeighbor::GetNextNeighbors(), EmcBuilder::initialize(), and EmcRecDigit2Hit::Output().
|
static |
|
static |
Definition at line 99 of file EmcID.cxx.
Referenced by EmcRecNeighbor::GetNeighbors(), EmcStructure::getNumberOfTheRings(), EmcBuilder::initialize(), and EmcRecDigit2Hit::OutputEndcap().
|
static |
|
static |
Definition at line 103 of file EmcID.cxx.
Referenced by EmcRecNeighbor::GetNeighbors(), EmcBuilder::initialize(), and EmcRecDigit2Hit::OutputEndcap().
|
static |
|
static |
Test for barrel.
Definition at line 32 of file EmcID.cxx.
Referenced by EmcRecGeoSvc::GetCCenter(), EmcRecGeoSvc::GetCFrontCenter(), EmcRecGeoSvc::GetCrystal(), EmcRecGeoSvc::GetCrystalPoint(), main(), phi_module_max(), and theta_module_max().
|
static |
Test for barrel.
|
static |
Definition at line 48 of file EmcID.cxx.
Referenced by BesEvent::ConstructEmcTrackFromRec(), EmcRecDigit2Hit::Convert(), crystal_id(), RecEmcFraction::Distance(), EmcRawDataProvider::doCalib(), EmcROOTGeo::DrawHits(), AbsCor::execute(), DQA_EMC::execute(), EmcSelBhaEvent::execute(), EFGlobalEnergy::execute(), BhabhaPreSelect::execute(), DigammaPreSelect::execute(), EmcRec::execute(), EmcTimeRec::execute(), EmcSelBhaEvent::FillBhabha(), EmcRecBarrelGeo::GetCCenter(), EmcRecEndCapGeo::GetCCenter(), EmcRecBarrelGeo::GetCFrontCenter(), EmcRecEndCapGeo::GetCFrontCenter(), EmcRecBarrelGeo::GetCrystal(), EmcRecEndCapGeo::GetCrystal(), BesTrigL1::getEmcAnalogSig(), getIntID(), EmcRecNeighbor::GetNeighbors(), EmcRecNeighbor::GetNextNeighbors(), EmcRecShowerShape::LatMoment(), main(), EmcRecShowerPosLin::Position(), EmcRecShowerPosLinShMax::Position(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLogShMax::Position(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), EmcRecShowerShape::SecondMoment(), EmcTCFinder::setEmcDigi(), EmcROOTGeo::SetHits(), EmcRecSplitWeighted::Split(), and values_ok().
|
static |
unsigned int EmcID::phi_module_max | ( | const Identifier & | id | ) |
Definition at line 62 of file EmcID.cxx.
unsigned int EmcID::phi_module_max | ( | const Identifier & | id | ) |
|
static |
Definition at line 43 of file EmcID.cxx.
Referenced by BesEvent::ConstructEmcTrackFromRec(), EmcRecDigit2Hit::Convert(), crystal_id(), RecEmcFraction::Distance(), EmcRawDataProvider::doCalib(), EmcROOTGeo::DrawHits(), EmcRecShowerEnergy::ECorrTheta(), EmcRecShowerEnergy::Energy(), AbsCor::execute(), McCor::execute(), DQA_EMC::execute(), EmcSelBhaEvent::execute(), EFGlobalEnergy::execute(), BhabhaPreSelect::execute(), DigammaPreSelect::execute(), EmcRec::execute(), EmcTimeRec::execute(), EmcSelBhaEvent::FillBhabha(), EmcRecBarrelGeo::GetCCenter(), EmcRecEndCapGeo::GetCCenter(), EmcRecBarrelGeo::GetCFrontCenter(), EmcRecEndCapGeo::GetCFrontCenter(), EmcRecBarrelGeo::GetCrystal(), EmcRecEndCapGeo::GetCrystal(), BesTrigL1::getEmcAnalogSig(), getIntID(), EmcRecNeighbor::GetNeighbors(), EmcRecNeighbor::GetNextNeighbors(), EmcRecShowerShape::LatMoment(), main(), phi_module_max(), EmcRecShowerPosLin::Position(), EmcRecShowerPosLinShMax::Position(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLogShMax::Position(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), EmcRecShowerShape::SecondMoment(), EmcTCFinder::setEmcDigi(), EmcROOTGeo::SetHits(), EmcRecSplitWeighted::Split(), and values_ok().
|
static |
unsigned int EmcID::theta_module_max | ( | const Identifier & | id | ) |
unsigned int EmcID::theta_module_max | ( | const Identifier & | id | ) |
Max/Min values for each field (error returns -999)
|
static |
Definition at line 11 of file EmcID.cxx.
Referenced by crystal_id(), and getIntID().
|
static |