12#ifndef MUC_REC_HIT_CONTAINER_H
13#define MUC_REC_HIT_CONTAINER_H
16#include "Identifier/Identifier.h"
18#include "MucRecEvent/MucRecHitID.h"
19#include "MucRecEvent/MucRecHit.h"
33 typedef std::map<MucRecHitID, MucRecHit*>
pHitMap;
ObjectVector< MucRecHit > MucRecHitCol
MucRecHit * GetHitByIdentifier(const int part, const int seg, const int gap, const int strip)
void Clear()
Remove all hit objects from the container, and destroy them.
void AddHit(const int part, const int seg, const int gap, const int strip)
Place a new hit object in the container.
int GetGapHitCount(const int part, const int seg, const int gap)
How many hits are there in this gap?
int GetHitCount()
How many hits are there in this event?
MucRecHit * GetHit(const MucRecHitID hitID)
Get a MucRecHit object by hit identifier.
void AddHit(const Identifier id)
std::map< MucRecHitID, MucRecHit * > pHitMap
MucRecHitContainer(const MucRecHitContainer &source)
MucRecHitContainer & operator=(const MucRecHitContainer &orig)
void Destroy()
Destroys the single instance of MucRecHitContainer.
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.
std::map< MucRecHitID, int > GapHitCountMap
MucRecHitCol * GetMucRecHitCol()
Get MucRecHitCol pointer.
void Init()
Points to the single instance of MucRecHitContainer.
MucRecHit * GetHitByIdentifier(const Identifier id)
void SetMucRecHitCol(MucRecHitCol *p)
int GetGapHitCount(const MucRecHitID gapID)
How many hits are there in this gap?