ATLAS Offline Software
CscRawDataCollection_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUON_CSCCRAWDATACOLLECTION_P1_H
6 #define MUON_CSCCRAWDATACOLLECTION_P1_H
7 
8 /*
9 
10 Persistent represenation of the Collection of CSC Raw Hits,
11 Author: Marcin Nowak
12  CERN, December, 2005
13 
14 */
15 
16 //#include "MuonRDO/CscRawDataCollection.h"
18 
20  : public std::vector<CscRawData_p1>
21 {
22 public:
23 
24  // Default constructor
27  m_latency(0), m_numDPU(0), m_rate(0)
28  { }
29 
30 
31  // get methods
32  uint16_t identify() const {return m_id;}
33  uint16_t rodId() const {return m_rodId;}
35  uint16_t numSamples() const {return m_numSamples;}
36  uint16_t latency() const {return m_latency;}
37  uint16_t numDPU() const {return m_numDPU;}
38  uint16_t samplingRate() const {return m_rate;}
39 
42 
43  // set methods
46  void setOnlineId (uint16_t id) {m_id = id;}
47  void setSamplingRate (uint16_t rate) {m_rate = rate;}
52 
53 /*
54  void fillTransient(CscRawDataCollection* transObj, MsgStream &log) const ;
55  void fillPersistent(const CscRawDataCollection* transObj, MsgStream &log) ;
56 
57  CscRawDataCollection* createTransient(MsgStream &log) const;
58  static CscRawDataCollection_p1* createPersistent(const CscRawDataCollection* transObj, MsgStream &log);
59 */
60 
62 
63 //private:
64 
65  // Identifier of this collection
67 
68  // online ROD Identifier
71 
72  // number of samples
74 
75  // latency
77 
78  // number of DPU
80 
81  // sampling rate
83 
84 };
85 
86 
87 #endif
88 
89 
90 
91 
CscRawDataCollection_p1::setSamplingRate
void setSamplingRate(uint16_t rate)
Definition: CscRawDataCollection_p1.h:47
CscRawDataCollection_p1::CscRawDataCollection_p1
CscRawDataCollection_p1()
Definition: CscRawDataCollection_p1.h:25
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
CscRawDataCollection_p1::setSubDetectorId
void setSubDetectorId(uint16_t subDetectorId)
Definition: CscRawDataCollection_p1.h:45
CscRawDataCollection_p1::subDetectorId
uint16_t subDetectorId() const
Definition: CscRawDataCollection_p1.h:34
CscRawData_p1.h
CscRawDataCollection_p1::m_latency
uint16_t m_latency
Definition: CscRawDataCollection_p1.h:76
CscRawDataCollectionCnv_p1
Definition: CscRawDataCollectionCnv_p1.h:25
CscRawDataCollection_p1::rodId
uint16_t rodId() const
Definition: CscRawDataCollection_p1.h:33
CscRawDataCollection_p1::identify
uint16_t identify() const
Definition: CscRawDataCollection_p1.h:32
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
CscRawDataCollection_p1::m_numDPU
uint16_t m_numDPU
Definition: CscRawDataCollection_p1.h:79
beamspotman.n
n
Definition: beamspotman.py:731
CscRawDataCollection_p1::m_id
uint32_t m_id
Definition: CscRawDataCollection_p1.h:66
CscRawDataCollection_p1::setLatency
void setLatency(uint16_t latency)
Definition: CscRawDataCollection_p1.h:49
CscRawDataCollection_p1::setOnlineId
void setOnlineId(uint16_t id)
Definition: CscRawDataCollection_p1.h:46
CscRawDataCollection_p1::latency
uint16_t latency() const
Definition: CscRawDataCollection_p1.h:36
CscRawDataCollection_p1::numDPU
uint16_t numDPU() const
Definition: CscRawDataCollection_p1.h:37
CscRawDataCollection_p1
Definition: CscRawDataCollection_p1.h:21
CscRawDataCollection_p1::setNumSamples
void setNumSamples(uint16_t n)
Definition: CscRawDataCollection_p1.h:48
CscRawDataCollection_p1::m_subDetectorId
uint16_t m_subDetectorId
Definition: CscRawDataCollection_p1.h:70
CscRawDataCollection_p1::setRodId
void setRodId(uint16_t rodId)
Definition: CscRawDataCollection_p1.h:44
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
CscRawDataCollection_p1::numSamples
uint16_t numSamples() const
Definition: CscRawDataCollection_p1.h:35
CscRawDataCollection_p1::setNumDPU
void setNumDPU(uint16_t numDPU)
Definition: CscRawDataCollection_p1.h:50
CscRawDataCollection_p1::m_rate
uint16_t m_rate
Definition: CscRawDataCollection_p1.h:82
CscRawDataCollection_p1::m_rodId
uint16_t m_rodId
Definition: CscRawDataCollection_p1.h:69
CscRawDataCollection_p1::setOnlineId
void setOnlineId(uint16_t rodId, uint16_t subDetectorId)
Definition: CscRawDataCollection_p1.h:51
CscRawDataCollection_p1::samplingRate
uint16_t samplingRate() const
Definition: CscRawDataCollection_p1.h:38
CscRawDataCollection_p1::m_numSamples
uint16_t m_numSamples
Definition: CscRawDataCollection_p1.h:73