BOSS 7.0.8
BESIII Offline Software System
|
#include <MucRecHitContainer.h>
Public Types | |
typedef std::map< MucRecHitID, int > | GapHitCountMap |
typedef std::map< MucRecHitID, MucRecHit * > | pHitMap |
Public Member Functions | |
MucRecHitContainer () | |
MucRecHitContainer (const MucRecHitContainer &source) | |
MucRecHitContainer & | operator= (const MucRecHitContainer &orig) |
~MucRecHitContainer () | |
void | Init () |
Points to the single instance of MucRecHitContainer. | |
void | Destroy () |
Destroys the single instance of MucRecHitContainer. | |
void | SetMucRecHitCol (MucRecHitCol *p) |
MucRecHitCol * | GetMucRecHitCol () |
Get MucRecHitCol pointer. | |
int | GetHitCount () |
How many hits are there in this event? | |
int | GetGapHitCount (const MucRecHitID gapID) |
How many hits are there in this gap? | |
int | GetGapHitCount (const int part, const int seg, const int gap) |
How many hits are there in this gap? | |
MucRecHit * | GetHit (const MucRecHitID hitID) |
Get a MucRecHit object by hit identifier. | |
MucRecHit * | GetHit (const int part, const int seg, const int gap, const int hit) |
Get a MucRecHit by part, seg, gap, and hit within the gap. | |
MucRecHit * | GetHitByIdentifier (const Identifier id) |
MucRecHit * | GetHitByIdentifier (const int part, const int seg, const int gap, const int strip) |
void | AddHit (const Identifier id) |
void | AddHit (const int part, const int seg, const int gap, const int strip) |
Place a new hit object in the container. | |
void | Clear () |
Remove all hit objects from the container, and destroy them. | |
MucRecHitContainer has a MucRecHitCol which contains all MucRecHit objects for a single event. Access is optimized for referencing by BesMUCRecHitID indices.
Definition at line 29 of file MucRecHitContainer.h.
typedef std::map<MucRecHitID, int> MucRecHitContainer::GapHitCountMap |
Definition at line 32 of file MucRecHitContainer.h.
typedef std::map<MucRecHitID, MucRecHit*> MucRecHitContainer::pHitMap |
Definition at line 33 of file MucRecHitContainer.h.
MucRecHitContainer::MucRecHitContainer | ( | ) |
Definition at line 15 of file MucRecHitContainer.cxx.
MucRecHitContainer::MucRecHitContainer | ( | const MucRecHitContainer & | source | ) |
MucRecHitContainer::~MucRecHitContainer | ( | ) |
Definition at line 19 of file MucRecHitContainer.cxx.
void MucRecHitContainer::AddHit | ( | const Identifier | id | ) |
Definition at line 130 of file MucRecHitContainer.cxx.
Referenced by AddHit(), MucRecRoadFinder::execute(), and MucRecTrkExt::execute().
void MucRecHitContainer::AddHit | ( | const int | part, |
const int | seg, | ||
const int | gap, | ||
const int | strip | ||
) |
Place a new hit object in the container.
Definition at line 142 of file MucRecHitContainer.cxx.
void MucRecHitContainer::Clear | ( | ) |
Remove all hit objects from the container, and destroy them.
Definition at line 36 of file MucRecHitContainer.cxx.
Referenced by MucRecRoadFinder::execute(), MucRecTrkExt::execute(), and Init().
void MucRecHitContainer::Destroy | ( | ) |
Destroys the single instance of MucRecHitContainer.
int MucRecHitContainer::GetGapHitCount | ( | const int | part, |
const int | seg, | ||
const int | gap | ||
) |
How many hits are there in this gap?
Definition at line 75 of file MucRecHitContainer.cxx.
int MucRecHitContainer::GetGapHitCount | ( | const MucRecHitID | gapID | ) |
How many hits are there in this gap?
Definition at line 68 of file MucRecHitContainer.cxx.
Referenced by MucRecRoadFinder::execute(), MucRecTrkExt::execute(), GetHitByIdentifier(), MucRecRoadFinder::TrackFinding(), and MucRecTrkExt::TrackFinding().
MucRecHit * MucRecHitContainer::GetHit | ( | const int | part, |
const int | seg, | ||
const int | gap, | ||
const int | hit | ||
) |
Get a MucRecHit by part, seg, gap, and hit within the gap.
Definition at line 91 of file MucRecHitContainer.cxx.
MucRecHit * MucRecHitContainer::GetHit | ( | const MucRecHitID | hitID | ) |
Get a MucRecHit object by hit identifier.
Definition at line 84 of file MucRecHitContainer.cxx.
Referenced by MucRecRoadFinder::execute(), MucRecTrkExt::execute(), GetHitByIdentifier(), MucRecRoadFinder::TrackFinding(), and MucRecTrkExt::TrackFinding().
MucRecHit * MucRecHitContainer::GetHitByIdentifier | ( | const Identifier | id | ) |
Get a MucRecHit by Identifier. If doesnt exist, return null.
Definition at line 101 of file MucRecHitContainer.cxx.
Referenced by GetHitByIdentifier().
MucRecHit * MucRecHitContainer::GetHitByIdentifier | ( | const int | part, |
const int | seg, | ||
const int | gap, | ||
const int | strip | ||
) |
Get a MucRecHit by part, seg, gap, and strip. If doesnt exist, return null.
Definition at line 112 of file MucRecHitContainer.cxx.
int MucRecHitContainer::GetHitCount | ( | ) |
How many hits are there in this event?
Definition at line 52 of file MucRecHitContainer.cxx.
|
inline |
Get MucRecHitCol pointer.
Definition at line 61 of file MucRecHitContainer.h.
Referenced by MucRecRoadFinder::execute().
void MucRecHitContainer::Init | ( | ) |
Points to the single instance of MucRecHitContainer.
Initializes the MucRecHitContainer with MucRecHitCol.
Definition at line 26 of file MucRecHitContainer.cxx.
MucRecHitContainer & MucRecHitContainer::operator= | ( | const MucRecHitContainer & | orig | ) |
void MucRecHitContainer::SetMucRecHitCol | ( | MucRecHitCol * | p | ) |
Definition at line 173 of file MucRecHitContainer.cxx.
Referenced by MucRecRoadFinder::execute(), and MucRecTrkExt::execute().