BOSS 7.0.6
BESIII Offline Software System
|
#include <MucID.h>
Public Types | |
typedef Identifier::size_type | size_type |
typedef Identifier::value_type | value_type |
Public Member Functions | |
MucID () | |
constructor | |
~MucID () | |
destructor | |
int | segment_max (const Identifier &id) |
Max/Min values for each field. | |
int | layer_max (const Identifier &id) |
int | channel_max (const Identifier &id) |
int | getSegNum (const Identifier &id) |
int | getGapNum (const Identifier &id) |
int | getStripNum (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 | channel_id (int barrel_ec, int segment, int layer, int channel) |
For a single crystal. | |
static value_type | getIntID (int barrel_ec, int segment, int layer, int channel) |
static value_type | getSEGMENT_BARREL_MAX () |
static value_type | getSEGMENT_ENDCAP_MAX () |
static value_type | getLAYER_BARREL_MAX () |
static value_type | getLAYER_ENDCAP_MAX () |
static value_type | getCHANNEL_BARREL_MAX () |
static value_type | getCHANNEL_ENDCAP_MAX () |
static value_type | getBARREL_EC_MAX () |
static value_type | getBARREL_EC_MIN () |
static value_type | getPartNum () |
static value_type | getSegNum (int part) |
static value_type | getGapNum (int part) |
static value_type | getStripNum (int part, int seg, int gap) |
static value_type | getSegMax () |
static value_type | getGapMax () |
static value_type | getStripMax () |
static bool | values_ok (const unsigned int barrel_ec, const unsigned int segment, const unsigned int layer, const unsigned int channel) |
static bool | is_barrel (const Identifier &id) |
Test for barrel. | |
static int | barrel_ec (const Identifier &id) |
Values of different levels. | |
static int | segment (const Identifier &id) |
static int | layer (const Identifier &id) |
static int | channel (const Identifier &id) |
static int | part (const Identifier &id) |
static int | seg (const Identifier &id) |
static int | gap (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.
Definition at line 41 of file MucID.cxx.
Referenced by channel_id(), DQA_MUC::execute(), MucRecRoadFinder::execute(), MucRecTrkExt::execute(), ExtMucKal::GapHit(), getIntID(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), MucCalibMgr::ReadEvent(), and values_ok().
|
static |
Definition at line 71 of file MucID.cxx.
Referenced by channel_id(), DQA_MUC::execute(), MucRecRoadFinder::execute(), MucRecTrkExt::execute(), getIntID(), MucCalibMgr::ReadEvent(), and values_ok().
|
static |
For a single crystal.
Definition at line 135 of file MucID.cxx.
Referenced by RawDataMucMcHitCnv::createObj(), MucGeoGeneral::FindIntersectGaps(), MucGeoGeneral::FindIntersectStrips(), MucGeoGeneral::GetGap(), MucRecHitContainer::GetHitByIdentifier(), MucGeoGeneral::GetStrip(), MucGeoGeneral::InitFromASCII(), MucGeoGeneral::InitFromXML(), MucRecHit::MucRecHit(), BesRawDataWriter::SaveMucDigits(), and BesMcTruthWriter::SaveMucTruth().
int MucID::channel_max | ( | const Identifier & | id | ) |
|
static |
Definition at line 66 of file MucID.cxx.
Referenced by MucRecHitContainer::AddHit(), BesEvent::ConstructMucTrackFromRec(), MucRecHit::Gap(), MucGeoGeneral::GetGap(), MucRecHitContainer::GetHitByIdentifier(), MucTrigHit::getMucDigi(), getStripNum(), RecMucTrack::LineFit(), main(), and MucROOTGeo::SetHits().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 195 of file MucID.cxx.
Referenced by MucRec2DRoad::AttachHit(), MucRec2DRoad::AttachHitNoFit(), RecMucTrack::ComputeDepth(), RecMucTrack::ComputeNGapsWithHits(), MucRec2DRoad::GetHit(), MucRec3DRoad::GetHit(), MucRec2DRoad::GetHitDistance(), MucRec2DRoad::GetHitsPerGap(), MucRec3DRoad::GetHitsPerGap(), MucRec2DRoad::GetNGapsWithHits(), MucRec3DRoad::GetNGapsWithHits(), MucRec2DRoad::GetSearchWindowSize(), MucRec2DRoad::HasHitInGap(), MucRec3DRoad::HasHitInGap(), MucGeoGeneral::Init(), MucRec3DRoad::MucRec3DRoad(), MucRec2DRoad::Project(), MucRec3DRoad::Project(), MucRec3DRoad::ProjectNoCurrentGap(), MucRec3DRoad::ProjectToStrip(), and MucRec3DRoad::ProjectWithSigma().
int MucID::getGapNum | ( | const Identifier & | id | ) |
|
static |
Definition at line 171 of file MucID.cxx.
Referenced by MucRecHitContainer::AddHit(), RecMucTrack::AttachHit(), MucRecHitContainer::Clear(), RecMucTrack::ComputeMaxHitsInGap(), MucRecTrkExt::execute(), MucGeoGeneral::FindIntersection(), MucGeoGeneral::FindIntersectionQuadLocal(), MucGeoGeneral::FindIntersectionSurface(), ExtMucKal::GetDistance(), RecMucTrack::GetHit(), MucRecHitContainer::GetHitCount(), RecMucTrack::GetHitDistance(), RecMucTrack::GetHitDistance2(), RecMucTrack::GetHitInGap(), MucGeoGeneral::GetStripNumTotal(), RecMucTrack::HasHitInGap(), RecMucTrack::LineFit(), main(), RecMucTrack::Project(), MucRecRoadFinder::TrackFinding(), and MucRecTrkExt::TrackFinding().
|
static |
Definition at line 147 of file MucID.cxx.
Referenced by MucBuilder::initialize().
|
static |
|
static |
|
static |
Definition at line 159 of file MucID.cxx.
Referenced by MucRecHitContainer::AddHit(), MucRecHitContainer::Clear(), RecMucTrack::ComputeMaxHitsInGap(), MucRecRoadFinder::execute(), MucRecTrkExt::execute(), MucGeoGeneral::FindIntersection(), MucGeoGeneral::FindIntersectionQuadLocal(), MucGeoGeneral::FindIntersectionSurface(), RecMucTrack::FindSegWithMaxHits(), MucRecHitContainer::GetHitCount(), MucGeoGeneral::GetStripNumTotal(), MucGeoGeneral::Init(), main(), MucRec3DRoad::ProjectToStrip(), MucRecRoadFinder::TrackFinding(), and MucRecTrkExt::TrackFinding().
|
static |
Definition at line 188 of file MucID.cxx.
Referenced by MucGeoGeneral::Init().
|
static |
|
static |
int MucID::getSegNum | ( | const Identifier & | id | ) |
|
static |
Definition at line 164 of file MucID.cxx.
Referenced by MucRecHitContainer::AddHit(), MucRecHitContainer::Clear(), MucRecRoadFinder::execute(), MucRecTrkExt::execute(), MucGeoGeneral::FindIntersectGaps(), MucGeoGeneral::FindIntersections(), RecMucTrack::FindSegWithMaxHits(), ExtMucKal::GapHit(), MucRecHitContainer::GetHitCount(), RecMucTrack::GetHitInSegOrient(), MucGeoGeneral::GetStripNumTotal(), MucRecRoadFinder::TrackFinding(), and MucRecTrkExt::TrackFinding().
|
static |
int MucID::getStripNum | ( | const Identifier & | id | ) |
|
static |
Definition at line 178 of file MucID.cxx.
Referenced by MucRecHitContainer::AddHit().
|
static |
Test for barrel.
Definition at line 35 of file MucID.cxx.
Referenced by channel_max(), getGapNum(), getSegNum(), getStripNum(), layer_max(), and segment_max().
|
static |
Definition at line 61 of file MucID.cxx.
Referenced by channel_id(), DQA_MUC::execute(), MucRecRoadFinder::execute(), MucRecTrkExt::execute(), ExtMucKal::GapHit(), getIntID(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), MucCalibMgr::ReadEvent(), and values_ok().
int MucID::layer_max | ( | const Identifier & | id | ) |
|
static |
Definition at line 46 of file MucID.cxx.
Referenced by MucRecHitContainer::AddHit(), BesEvent::ConstructMucTrackFromRec(), MucGeoGeneral::GetGap(), getGapNum(), MucRecHitContainer::GetHitByIdentifier(), MucTrigHit::getMucDigi(), getSegNum(), getStripNum(), RecMucTrack::LineFit(), main(), MucRecHit::Part(), and MucROOTGeo::SetHits().
|
static |
Definition at line 56 of file MucID.cxx.
Referenced by MucRecHitContainer::AddHit(), BesEvent::ConstructMucTrackFromRec(), MucGeoGeneral::FindIntersectStrips(), MucGeoGeneral::GetGap(), MucRecHitContainer::GetHitByIdentifier(), MucTrigHit::getMucDigi(), getStripNum(), RecMucTrack::LineFit(), main(), MucRecHit::Seg(), and MucROOTGeo::SetHits().
|
static |
Definition at line 51 of file MucID.cxx.
Referenced by channel_id(), DQA_MUC::execute(), MucRecRoadFinder::execute(), MucRecTrkExt::execute(), ExtMucKal::GapHit(), getIntID(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), MucCalibMgr::ReadEvent(), and values_ok().
int MucID::segment_max | ( | const Identifier & | id | ) |
|
static |
Definition at line 76 of file MucID.cxx.
Referenced by MucRecHitContainer::AddHit(), BesEvent::ConstructMucTrackFromRec(), ExtMucKal::GapHit(), MucRecHitContainer::GetHitByIdentifier(), MucTrigHit::getMucDigi(), RecMucTrack::LineFit(), main(), PrintMcInfo::printDigi(), PrintMcInfo::printHit(), MucROOTGeo::SetHits(), and MucRecHit::Strip().
|
static |
Definition at line 14 of file MucID.cxx.
Referenced by channel_id().