ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
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. More...
 
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  :
9  m_cscHelper(nullptr), m_sourceID(0), m_moduleType(0), m_rodId(0), m_subDetectorId(0), m_amp1(0), m_amp2(0), m_address(0) {
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);
38  m_norm = signal(m_Z0);
39 
40  // trigger info : TDC, time, etc
41  for (int i = 0; i < 3; i++) m_TRIGGER_INFO[i] = 0;
42 }

◆ CscRODReadOutV1() [2/2]

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

Definition at line 44 of file CscRODReadOutV1.cxx.

44  :
45  m_cscHelper(nullptr), m_sourceID(0), m_moduleType(0), m_rodId(0), m_subDetectorId(0), m_amp1(0), m_amp2(0), m_address(0) {
46  m_TIME_OFFSET = startTime; // ns
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);
57  m_norm = signal(m_Z0);
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
271  int chamberLayer = m_cscHelper->chamberLayer(channelId);
272  int wireLayer = m_cscHelper->wireLayer(channelId);
273  int orientation = m_cscHelper->measuresPhi(channelId);
275 
276  // redefine the ranges
277  uint32_t nameIndex = uint32_t(name - 50);
278  uint32_t etaIndex = (eta == -1) ? 0 : 1;
279  uint32_t phiIndex = uint32_t(phi - 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
286  uint32_t address =
287  nameIndex << 16 | phiIndex << 13 | etaIndex << 12 | chamberIndex << 11 | layerIndex << 9 | stripType << 8 | stripNumber;
288 
289  return address;
290 }

◆ 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 
213 }

◆ 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;
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 }

◆ discard()

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

Definition at line 166 of file CscRODReadOutV1.h.

166 { return (fragment == DPU_DISCARD); }

◆ dpuHeader()

uint32_t CscRODReadOutV1::dpuHeader ( )
inline

Definition at line 37 of file CscRODReadOutV1.h.

37 { return DPU_HEADER_MARKER; }

◆ dpuHeaderSize()

uint32_t CscRODReadOutV1::dpuHeaderSize ( )
inline

Definition at line 38 of file CscRODReadOutV1.h.

38 { return 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
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 }

◆ 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 }

◆ 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; }

◆ getHeaderSize()

uint32_t CscRODReadOutV1::getHeaderSize ( )
inline

Definition at line 26 of file CscRODReadOutV1.h.

26 { return 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 }

◆ 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);
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 }

◆ 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; }

◆ 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);
250 }

◆ numDPU()

uint32_t CscRODReadOutV1::numDPU ( )
inline

Definition at line 31 of file CscRODReadOutV1.h.

31 { return NUM_DPU; }

◆ numSamples()

uint32_t CscRODReadOutV1::numSamples ( )
inline

Definition at line 28 of file CscRODReadOutV1.h.

28 { return 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; }

◆ 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.

42 { m_SAMPLING_TIME = time; }

◆ 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 }

◆ 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.

◆ 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:
CscRODReadOutV1::m_TRIGGER_INFO
uint32_t m_TRIGGER_INFO[3]
Definition: CscRODReadOutV1.h:106
CscRODReadOutV1::ROD_HEADER_SIZE
static const uint32_t ROD_HEADER_SIZE
Definition: CscRODReadOutV1.h:108
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
CscRODReadOutV1::decodeAddress
Identifier decodeAddress()
Definition: CscRODReadOutV1.h:207
Muon::nsw::STGTPSegments::moduleIDBits::stationPhi
constexpr uint8_t stationPhi
station Phi 1 to 8
Definition: NSWSTGTPDecodeBitmaps.h:161
CscIdHelper::stripMax
static int stripMax()
Definition: CscIdHelper.cxx:804
SiliconTech::strip
@ strip
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
CscRODReadOutV1::NUM_DPU
static const uint32_t NUM_DPU
MHz.
Definition: CscRODReadOutV1.h:121
dumpTgcDigiDeadChambers.stationName
dictionary stationName
Definition: dumpTgcDigiDeadChambers.py:30
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
MuonIdHelper::channel_context
IdContext channel_context() const
id for channel
Definition: MuonIdHelper.cxx:741
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
CscRODReadOutV1::m_rodId
uint16_t m_rodId
Definition: CscRODReadOutV1.h:92
CscRODReadOutV1::m_CHARGE_TO_ADC_COUNT
double m_CHARGE_TO_ADC_COUNT
Definition: CscRODReadOutV1.h:103
CscRODReadOutV1::m_cscHelper
const CscIdHelper * m_cscHelper
Definition: CscRODReadOutV1.h:89
lumiFormat.startTime
startTime
Definition: lumiFormat.py:95
MuonIdHelper::stationName
int stationName(const Identifier &id) const
Definition: MuonIdHelper.cxx:800
drawFromPickle.exp
exp
Definition: drawFromPickle.py:36
CscRODReadOutV1::m_sourceID
uint16_t m_sourceID
Definition: CscRODReadOutV1.h:90
makeTRTBarrelCans.y1
tuple y1
Definition: makeTRTBarrelCans.py:15
CscRODReadOutV1::m_norm
double m_norm
Definition: CscRODReadOutV1.h:97
CscRODReadOutV1::RATE
static const uint32_t RATE
Definition: CscRODReadOutV1.h:120
CscRODReadOutV1::DPU_HEADER_SIZE
static const uint32_t DPU_HEADER_SIZE
Definition: CscRODReadOutV1.h:124
TRT::Hit::side
@ side
Definition: HitInfo.h:83
CscRODReadOutV1::MODULE_TYPE
static const uint16_t MODULE_TYPE
Definition: CscRODReadOutV1.h:113
CscIdHelper::wireLayer
int wireLayer(const Identifier &id) const
Definition: CscIdHelper.cxx:772
CscRODReadOutV1::DPU_DISCARD
static const uint32_t DPU_DISCARD
Definition: CscRODReadOutV1.h:126
CscRODReadOutV1::BODY_AMPLITUDE
static const uint16_t BODY_AMPLITUDE
Definition: CscRODReadOutV1.h:115
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
lumiFormat.i
int i
Definition: lumiFormat.py:85
z
#define z
CscRODReadOutV1::m_Z0
double m_Z0
Definition: CscRODReadOutV1.h:104
beamspotman.n
n
Definition: beamspotman.py:731
CscRODReadOutV1::signal
double signal(double z) const
Definition: CscRODReadOutV1.h:260
makeTRTBarrelCans.y2
tuple y2
Definition: makeTRTBarrelCans.py:18
CscRODReadOutV1::m_SIGNAL_WIDTH
double m_SIGNAL_WIDTH
Definition: CscRODReadOutV1.h:100
CscRODReadOutV1::address
uint32_t address() const
Definition: CscRODReadOutV1.h:86
CscRODReadOutV1::LATENCY
static const uint32_t LATENCY
Definition: CscRODReadOutV1.h:119
CscRODReadOutV1::m_amp2
uint16_t m_amp2
Definition: CscRODReadOutV1.h:95
CscRODReadOutV1::sourceID
uint16_t sourceID() const
Definition: CscRODReadOutV1.h:80
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
CscRODReadOutV1::m_NUMBER_OF_INTEGRATION
int m_NUMBER_OF_INTEGRATION
Definition: CscRODReadOutV1.h:102
CscRODReadOutV1::rodId
uint16_t rodId() const
Definition: CscRODReadOutV1.h:83
MuonIdHelper::stationPhi
int stationPhi(const Identifier &id) const
Definition: MuonIdHelper.cxx:810
CscRODReadOutV1::m_moduleType
uint16_t m_moduleType
Definition: CscRODReadOutV1.h:91
CscRODReadOutV1::SOURCE_ID
static const uint16_t SOURCE_ID
Definition: CscRODReadOutV1.h:112
CscIdHelper::channelID
Identifier channelID(int stationName, int stationEta, int stationPhi, int chamberLayer, int wireLayer, int measuresPhi, int strip) const
Definition: CscIdHelper.cxx:706
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
charge
double charge(const T &p)
Definition: AtlasPID.h:756
MuonIdHelper::stationEta
int stationEta(const Identifier &id) const
Definition: MuonIdHelper.cxx:805
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
CscIdHelper::elementID
Identifier elementID(int stationName, int stationEta, int stationPhi) const
Definition: CscIdHelper.cxx:678
eflowRec::phiIndex
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
Definition: EtaPhiLUT.cxx:23
python.PyAthena.v
v
Definition: PyAthena.py:154
a
TList * a
Definition: liststreamerinfos.cxx:10
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
MuonIdHelper::get_hash
virtual int get_hash(const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const override
Create hash id from compact id (return == 0 for OK)
Definition: MuonIdHelper.cxx:144
CscIdHelper::strip
int strip(const Identifier &id) const
Definition: CscIdHelper.cxx:776
CscRODReadOutV1::m_subDetectorId
uint16_t m_subDetectorId
Definition: CscRODReadOutV1.h:93
CscRODReadOutV1::set32bits
void set32bits(const uint16_t *v16, uint32_t &v32) const
Definition: CscRODReadOutV1.h:153
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71
CscRODReadOutV1::DPU_HEADER_MARKER
static const uint32_t DPU_HEADER_MARKER
Definition: CscRODReadOutV1.h:123
CscRODReadOutV1::NUM_SAMPLES
static const uint32_t NUM_SAMPLES
Definition: CscRODReadOutV1.h:118
CscIdHelper::measuresPhi
bool measuresPhi(const Identifier &id) const override
Definition: CscIdHelper.cxx:774
Muon::nsw::STGTPSegments::moduleIDBits::stationEta
constexpr uint8_t stationEta
1 to 3
Definition: NSWSTGTPDecodeBitmaps.h:159
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
CscRODReadOutV1::m_address
uint32_t m_address
Definition: CscRODReadOutV1.h:96
pow
constexpr int pow(int base, int exp) noexcept
Definition: ap_fixedTest.cxx:15
CscRODReadOutV1::ROD_FOOTER_SIZE
static const uint32_t ROD_FOOTER_SIZE
Definition: CscRODReadOutV1.h:110
IdContext
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
Definition: IdContext.h:26
python.compressB64.c
def c
Definition: compressB64.py:93
CscRODReadOutV1::BODY_ADDRESS
static const uint32_t BODY_ADDRESS
Definition: CscRODReadOutV1.h:116
CscRODReadOutV1::m_SAMPLING_TIME
double m_SAMPLING_TIME
Definition: CscRODReadOutV1.h:101
CscRODReadOutV1::m_amp1
uint16_t m_amp1
Definition: CscRODReadOutV1.h:94
CscIdHelper::chamberLayer
int chamberLayer(const Identifier &id) const
Definition: CscIdHelper.cxx:770
CscRODReadOutV1::m_TIME_OFFSET
double m_TIME_OFFSET
Definition: CscRODReadOutV1.h:99
Identifier
Definition: IdentifierFieldParser.cxx:14