25 std::shared_ptr<const MuonCalibRawHitCollection> Coll) :
55 hits += pat->nmdtHits() % 1000;
56 hits += (pat->nmdtHits() - (pat->nmdtHits() % 1000)) / 1000;
57 hits += pat->nrpcHits() % 1000;
58 hits += (pat->nrpcHits() - (pat->nrpcHits() % 1000)) / 1000;
59 hits += pat->ntgcHits() % 1000;
60 hits += (pat->ntgcHits() - (pat->ntgcHits() % 1000)) / 1000;
61 hits += pat->ncscHits() % 1000;
62 hits += (pat->ncscHits() - (pat->ncscHits() % 1000)) / 1000;
MuonCalib::MuonCalibEventInfo: a class which stores the following information of an event:
void setMuonCalibTruthCollection(std::shared_ptr< const MuonCalibTruthCollection > MCTColl)
set the MuonCalibTruthCollection
const MuonCalibTruthCollection * calibTruthCollection() const
retrieve the MuonCalibEventInfo.
void setMuonCalibTriggerTimeInfo(std::shared_ptr< const MuonCalibTriggerTimeInfo > triggerTimeInfo)
set the MuonCalibTriggerTimeInfo
std::shared_ptr< const RpcSectorLogicContainer > m_rpcSlLogicContainer
RpcSectorLogicContainer.
const MuonCalibTriggerTimeInfo * triggerTimeInfo() const
std::shared_ptr< const MuonCalibRawTriggerHitCollection > m_rawTriggerColl
raw hits of the MuonCalibEvent
virtual ~MuonCalibEvent()
Destructor.
void setMuonCalibRawHitCollection(std::shared_ptr< const MuonCalibRawHitCollection > RHColl)
set the MuonCalibRawHitCollection.
const MuonCalibRawHitCollection * rawHitCollection() const
retrieve pointer to MuonCalibRawHitCollection
std::shared_ptr< MuonCalibEventInfo > m_eventInfo
MuonCalibEventInfo of the MuonCalibEvent.
int numberOfPatterns() const
retrieve the number of MuonCalibPatterns in the event
void setMuonCalibEventInfo(std::shared_ptr< MuonCalibEventInfo > eventInfo)
set the MuonCalibEventInfo
MCPVec m_patternVec
A set of MuonCalibPattern s owned by the MuonCalibEvent.
std::shared_ptr< const MuonCalibTriggerTimeInfo > m_triggerTimeInfo
int numberOfHits() const
retrieve the number of CalibHits in the event (sum of all technologies).
void setMuonCalibPatternVec(MuonCalibEvent::MCPVec mcpvec)
set the MuonCalibPatternVec
void setMuonCalibRawTriggerHitCollection(std::shared_ptr< const MuonCalibRawTriggerHitCollection > THColl)
set the MuonCalibRawTriggerHitCollection.
const RpcSectorLogicContainer * rpcSectorLogicContainer() const
const MuonCalibEventInfo & eventInfo() const
MuonCalibEvent()=default
Default constructor.
int numberOfSegments() const
retrieve the number of MuonCalibSegments in the event
std::vector< PatternPtr > MCPVec
typedef to std::vector<MuonCalibPattern*>
std::shared_ptr< const MuonCalibRawHitCollection > m_rawColl
raw hits of the MuonCalibEvent
void setRpcSectorLogicContainer(std::shared_ptr< const RpcSectorLogicContainer > rpcSlContainer)
set the RpcSectorLogicContainer
MCPVec & pattern()
Retrieving the MuonCalibPattern container.
std::shared_ptr< MuonCalibPattern > PatternPtr
const MuonCalibRawTriggerHitCollection * rawTriggerHitCollection() const
retrieve the pointer to the MuonCalibTruthCollection.
std::shared_ptr< const MuonCalibTruthCollection > m_truthColl
truth collection of the MuonCalibEvent
A MuonCalibRawHitcollections is a container class within the Calibration EDM holding the MuonCalibXxx...
MuonCalibTruthCollection is a Calibration EDM container class containing the following truth classes:
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.