BOSS 7.1.1
BESIII Offline Software System
|
#include <MdcID.h>
Public Types | |
typedef Identifier::size_type | size_type |
typedef Identifier::value_type | value_type |
Public Member Functions | |
MdcID () | |
constructor | |
~MdcID () | |
destructor | |
bool | is_axial (const Identifier &id) |
Test for axial and stereo wire. | |
int | layer_max (const Identifier &id) |
Max/Min values for each field (error returns -999) | |
int | wire_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 | wire_id (int wireType, int layer, int wire) |
For a single wire. | |
static Identifier | wire_id (int layer, int wire) |
static value_type | getIntID (unsigned int wireType, unsigned int layer, unsigned int wire) |
static value_type | getIntID (unsigned int layer, unsigned int wire) |
static value_type | getAXIAL_LAYER_MAX () |
static value_type | getSTEREO_LAYER_MAX () |
static value_type | getAXIAL_WIRE_MAX () |
static value_type | getSTEREO_WIRE_MAX () |
static value_type | getAXIAL_WIRE () |
static value_type | getSTEREO_WIRE () |
static bool | values_ok (const unsigned int wireType, const unsigned int layer, const unsigned int wire) |
static int | layer (const Identifier &id) |
Values of different levels (failure returns 0) | |
static int | wire (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 |
Definition at line 138 of file MdcID.cxx.
Referenced by MdcBuilder::initialize().
|
static |
|
static |
Definition at line 146 of file MdcID.cxx.
Referenced by MdcBuilder::initialize().
|
static |
Definition at line 102 of file MdcID.cxx.
|
static |
Definition at line 124 of file MdcID.cxx.
Referenced by MdcBuilder::initialize(), and MdcBuilder::pack().
|
static |
Definition at line 142 of file MdcID.cxx.
Referenced by MdcBuilder::initialize().
|
static |
|
static |
bool MdcID::is_axial | ( | const Identifier & | id | ) |
Test for axial and stereo wire.
Definition at line 43 of file MdcID.cxx.
Referenced by layer_max(), and wire_max().
|
static |
Values of different levels (failure returns 0)
Definition at line 49 of file MdcID.cxx.
Referenced by HoughHitList::addTruthInfo(), BesEvent::ConstructMdcTrackFromRec(), MdcMergeDups::doMergeCurl(), MdcTrkRecon::dumpDigi(), MdcMergeDups::dumpRecMdcTrack(), MdcTrkRecon::dumpTdsTrack(), BesTrigL1::execute(), BhabhaPreSelect::execute(), EFSectorHits::execute(), EsTimeAlg::execute(), EventPreSelect::execute(), KalFitAlg::execute(), MdcDedxRecon::execute(), MdcxCosmicSewer::execute(), TrkReco::execute(), ValidRecMdcTrackAlg::execute(), MdcCalRecTrk::fgNoiseRatio(), MdcTrkRecon::fillEvent(), IniMdcCalib::fillHist(), PreXtMdcCalib::fillHist(), MdcTrkRecon::fillMcTruth(), Hough2D::fit(), Hough3D::fit(), DedxCalibEvent::genNtuple(), getIntID(), getIntID(), MdcRawDataProvider::getMdcDigiVec(), MdcUtilitySvc::getMdcMCAssoiciation(), HoughHit::HoughHit(), MdcROOTGeo::IsHit(), MdcDedxRecon::kaltrackrec(), MdcDetector::Layer(), TTrackManager::makeTds(), MdcHit::MdcHit(), MdcDedxRecon::mdctrackrec(), MdcxCosmicSewer::MdcxHitsToHots(), MdcBuilder::pack(), MdcPrintSvc::printDigi(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), MdcPrintSvc::printMdcMcHitCol(), MdcPrintSvc::printRecMdcTrack(), MdcxHit::process(), McTestAlg::RetrieveMdc(), MdcROOTGeo::SetHits(), MdcAliRecHit::setKalHit(), MdcCalRecHit::setKalHit(), MdcAliRecHit::setRecHit(), MdcCalRecHit::setRecHit(), MdcMergeDups::testByOverlapHit(), RecMdcDedxCnv::TObjectToDataObject(), RecMdcKalTrackCnv::TObjectToDataObject(), RecMdcTrackCnv::TObjectToDataObject(), values_ok(), MdcDetector::Wire(), wire_id(), and wire_id().
int MdcID::layer_max | ( | const Identifier & | id | ) |
Max/Min values for each field (error returns -999)
Definition at line 59 of file MdcID.cxx.
|
static |
Definition at line 12 of file MdcID.cxx.
Referenced by wire_id().
|
static |
Definition at line 54 of file MdcID.cxx.
Referenced by HoughHitList::addTruthInfo(), BesEvent::ConstructMdcTrackFromRec(), MdcTrkRecon::dumpDigi(), MdcMergeDups::dumpRecMdcTrack(), MdcTrkRecon::dumpTdsTrack(), BesTrigL1::execute(), BhabhaPreSelect::execute(), EFSectorHits::execute(), EsTimeAlg::execute(), EventPreSelect::execute(), KalFitAlg::execute(), MdcDedxRecon::execute(), MdcxCosmicSewer::execute(), TrkReco::execute(), ValidRecMdcTrackAlg::execute(), MdcCalRecTrk::fgNoiseRatio(), MdcTrkRecon::fillEvent(), IniMdcCalib::fillHist(), MdcTrkRecon::fillMcTruth(), Hough2D::fit(), Hough3D::fit(), DedxCalibEvent::genNtuple(), KalFitTrack::getDriftDist(), getIntID(), getIntID(), MdcRawDataProvider::getMdcDigiVec(), MdcUtilitySvc::getMdcMCAssoiciation(), HoughHit::HoughHit(), MdcROOTGeo::IsHit(), MdcDedxRecon::kaltrackrec(), TTrackManager::makeTds(), MdcHit::MdcHit(), MdcDedxRecon::mdctrackrec(), MdcxCosmicSewer::MdcxHitsToHots(), MdcBuilder::pack(), MdcPrintSvc::printDigi(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), MdcPrintSvc::printMdcMcHitCol(), MdcPrintSvc::printRecMdcTrack(), MdcxHit::process(), McTestAlg::RetrieveMdc(), MdcROOTGeo::SetHits(), MdcAliRecHit::setKalHit(), MdcCalRecHit::setKalHit(), MdcAliRecHit::setRecHit(), MdcCalRecHit::setRecHit(), RecMdcDedxCnv::TObjectToDataObject(), RecMdcKalTrackCnv::TObjectToDataObject(), RecMdcTrackCnv::TObjectToDataObject(), values_ok(), MdcDetector::Wire(), wire_id(), and wire_id().
|
static |
Definition at line 90 of file MdcID.cxx.
|
static |
For a single wire.
Definition at line 77 of file MdcID.cxx.
Referenced by RawDataMdcMcHitCnv::createObj(), TTrackManager::makeTds(), BesRawDataWriter::SaveMdcDigits(), BesMcTruthWriter::SaveMdcTruth(), and wire_id().
int MdcID::wire_max | ( | const Identifier & | id | ) |