ATLAS Offline Software
Loading...
Searching...
No Matches
CscRODReadOutV1 Class Reference

#include <CscRODReadOutV1.h>

Collaboration diagram for CscRODReadOutV1:

Public Member Functions

 CscRODReadOutV1 ()
 CscRODReadOutV1 (double startTime, uint16_t samplingTime, double signalWidth, uint16_t numIntegration)
 ~CscRODReadOutV1 ()=default
uint32_t getHeaderSize ()
uint32_t getFooterSize ()
uint32_t numSamples ()
uint32_t latency ()
uint32_t samplingRate ()
uint32_t numDPU ()
void triggerInfo (uint32_t *trigger)
uint32_t dpuHeader ()
uint32_t dpuHeaderSize ()
double getSamplingTime ()
void setSamplingTime (double time)
double getStartTime ()
double getConversion ()
double getMaxTimeBin ()
uint32_t getSourceID (uint16_t side, uint16_t rodId)
void encodeFragments (const std::vector< uint16_t > &amplitude, std::vector< uint32_t > &v) const
void set (const CscIdHelper *cscHelper)
void setParams (double timeOffset, double samplingTime, double signalWidth)
void setParams (double samplingTime)
bool isDPU (const uint32_t fragment) const
bool discard (const uint32_t fragment) const
bool isAmplitude (const uint16_t fragment) const
bool isAddress (const uint32_t fragment) const
void decodeSourceID (uint32_t sourceId)
void decodeAmplitude (const uint32_t fragment)
void decodeAddress (const uint32_t fragment)
Identifier decodeAddress ()
uint32_t hashIdentifier (const Identifier &moduleId)
uint32_t numberOfStrips (const uint32_t fragment)
void setAddress (const uint32_t address)
Identifier decodeAddress (const Identifier &moduleId)
Identifier decodeAddress (const Identifier &moduleId, int j)
int findCharge (const std::vector< uint16_t > &amplitude, double &time)
double signal_amplitude (double samplingTime) const
uint32_t address (const Identifier &channelId, int &eta, int &phi) const
uint16_t sourceID () const
uint16_t moduleType () const
uint16_t subDetectorId () const
uint16_t rodId () const
uint16_t getAmp1 () const
uint16_t getAmp2 () const
uint32_t address () const

Private Member Functions

void set32bits (const uint16_t *v16, uint32_t &v32) const
double signal (double z) const

Private Attributes

const CscIdHelperm_cscHelper
uint16_t m_sourceID
uint16_t m_moduleType
uint16_t m_rodId
uint16_t m_subDetectorId
uint16_t m_amp1
uint16_t m_amp2
uint32_t m_address
double m_norm
double m_TIME_OFFSET
double m_SIGNAL_WIDTH
double m_SAMPLING_TIME
int m_NUMBER_OF_INTEGRATION
double m_CHARGE_TO_ADC_COUNT
double m_Z0
uint32_t m_TRIGGER_INFO [3] {}

Static Private Attributes

static const uint32_t ROD_HEADER_SIZE = 12
static const uint32_t ROD_FOOTER_SIZE = 0x0
static const uint16_t SOURCE_ID = 0x00
static const uint16_t MODULE_TYPE = 0x00
static const uint16_t BODY_AMPLITUDE = 0x0000
static const uint32_t BODY_ADDRESS = 0x00000000
static const uint32_t NUM_SAMPLES = 25
static const uint32_t LATENCY = 0
static const uint32_t RATE = 40
static const uint32_t NUM_DPU = 12
 MHz.
static const uint32_t DPU_HEADER_MARKER = 0xC5F38856
static const uint32_t DPU_HEADER_SIZE = 13
static const uint32_t DPU_DISCARD = 0xFFFFFFFF

Detailed Description

Definition at line 19 of file CscRODReadOutV1.h.

Constructor & Destructor Documentation

◆ CscRODReadOutV1() [1/2]

CscRODReadOutV1::CscRODReadOutV1 ( )

Definition at line 8 of file CscRODReadOutV1.cxx.

8 :
10 m_TIME_OFFSET = 46.825; // ns
11 m_SIGNAL_WIDTH = 16.08; // ns
12 m_SAMPLING_TIME = 50.0; // ns
14 m_Z0 = (m_NUMBER_OF_INTEGRATION + 1) - sqrt(m_NUMBER_OF_INTEGRATION + 1); // time bin at the maximum
15 // obtained by setting the derivative = 0
16 // this gives 2 solutions:
17 // Z0=9.394 and 16.606
18 // 9.394 is for positive amplitude
19
20 // conversion factor from ee charge to ADC count
21 // assuming for now 1 ADC count = 0.32 femtoCoulomb!
22
23 /* From Valeri Tcherniatine --- April 11, 2004
24 conversion= ( e*G*k*m*d*1.6e-19)/2000
25 e=75 - average number ionization e in CSC
26 G=10^5 - gas gain
27 k=0.15 - factor taking to account electronic time integration (charge
28 deficit) and only one cathode readout
29 m=0.5 - part of induce charge contained in max. strip
30 d=7 - value of dynamic range expressed in average particle ionization
31 deposition in CSC. At this value (7) out of region inefficiency is <2%.
32 1.6e-19 - e charge
33 2000 - max. ADC counts for positive part of signal
34 Collect all numbers together conversion = 0.32 femtoCoulomb per ADC count
35 */
36
37 m_CHARGE_TO_ADC_COUNT = (0.32e-15) / (1.602e-19);
39
40 // trigger info : TDC, time, etc
41 for (int i = 0; i < 3; i++) m_TRIGGER_INFO[i] = 0;
42}
uint32_t m_TRIGGER_INFO[3]
double signal(double z) const
uint16_t m_subDetectorId
const CscIdHelper * m_cscHelper

◆ CscRODReadOutV1() [2/2]

CscRODReadOutV1::CscRODReadOutV1 ( double startTime,
uint16_t samplingTime,
double signalWidth,
uint16_t numIntegration )

Definition at line 44 of file CscRODReadOutV1.cxx.

44 :
47 m_SIGNAL_WIDTH = signalWidth; // ns
48 m_SAMPLING_TIME = samplingTime; // ns
49 m_NUMBER_OF_INTEGRATION = numIntegration;
50 m_Z0 = (m_NUMBER_OF_INTEGRATION + 1) - sqrt(m_NUMBER_OF_INTEGRATION + 1); // time bin at the maximum
51 // obtained by setting the derivative = 0
52 // this gives 2 solutions:
53 // Z0=9.394 and 16.606
54 // 9.394 is for positive amplitude
55
56 m_CHARGE_TO_ADC_COUNT = (0.32e-15) / (1.602e-19);
58
59 // trigger info : TDC, time, etc
60 for (int i = 0; i < 3; i++) m_TRIGGER_INFO[i] = 0;
61}

◆ ~CscRODReadOutV1()

CscRODReadOutV1::~CscRODReadOutV1 ( )
default

Member Function Documentation

◆ address() [1/2]

uint32_t CscRODReadOutV1::address ( ) const
inline

Definition at line 86 of file CscRODReadOutV1.h.

86{ return m_address; }

◆ address() [2/2]

uint32_t CscRODReadOutV1::address ( const Identifier & channelId,
int & eta,
int & phi ) const
inline

Definition at line 266 of file CscRODReadOutV1.h.

266 {
267 // unpack the strip identifier
268 int name = m_cscHelper->stationName(channelId);
269 eta = m_cscHelper->stationEta(channelId);
270 phi = m_cscHelper->stationPhi(channelId);
271 int chamberLayer = m_cscHelper->chamberLayer(channelId);
272 int wireLayer = m_cscHelper->wireLayer(channelId);
273 int orientation = m_cscHelper->measuresPhi(channelId);
274 int strip = m_cscHelper->strip(channelId);
275
276 // redefine the ranges
277 uint32_t nameIndex = uint32_t(name - 50);
278 uint32_t etaIndex = (eta == -1) ? 0 : 1;
280 uint32_t chamberIndex = uint32_t(chamberLayer - 0);
281 uint32_t layerIndex = uint32_t(wireLayer - 1);
282 uint32_t stripType = uint32_t(orientation);
283 uint32_t stripNumber = uint32_t(strip - 1);
284
285 // build the address
287 nameIndex << 16 | phiIndex << 13 | etaIndex << 12 | chamberIndex << 11 | layerIndex << 9 | stripType << 8 | stripNumber;
288
289 return address;
290}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
uint32_t address(const Identifier &channelId, int &eta, int &phi) const
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
Definition EtaPhiLUT.cxx:23
setEventNumber uint32_t

◆ decodeAddress() [1/4]

Identifier CscRODReadOutV1::decodeAddress ( )
inline

Definition at line 207 of file CscRODReadOutV1.h.

207 {
208 int stationName = ((m_address & 0x00010000) >> 16) + 50;
209 int stationEta = (((m_address & 0x00001000) >> 12) == 0x0) ? -1 : 1;
210 int stationPhi = ((m_address & 0x0000E000) >> 13) + 1;
211
212 return m_cscHelper->elementID(stationName, stationEta, stationPhi);
213}
constexpr uint8_t stationPhi
station Phi 1 to 8

◆ decodeAddress() [2/4]

Identifier CscRODReadOutV1::decodeAddress ( const Identifier & moduleId)
inline

Definition at line 217 of file CscRODReadOutV1.h.

217 {
218 int chamberLayer = ((m_address & 0x00000800) >> 11) + 0;
219 int wireLayer = ((m_address & 0x00000600) >> 9) + 0;
220 int measuresPhi = ((m_address & 0x00000100) >> 8);
221 int strip = (m_address & 0x000000FF) + 1;
222 return m_cscHelper->channelID(moduleId, chamberLayer, wireLayer, measuresPhi, strip);
223}

◆ decodeAddress() [3/4]

Identifier CscRODReadOutV1::decodeAddress ( const Identifier & moduleId,
int j )
inline

Definition at line 225 of file CscRODReadOutV1.h.

225 {
226 int chamberLayer = ((m_address & 0x00000800) >> 11) + 0;
227 int wireLayer = ((m_address & 0x00000600) >> 9) + 1;
228 int measuresPhi = ((m_address & 0x00000100) >> 8);
229 int strip = (m_address & 0x000000FF) + 1 + j;
230 return m_cscHelper->channelID(moduleId, chamberLayer, wireLayer, measuresPhi, strip);
231}

◆ decodeAddress() [4/4]

void CscRODReadOutV1::decodeAddress ( const uint32_t fragment)
inline

conversion of the chamnerLayer index into the new format

Definition at line 183 of file CscRODReadOutV1.h.

183 {
184 uint32_t address = 0x0001FFFF & fragment;
186 int stationName = ((address & 0x00010000) >> 16) + 50;
187 int stationEta = (((address & 0x00001000) >> 12) == 0x0) ? -1 : 1;
188 int stationPhi = ((address & 0x0000E000) >> 13) + 1;
189 int chamberLayer = ((address & 0x00000800) >> 11) + 1;
190 int wireLayer = ((address & 0x00000600) >> 9) + 1;
191 int measuresPhi = ((address & 0x00000100) >> 8);
192 int strip = (address & 0x000000FF) + 1;
193
194 // redefine the ranges
195 uint32_t nameIndex = uint32_t(stationName - 50);
196 uint32_t etaIndex = (stationEta == -1) ? 0 : 1;
197 uint32_t phiIndex = uint32_t(stationPhi - 1);
198 uint32_t chamberIndex = uint32_t(chamberLayer - 0);
199 uint32_t layerIndex = uint32_t(wireLayer - 1);
200 uint32_t stripType = uint32_t(measuresPhi);
201 uint32_t stripNumber = uint32_t(strip - 1);
202
203 // build the address
204 m_address = nameIndex << 16 | phiIndex << 13 | etaIndex << 12 | chamberIndex << 11 | layerIndex << 9 | stripType << 8 | stripNumber;
205}

◆ decodeAmplitude()

void CscRODReadOutV1::decodeAmplitude ( const uint32_t fragment)
inline

Definition at line 178 of file CscRODReadOutV1.h.

178 {
179 m_amp1 = 0x0000FFFF & fragment;
180 m_amp2 = (0xFFFF0000 & fragment) >> 16;
181}

◆ decodeSourceID()

void CscRODReadOutV1::decodeSourceID ( uint32_t sourceId)
inline

Definition at line 146 of file CscRODReadOutV1.h.

146 {
147 m_sourceID = (sourceID & 0xff000000) >> 24;
148 m_moduleType = (sourceID & 0x00ff0000) >> 16;
149 m_subDetectorId = (sourceID & 0x0000ff00) >> 8;
150 m_rodId = (sourceID & 0x000000ff);
151}
uint16_t sourceID() const

◆ discard()

bool CscRODReadOutV1::discard ( const uint32_t fragment) const
inline

Definition at line 166 of file CscRODReadOutV1.h.

166{ return (fragment == DPU_DISCARD); }
static const uint32_t DPU_DISCARD

◆ dpuHeader()

uint32_t CscRODReadOutV1::dpuHeader ( )
inline

Definition at line 37 of file CscRODReadOutV1.h.

37{ return DPU_HEADER_MARKER; }
static const uint32_t DPU_HEADER_MARKER

◆ dpuHeaderSize()

uint32_t CscRODReadOutV1::dpuHeaderSize ( )
inline

Definition at line 38 of file CscRODReadOutV1.h.

38{ return DPU_HEADER_SIZE; }
static const uint32_t DPU_HEADER_SIZE

◆ encodeFragments()

void CscRODReadOutV1::encodeFragments ( const std::vector< uint16_t > & amplitude,
std::vector< uint32_t > & v ) const

pedestal

Definition at line 66 of file CscRODReadOutV1.cxx.

66 {
67 int numberOfFragments = amplitude.size();
68
69 // now the data
71
72 int j = 0;
73 while (j < numberOfFragments) {
74 uint32_t v32 = 0;
75 uint16_t amp[2] = {0, 0};
76 for (int i = 0; i < 2; i++) { amp[i] = (BODY_AMPLITUDE << 12) | amplitude[i + j]; }
77 set32bits(amp, v32);
78 v.push_back(v32);
79 j += 2;
80 }
81}
static const uint16_t BODY_AMPLITUDE
void set32bits(const uint16_t *v16, uint32_t &v32) const
setWord1 uint16_t

◆ findCharge()

int CscRODReadOutV1::findCharge ( const std::vector< uint16_t > & amplitude,
double & time )

do a parabolic fit - from Nir and David

calculate the charge and the time need to use the correct calibration

assuming amplitude[0] gives the pedestal

Definition at line 83 of file CscRODReadOutV1.cxx.

83 {
84 // very crude - to be done better
85
86 int charge = 0;
87 time = 0.0;
88
89 int numberOfSamplings = amplitude.size();
90
91 uint16_t max = 0;
92 int maxIndex = -1;
93 for (int i = 0; i < numberOfSamplings; i++) {
94 if (amplitude[i] > max) {
95 max = amplitude[i];
96 maxIndex = i;
97 }
98 }
99
100 if (max == 0) return charge;
101 if (maxIndex < 0 || maxIndex >= numberOfSamplings) return charge;
102
104 if (maxIndex == 0)
105 return amplitude[0];
106 else if (maxIndex == (numberOfSamplings - 1))
107 return amplitude[numberOfSamplings - 1];
108 else {
109 double a, b, c;
110 double y1 = amplitude[maxIndex - 1];
111 double y2 = amplitude[maxIndex];
112 double y3 = amplitude[maxIndex + 1];
113 a = 0.5 * (y3 + y1 - 2 * y2);
114 b = 0.5 * (y3 - y1);
115 c = y2;
116
119 double offset = (a == 0) ? 0 : -b / (2 * a);
120 charge = static_cast<int>(a * offset * offset + b * offset + c - amplitude[0]);
121 time = (maxIndex + offset) * m_SAMPLING_TIME;
122 return charge;
123 }
124}
double charge(const T &p)
Definition AtlasPID.h:997
static Double_t a
#define max(a, b)
Definition cfImp.cxx:41
time(flags, cells_name, *args, **kw)

◆ getAmp1()

uint16_t CscRODReadOutV1::getAmp1 ( ) const
inline

Definition at line 84 of file CscRODReadOutV1.h.

84{ return m_amp1; }

◆ getAmp2()

uint16_t CscRODReadOutV1::getAmp2 ( ) const
inline

Definition at line 85 of file CscRODReadOutV1.h.

85{ return m_amp2; }

◆ getConversion()

double CscRODReadOutV1::getConversion ( )
inline

Definition at line 44 of file CscRODReadOutV1.h.

44{ return m_CHARGE_TO_ADC_COUNT; }

◆ getFooterSize()

uint32_t CscRODReadOutV1::getFooterSize ( )
inline

Definition at line 27 of file CscRODReadOutV1.h.

27{ return ROD_FOOTER_SIZE; }
static const uint32_t ROD_FOOTER_SIZE

◆ getHeaderSize()

uint32_t CscRODReadOutV1::getHeaderSize ( )
inline

Definition at line 26 of file CscRODReadOutV1.h.

26{ return ROD_HEADER_SIZE; }
static const uint32_t ROD_HEADER_SIZE

◆ getMaxTimeBin()

double CscRODReadOutV1::getMaxTimeBin ( )
inline

Definition at line 45 of file CscRODReadOutV1.h.

45{ return m_Z0; }

◆ getSamplingTime()

double CscRODReadOutV1::getSamplingTime ( )
inline

Definition at line 41 of file CscRODReadOutV1.h.

41{ return m_SAMPLING_TIME; }

◆ getSourceID()

uint32_t CscRODReadOutV1::getSourceID ( uint16_t side,
uint16_t rodId )
inline

Definition at line 140 of file CscRODReadOutV1.h.

140 {
141 uint32_t sourceIdentifier = 0;
142 sourceIdentifier = SOURCE_ID << 24 | MODULE_TYPE << 16 | side << 8 | rodId;
143 return sourceIdentifier;
144}
static const uint16_t SOURCE_ID
uint16_t rodId() const
static const uint16_t MODULE_TYPE

◆ getStartTime()

double CscRODReadOutV1::getStartTime ( )
inline

Definition at line 43 of file CscRODReadOutV1.h.

43{ return m_TIME_OFFSET; }

◆ hashIdentifier()

uint32_t CscRODReadOutV1::hashIdentifier ( const Identifier & moduleId)
inline

Definition at line 233 of file CscRODReadOutV1.h.

233 {
234 int chamberLayer = ((m_address & 0x00000800) >> 11) + 0;
235 int wireLayer = ((m_address & 0x00000600) >> 9) + 1;
236 int measuresPhi = ((m_address & 0x00000100) >> 8);
237 int strip = (m_address & 0x000000FF) + 1;
238 Identifier id = m_cscHelper->channelID(moduleId, chamberLayer, wireLayer, measuresPhi, strip);
239 IdContext context = m_cscHelper->channel_context();
240 IdentifierHash hash;
241 m_cscHelper->get_hash(id, hash, &context);
242 return (uint32_t)hash;
243}

◆ isAddress()

bool CscRODReadOutV1::isAddress ( const uint32_t fragment) const
inline

Definition at line 173 of file CscRODReadOutV1.h.

173 {
174 uint32_t addressTest = (fragment >> 17);
175 return (addressTest == BODY_ADDRESS);
176}
static const uint32_t BODY_ADDRESS

◆ isAmplitude()

bool CscRODReadOutV1::isAmplitude ( const uint16_t fragment) const
inline

Definition at line 168 of file CscRODReadOutV1.h.

168 {
169 uint16_t amplitudeTest = (fragment >> 12);
170 return (amplitudeTest == BODY_AMPLITUDE);
171}

◆ isDPU()

bool CscRODReadOutV1::isDPU ( const uint32_t fragment) const
inline

Definition at line 164 of file CscRODReadOutV1.h.

164{ return (fragment == DPU_HEADER_MARKER); }

◆ latency()

uint32_t CscRODReadOutV1::latency ( )
inline

Definition at line 29 of file CscRODReadOutV1.h.

29{ return LATENCY; }
static const uint32_t LATENCY

◆ moduleType()

uint16_t CscRODReadOutV1::moduleType ( ) const
inline

Definition at line 81 of file CscRODReadOutV1.h.

81{ return m_moduleType; }

◆ numberOfStrips()

uint32_t CscRODReadOutV1::numberOfStrips ( const uint32_t fragment)
inline

Definition at line 245 of file CscRODReadOutV1.h.

245 {
246 decodeAddress(fragment);
247 Identifier moduleId = decodeAddress();
248 Identifier channelId = decodeAddress(moduleId);
249 return uint32_t(m_cscHelper->stripMax(channelId));
250}
Identifier decodeAddress()

◆ numDPU()

uint32_t CscRODReadOutV1::numDPU ( )
inline

Definition at line 31 of file CscRODReadOutV1.h.

31{ return NUM_DPU; }
static const uint32_t NUM_DPU
MHz.

◆ numSamples()

uint32_t CscRODReadOutV1::numSamples ( )
inline

Definition at line 28 of file CscRODReadOutV1.h.

28{ return NUM_SAMPLES; }
static const uint32_t NUM_SAMPLES

◆ rodId()

uint16_t CscRODReadOutV1::rodId ( ) const
inline

Definition at line 83 of file CscRODReadOutV1.h.

83{ return m_rodId; }

◆ samplingRate()

uint32_t CscRODReadOutV1::samplingRate ( )
inline

Definition at line 30 of file CscRODReadOutV1.h.

30{ return RATE; }
static const uint32_t RATE

◆ set()

void CscRODReadOutV1::set ( const CscIdHelper * cscHelper)
inline

Definition at line 52 of file CscRODReadOutV1.h.

52{ m_cscHelper = cscHelper; }

◆ set32bits()

void CscRODReadOutV1::set32bits ( const uint16_t * v16,
uint32_t & v32 ) const
inlineprivate

Definition at line 153 of file CscRODReadOutV1.h.

153 {
154 uint32_t p = 0, v = 0;
155 uint16_t n = 2;
156 uint16_t pos[] = {0, 16};
157 for (uint16_t i = 0; i < n; i++) {
158 v = (uint32_t)(*(v16 + i));
159 p = (uint32_t)(*(pos + i));
160 v32 = v32 | (v << p);
161 }
162}

◆ setAddress()

void CscRODReadOutV1::setAddress ( const uint32_t address)
inline

Definition at line 215 of file CscRODReadOutV1.h.

215{ m_address = address; }

◆ setParams() [1/2]

void CscRODReadOutV1::setParams ( double samplingTime)
inline

Definition at line 138 of file CscRODReadOutV1.h.

138{ m_SAMPLING_TIME = samplingTime; }

◆ setParams() [2/2]

void CscRODReadOutV1::setParams ( double timeOffset,
double samplingTime,
double signalWidth )
inline

Definition at line 132 of file CscRODReadOutV1.h.

132 {
133 m_TIME_OFFSET = timeOffset;
134 m_SAMPLING_TIME = samplingTime;
135 m_SIGNAL_WIDTH = signalWidth;
136}

◆ setSamplingTime()

void CscRODReadOutV1::setSamplingTime ( double time)
inline

Definition at line 42 of file CscRODReadOutV1.h.

◆ signal()

double CscRODReadOutV1::signal ( double z) const
inlineprivate

Definition at line 260 of file CscRODReadOutV1.h.

260 {
261 double amplitude = (1.0 - z / (1 + m_NUMBER_OF_INTEGRATION)) * std::pow(z, m_NUMBER_OF_INTEGRATION) * exp(-z);
262 return amplitude;
263}
#define z

◆ signal_amplitude()

double CscRODReadOutV1::signal_amplitude ( double samplingTime) const
inline

Definition at line 253 of file CscRODReadOutV1.h.

253 {
254 if (samplingTime <= m_TIME_OFFSET) return 0.0;
255 double z = (samplingTime - m_TIME_OFFSET) / m_SIGNAL_WIDTH;
256 return signal(z) / m_norm;
257}

◆ sourceID()

uint16_t CscRODReadOutV1::sourceID ( ) const
inline

Definition at line 80 of file CscRODReadOutV1.h.

80{ return m_sourceID; }

◆ subDetectorId()

uint16_t CscRODReadOutV1::subDetectorId ( ) const
inline

Definition at line 82 of file CscRODReadOutV1.h.

82{ return m_subDetectorId; }

◆ triggerInfo()

void CscRODReadOutV1::triggerInfo ( uint32_t * trigger)
inline

Definition at line 32 of file CscRODReadOutV1.h.

32 {
33 for (int i = 0; i < 3; i++) *(trigger + i) = m_TRIGGER_INFO[i];
34 };

Member Data Documentation

◆ BODY_ADDRESS

const uint32_t CscRODReadOutV1::BODY_ADDRESS = 0x00000000
staticprivate

Definition at line 116 of file CscRODReadOutV1.h.

◆ BODY_AMPLITUDE

const uint16_t CscRODReadOutV1::BODY_AMPLITUDE = 0x0000
staticprivate

Definition at line 115 of file CscRODReadOutV1.h.

◆ DPU_DISCARD

const uint32_t CscRODReadOutV1::DPU_DISCARD = 0xFFFFFFFF
staticprivate

Definition at line 126 of file CscRODReadOutV1.h.

◆ DPU_HEADER_MARKER

const uint32_t CscRODReadOutV1::DPU_HEADER_MARKER = 0xC5F38856
staticprivate

Definition at line 123 of file CscRODReadOutV1.h.

◆ DPU_HEADER_SIZE

const uint32_t CscRODReadOutV1::DPU_HEADER_SIZE = 13
staticprivate

Definition at line 124 of file CscRODReadOutV1.h.

◆ LATENCY

const uint32_t CscRODReadOutV1::LATENCY = 0
staticprivate

Definition at line 119 of file CscRODReadOutV1.h.

◆ m_address

uint32_t CscRODReadOutV1::m_address
private

Definition at line 96 of file CscRODReadOutV1.h.

◆ m_amp1

uint16_t CscRODReadOutV1::m_amp1
private

Definition at line 94 of file CscRODReadOutV1.h.

◆ m_amp2

uint16_t CscRODReadOutV1::m_amp2
private

Definition at line 95 of file CscRODReadOutV1.h.

◆ m_CHARGE_TO_ADC_COUNT

double CscRODReadOutV1::m_CHARGE_TO_ADC_COUNT
private

Definition at line 103 of file CscRODReadOutV1.h.

◆ m_cscHelper

const CscIdHelper* CscRODReadOutV1::m_cscHelper
private

Definition at line 89 of file CscRODReadOutV1.h.

◆ m_moduleType

uint16_t CscRODReadOutV1::m_moduleType
private

Definition at line 91 of file CscRODReadOutV1.h.

◆ m_norm

double CscRODReadOutV1::m_norm
private

Definition at line 97 of file CscRODReadOutV1.h.

◆ m_NUMBER_OF_INTEGRATION

int CscRODReadOutV1::m_NUMBER_OF_INTEGRATION
private

Definition at line 102 of file CscRODReadOutV1.h.

◆ m_rodId

uint16_t CscRODReadOutV1::m_rodId
private

Definition at line 92 of file CscRODReadOutV1.h.

◆ m_SAMPLING_TIME

double CscRODReadOutV1::m_SAMPLING_TIME
private

Definition at line 101 of file CscRODReadOutV1.h.

◆ m_SIGNAL_WIDTH

double CscRODReadOutV1::m_SIGNAL_WIDTH
private

Definition at line 100 of file CscRODReadOutV1.h.

◆ m_sourceID

uint16_t CscRODReadOutV1::m_sourceID
private

Definition at line 90 of file CscRODReadOutV1.h.

◆ m_subDetectorId

uint16_t CscRODReadOutV1::m_subDetectorId
private

Definition at line 93 of file CscRODReadOutV1.h.

◆ m_TIME_OFFSET

double CscRODReadOutV1::m_TIME_OFFSET
private

Definition at line 99 of file CscRODReadOutV1.h.

◆ m_TRIGGER_INFO

uint32_t CscRODReadOutV1::m_TRIGGER_INFO[3] {}
private

Definition at line 106 of file CscRODReadOutV1.h.

106{};

◆ m_Z0

double CscRODReadOutV1::m_Z0
private

Definition at line 104 of file CscRODReadOutV1.h.

◆ MODULE_TYPE

const uint16_t CscRODReadOutV1::MODULE_TYPE = 0x00
staticprivate

Definition at line 113 of file CscRODReadOutV1.h.

◆ NUM_DPU

const uint32_t CscRODReadOutV1::NUM_DPU = 12
staticprivate

MHz.

Definition at line 121 of file CscRODReadOutV1.h.

◆ NUM_SAMPLES

const uint32_t CscRODReadOutV1::NUM_SAMPLES = 25
staticprivate

Definition at line 118 of file CscRODReadOutV1.h.

◆ RATE

const uint32_t CscRODReadOutV1::RATE = 40
staticprivate

Definition at line 120 of file CscRODReadOutV1.h.

◆ ROD_FOOTER_SIZE

const uint32_t CscRODReadOutV1::ROD_FOOTER_SIZE = 0x0
staticprivate

Definition at line 110 of file CscRODReadOutV1.h.

◆ ROD_HEADER_SIZE

const uint32_t CscRODReadOutV1::ROD_HEADER_SIZE = 12
staticprivate

Definition at line 108 of file CscRODReadOutV1.h.

◆ SOURCE_ID

const uint16_t CscRODReadOutV1::SOURCE_ID = 0x00
staticprivate

Definition at line 112 of file CscRODReadOutV1.h.


The documentation for this class was generated from the following files: