CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
SiStripEventSummary Class Reference

#include <SiStripEventSummary.h>

Public Member Functions

const uint16_t & apveAddress () const
 
void apveAddress (uint16_t &addr)
 
const sistrip::ApvReadoutModeapvReadoutMode () const
 
const uint32_t & binNumber () const
 
const uint32_t & bx () const
 
void bx (const uint32_t &)
 
const uint32_t & calChan () const
 
const uint32_t & calSel () const
 
void commissioningInfo (const uint32_t *const buffer, const uint32_t &event)
 
void commissioningInfo (const uint32_t &daq_register1, const uint32_t &daq_register2)
 
const uint32_t & dcuId () const
 
const uint32_t & deviceId () const
 
const uint32_t & event () const
 
void event (const uint32_t &)
 
const sistrip::FedReadoutModefedReadoutMode () const
 
void fedReadoutMode (const uint16_t &)
 
const uint32_t & isha () const
 
bool isSet () const
 
const uint32_t & latency () const
 
const uint32_t & layerScanned () const
 
const uint32_t & lldBias () const
 
const uint32_t & lldGain () const
 
const uint32_t & nApvsErrors () const
 
void nApvsErrors (uint32_t &napvs_with_errors)
 
const uint32_t & nApvsInSync () const
 
void nApvsInSync (uint32_t &napvs_in_sync)
 
const uint32_t & nApvsOutOfSync () const
 
void nApvsOutOfSync (uint32_t &napvs_out_of_sync)
 
bool nullParams () const
 
const std::vector< uint32_t > & params () const
 
const uint32_t & pllCoarse () const
 
const uint32_t & pllFine () const
 
const uint32_t & processId () const
 
const uint32_t & processIp () const
 
const sistrip::RunTyperunType () const
 
 SiStripEventSummary ()
 
uint16_t triggerFed () const
 
void triggerFed (const int16_t &)
 
const uint32_t & ttcrx () const
 
bool valid () const
 
const uint32_t & vfs () const
 
const uint32_t & vpsp () const
 
const uint32_t & vpspCcuChan () const
 
 ~SiStripEventSummary ()
 

Private Attributes

uint16_t apveAddress_
 
sistrip::ApvReadoutMode apvReadoutMode_
 
uint32_t bx_
 
uint32_t event_
 
sistrip::FedReadoutMode fedReadoutMode_
 
uint32_t nApvsErrors_
 
uint32_t nApvsInSync_
 
uint32_t nApvsOutOfSync_
 
uint32_t nDataSenders_
 
std::vector< uint32_t > params_
 
sistrip::RunType runType_
 
uint32_t spillNumber_
 
uint16_t triggerFed_
 
bool valid_
 

Detailed Description

Definition at line 23 of file SiStripEventSummary.h.

Constructor & Destructor Documentation

SiStripEventSummary::SiStripEventSummary ( )

Default constructor.

Definition at line 13 of file SiStripEventSummary.cc.

13  :
14  valid_(true),
15  triggerFed_(0),
17  event_(0),
18  bx_(0),
19  spillNumber_(0),
20  nDataSenders_(0),
23  apveAddress_(0),
24  nApvsInSync_(0),
25  nApvsOutOfSync_(0),
26  nApvsErrors_(0),
27  params_(5,0)
28 {;}
sistrip::FedReadoutMode fedReadoutMode_
sistrip::RunType runType_
sistrip::ApvReadoutMode apvReadoutMode_
std::vector< uint32_t > params_
SiStripEventSummary::~SiStripEventSummary ( )
inline

Default destructor.

Definition at line 33 of file SiStripEventSummary.h.

33 {;}

Member Function Documentation

const uint16_t & SiStripEventSummary::apveAddress ( ) const
inline

Returns APVE golden pipeline address.

Definition at line 233 of file SiStripEventSummary.h.

References apveAddress_.

233 { return apveAddress_; }
void SiStripEventSummary::apveAddress ( uint16_t &  addr)
inline

Definition at line 263 of file SiStripEventSummary.h.

References apveAddress_.

263 { apveAddress_ = addr; }
const sistrip::ApvReadoutMode & SiStripEventSummary::apvReadoutMode ( ) const
inline

Returns APV readout mode.

Definition at line 231 of file SiStripEventSummary.h.

References apvReadoutMode_.

Referenced by operator<<().

231 { return apvReadoutMode_; }
sistrip::ApvReadoutMode apvReadoutMode_
const uint32_t & SiStripEventSummary::binNumber ( ) const
inline

Returns bin number for very fast connection.

Definition at line 240 of file SiStripEventSummary.h.

References params_.

Referenced by FastFedCablingTask::fill().

240 { return params_[0]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::bx ( ) const
inline

Returns bunch crossing number.

Definition at line 228 of file SiStripEventSummary.h.

References bx_.

Referenced by bx(), operator<<(), and sistrip::RawToDigiUnpacker::triggerFed().

228 { return bx_; }
void SiStripEventSummary::bx ( const uint32_t &  bx)
inline

Sets bunch crossing number.

Definition at line 261 of file SiStripEventSummary.h.

References bx(), and bx_.

261 { bx_ = bx; }
const uint32_t & bx() const
const uint32_t & SiStripEventSummary::calChan ( ) const
inline

Returns APV calibration channels (CDRV).

Definition at line 244 of file SiStripEventSummary.h.

References params_.

Referenced by CalibrationScanTask::fill(), and CalibrationTask::fill().

244 { return params_[1]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::calSel ( ) const
inline

Returns APV calibration timing (CSEL).

Definition at line 245 of file SiStripEventSummary.h.

References params_.

Referenced by CalibrationScanTask::fill(), and CalibrationTask::fill().

245 { return params_[2]; }
std::vector< uint32_t > params_
void SiStripEventSummary::commissioningInfo ( const uint32_t *const  buffer,
const uint32_t &  event 
)

Sets commissioning-related information.

Definition at line 32 of file SiStripEventSummary.cc.

References sistrip::APV_LATENCY, sistrip::APV_TIMING, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, sistrip::DAQ_SCOPE_MODE, sistrip::FAST_CABLING, sistrip::FED_CABLING, sistrip::FED_PROC_RAW, sistrip::FED_SCOPE_MODE, sistrip::FED_TIMING, sistrip::FED_VIRGIN_RAW, sistrip::FED_ZERO_SUPPR, sistrip::FED_ZERO_SUPPR_LITE, fedReadoutMode_, sistrip::FINE_DELAY, sistrip::FINE_DELAY_PLL, sistrip::FINE_DELAY_TTC, newFWLiteAna::found, edm::isDebugEnabled(), combine::key, LogTrace, sistrip::mlDigis_, nDataSenders_, sistrip::OPTO_SCAN, params_, sistrip::PEDESTALS, sistrip::PHYSICS, sistrip::PHYSICS_ZS, sistrip::QUITE_FAST_CABLING, DTTTrigCorrFirst::run, SiStripEnumsAndStrings::runType(), runType_, spillNumber_, sistrip::UNKNOWN_FED_READOUT_MODE, and sistrip::VPSP_SCAN.

Referenced by sistrip::RawToDigiUnpacker::triggerFed(), and sistrip::RawToDigiUnpacker::updateEventSummary().

33  {
34 
35  // Set RunType
36  uint16_t run = static_cast<uint16_t>( buffer[10] & 0xFFFF );
38 
39  // Set spill number
40  spillNumber_ = buffer[0];
41 
42  // Set number of DataSenders
43  nDataSenders_ = buffer[20];
44 
45  // Set FED readout mode
46  if ( buffer[15] == 0 ) { fedReadoutMode_ = sistrip::FED_SCOPE_MODE; }
47  else if ( buffer[15] == 1 ) { fedReadoutMode_ = sistrip::FED_VIRGIN_RAW; }
48  else if ( buffer[15] == 2 ) { fedReadoutMode_ = sistrip::FED_PROC_RAW; }
49  else if ( buffer[15] == 3 ) { fedReadoutMode_ = sistrip::FED_ZERO_SUPPR; }
50  else if ( buffer[15] == 4 ) { fedReadoutMode_ = sistrip::FED_ZERO_SUPPR_LITE; }
52 
53  // Set hardware parameters
59 
60  params_[0] = buffer[11]; // latency
61  params_[1] = buffer[12]; // cal_chan
62  params_[2] = buffer[13]; // cal_sel
63  params_[3] = buffer[15]; // isha
64  params_[4] = buffer[16]; // vfs
65 
66  } else if ( runType_ == sistrip::OPTO_SCAN ) {
67 
68  params_[0] = buffer[11]; // opto gain
69  params_[1] = buffer[12]; // opto bias
70 
71  } else if ( runType_ == sistrip::APV_TIMING ||
73  params_[0] = buffer[11]; // pll coarse delay
74  params_[1] = buffer[12]; // pll fine delay
75  params_[2] = buffer[13]; // ttcrx delay
76  } else if ( runType_ == sistrip::FINE_DELAY || //@@ layer
79  params_[0] = buffer[11]; // pll coarse delay
80  params_[1] = buffer[12]; // pll fine delay
81  params_[2] = buffer[13]; // ttcrx delay
82  params_[3] = buffer[14]; // layer (private format: DDSSLLLL, det, side, layer)
83 
84  } else if ( runType_ == sistrip::FAST_CABLING ) {
85 
86  params_[0] = buffer[11]; // bin number
87  params_[1] = buffer[12]; // fec instance
88  params_[2] = buffer[13]; // fec ip
89  params_[3] = buffer[14]; // dcu hard id
90 
91  } else if ( runType_ == sistrip::FED_CABLING ||
93 
95 
96  uint16_t ii = 0;
97  bool found = false;
98  while ( !found && ii < 20 ) {
99  uint32_t dcu = buffer[21+3*ii];
100  uint32_t key = buffer[21+3*ii+1];
101  uint32_t evt = buffer[21+3*ii+2];
102  if ( evt == event ) {
103  params_[0] = key; // device id
104  params_[1] = 0; // process id
105  params_[2] = 0; // process ip
106  params_[3] = dcu; // dcu hard id
107  found = true;
108  }
109  ii++;
110  }
111  if ( !found ) {
112  if ( edm::isDebugEnabled() ) {
113  std::stringstream ss;
114  ss << "[SiStripEventSummary::" << __func__ << "]"
115  << " Did not find DeviceId/DCUid for event "
116  << event << "!";
117  edm::LogWarning(mlDigis_) << ss.str();
118  }
119  params_[0] = 0;
120  params_[1] = 0;
121  params_[2] = 0;
122  params_[3] = 0;
123  } else {
124  if ( edm::isDebugEnabled() ) {
125  std::stringstream ss;
126  ss << "[SiStripEventSummary::" << __func__ << "]"
127  << " Found DeviceId/DCUid for event "
128  << event << ": 0x"
129  << std::hex << std::setw(8) << std::setfill('0') << params_[0] << std::dec
130  << "/0x"
131  << std::hex << std::setw(8) << std::setfill('0') << params_[3] << std::dec;
132  LogTrace(mlDigis_) << ss.str();
133  }
134  }
135 
136  } else {
137 
138  params_[0] = buffer[11]; // device id
139  params_[1] = buffer[12]; // process id
140  params_[2] = buffer[13]; // process ip
141  params_[3] = buffer[14]; // dcu hard id
142 
143  }
144 
145  } else if ( runType_ == sistrip::VPSP_SCAN ) {
146 
147  params_[0] = buffer[11]; // vpsp value
148  params_[1] = buffer[12]; // ccu channel
149 
150  } else if ( runType_ == sistrip::DAQ_SCOPE_MODE ) {
151 
152  // nothing interesting!
153 
154  } else if ( runType_ == sistrip::PHYSICS ||
157 
158  //@@ do anything?...
159 
160  } else {
161 
162  if ( edm::isDebugEnabled() ) {
164  << "[SiStripEventSummary::" << __func__ << "]"
165  << " Unexpected commissioning task: "
166  << runType_;
167  }
168 
169  }
170 
171 }
sistrip::FedReadoutMode fedReadoutMode_
bool isDebugEnabled()
static const char mlDigis_[]
static std::string runType(const sistrip::RunType &)
sistrip::RunType runType_
const uint32_t & event() const
#define LogTrace(id)
list key
Definition: combine.py:13
std::vector< uint32_t > params_
void SiStripEventSummary::commissioningInfo ( const uint32_t &  daq_register1,
const uint32_t &  daq_register2 
)

Sets DAQ register information.

Definition at line 178 of file SiStripEventSummary.cc.

References sistrip::APV_LATENCY, sistrip::APV_TIMING, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::DAQ_SCOPE_MODE, sistrip::FAST_CABLING, sistrip::FED_CABLING, sistrip::FED_TIMING, sistrip::FINE_DELAY, sistrip::FINE_DELAY_PLL, sistrip::FINE_DELAY_TTC, sistrip::invalid32_, edm::isDebugEnabled(), sistrip::mlDigis_, sistrip::OPTO_SCAN, params_, sistrip::PEDESTALS, sistrip::PHYSICS, sistrip::PHYSICS_ZS, sistrip::QUITE_FAST_CABLING, DTTTrigCorrFirst::run, SiStripEnumsAndStrings::runType(), runType_, groupFilesInBlocks::temp, valid_, and sistrip::VPSP_SCAN.

179  {
180 
181  // Extract if commissioning info are valid or not
182  uint16_t temp = static_cast<uint16_t>( (daq1>>8)&0x3 );
183  if ( temp == uint16_t(1) ) { valid_ = true; }
184  else if ( temp == uint16_t(2) ) { valid_ = false; }
185  else if ( temp == uint16_t(3) &&
186  daq1 == sistrip::invalid32_ ) {
187  if ( edm::isDebugEnabled() ) {
189  << "[SiStripEventSummary::" << __func__ << "]"
190  << " DAQ register contents set to invalid: 0x"
191  << std::hex
192  << std::setw(8) << std::setfill('0') << daq1
193  << std::dec;
194  }
195  valid_ = false;
196  } else {
197  if ( edm::isDebugEnabled() ) {
199  << "[SiStripEventSummary::" << __func__ << "]"
200  << " Unexpected bit pattern set in DAQ1: 0x"
201  << std::hex
202  << std::setw(8) << std::setfill('0') << daq1
203  << std::dec;
204  }
205  valid_ = false;
206  }
207 
208  // Set RunType
209  uint16_t run = static_cast<uint16_t>( daq1&0xFF );
211 
212  // Set hardware parameters
213  if ( runType_ == sistrip::PHYSICS ) {
214  } else if ( runType_ == sistrip::PHYSICS_ZS ) {
215  } else if ( runType_ == sistrip::PEDESTALS ) {
216  } else if ( runType_ == sistrip::DAQ_SCOPE_MODE ) {
217  } else if ( runType_ == sistrip::CALIBRATION ) {
218  } else if ( runType_ == sistrip::CALIBRATION_DECO ) {
219  params_[0] = (daq2>>8)&0xFF; // latency
220  params_[1] = (daq2>>4)&0x0F; // cal_chan
221  params_[2] = (daq2>>0)&0x0F; // cal_sel
222  } else if ( runType_ == sistrip::CALIBRATION_SCAN ) {
223  params_[0] = (daq2>>8)&0xFF; // latency
224  params_[1] = (daq2>>4)&0x0F; // cal_chan
225  params_[2] = (daq2>>0)&0x0F; // cal_sel
226  } else if ( runType_ == sistrip::OPTO_SCAN ) {
227  params_[0] = (daq2>>8)&0xFF; // opto gain
228  params_[1] = (daq2>>0)&0xFF; // opto bias
229  } else if ( runType_ == sistrip::APV_TIMING ) {
230  params_[1] = (daq2>>0)&0xFF; // pll fine delay
231  } else if ( runType_ == sistrip::APV_LATENCY ) {
232  params_[0] = (daq2>>0)&0xFF; // latency
233  } else if ( runType_ == sistrip::FINE_DELAY_PLL ) {
234  } else if ( runType_ == sistrip::FINE_DELAY_TTC ) {
235  } else if ( runType_ == sistrip::FINE_DELAY ) { //@@ layer
236  params_[2] = (daq2>>0 )&0xFFFF; // ttcrx delay
237  params_[0] = params_[2]/25; // pll coarse delay
238  params_[1] = uint32_t((params_[2]%25)*24./25.); // pll fine delay
239  params_[3] = (daq2>>0)&0xFFFF0000; // layer (private format: DDSSLLLL (det, side, layer)
240  } else if ( runType_ == sistrip::FED_TIMING ) {
241  params_[1] = (daq2>>0)&0xFF; // pll fine delay
242  } else if ( runType_ == sistrip::VPSP_SCAN ) {
243  params_[0] = (daq2>>8)&0xFF; // vpsp value
244  params_[1] = (daq2>>0)&0xFF; // ccu channel
245  } else if ( runType_ == sistrip::FED_CABLING ) {
246  } else if ( runType_ == sistrip::QUITE_FAST_CABLING ) {
247  } else if ( runType_ == sistrip::FAST_CABLING ) {
248  params_[0] = (daq2>>0)&0xFF; // key
249  } else {
250  if ( edm::isDebugEnabled() ) {
252  << "[SiStripEventSummary::" << __func__ << "]"
253  << " Unexpected commissioning task: "
254  << runType_;
255  }
256  }
257 
258 }
bool isDebugEnabled()
static const uint32_t invalid32_
Definition: Constants.h:16
static const char mlDigis_[]
static std::string runType(const sistrip::RunType &)
sistrip::RunType runType_
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::dcuId ( ) const
inline

Returns DCU id.

Definition at line 256 of file SiStripEventSummary.h.

References params_.

Referenced by SiStripCommissioningSource::fillCablingHistos().

256 { return params_[3]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::deviceId ( ) const
inline

Returns device id.

Definition at line 253 of file SiStripEventSummary.h.

References params_.

Referenced by SiStripCommissioningSource::fillCablingHistos().

253 { return params_[0]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::event ( ) const
inline

Returns event number.

Definition at line 227 of file SiStripEventSummary.h.

References event_.

Referenced by event(), PedsFullNoiseTask::fill(), operator<<(), and sistrip::RawToDigiUnpacker::triggerFed().

227 { return event_; }
void SiStripEventSummary::event ( const uint32_t &  event)
inline

Sets event number.

Definition at line 260 of file SiStripEventSummary.h.

References event(), and event_.

260 { event_ = event; }
const uint32_t & event() const
const sistrip::FedReadoutMode & SiStripEventSummary::fedReadoutMode ( ) const
inline

Returns FED readout mode.

Definition at line 230 of file SiStripEventSummary.h.

References fedReadoutMode_.

Referenced by operator<<(), and sistrip::RawToDigiUnpacker::updateEventSummary().

230 { return fedReadoutMode_; }
sistrip::FedReadoutMode fedReadoutMode_
void SiStripEventSummary::fedReadoutMode ( const uint16_t &  mode)
const uint32_t & SiStripEventSummary::isha ( ) const
inline

Returns APV ISHA.

Definition at line 246 of file SiStripEventSummary.h.

References params_.

Referenced by CalibrationScanTask::fill().

246 { return params_[3]; }
std::vector< uint32_t > params_
bool SiStripEventSummary::isSet ( ) const
inline

Flag to identify if commissioning info already set.

Definition at line 224 of file SiStripEventSummary.h.

References runType_, and sistrip::UNDEFINED_RUN_TYPE.

Referenced by sistrip::RawToDigiUnpacker::createDigis(), operator<<(), sistrip::RawToDigiUnpacker::triggerFed(), and sistrip::RawToDigiUnpacker::updateEventSummary().

224 { return ( /* triggerFed_ > 0 && */ runType_ != sistrip::UNDEFINED_RUN_TYPE ); }
sistrip::RunType runType_
const uint32_t & SiStripEventSummary::latency ( ) const
inline

Returns APV latency setting.

Definition at line 243 of file SiStripEventSummary.h.

References params_.

Referenced by CalibrationScanTask::fill(), and CalibrationTask::fill().

243 { return params_[0]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::layerScanned ( ) const
inline

Returns the layer mask for fine delay runs

Definition at line 257 of file SiStripEventSummary.h.

References params_.

257 { return params_[3]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::lldBias ( ) const
inline

Returns LLD bias setting.

Definition at line 252 of file SiStripEventSummary.h.

References params_.

Referenced by OptoScanTask::fill().

252 { return params_[1]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::lldGain ( ) const
inline

Returns LLD gain setting.

Definition at line 251 of file SiStripEventSummary.h.

References params_.

Referenced by OptoScanTask::fill().

251 { return params_[0]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::nApvsErrors ( ) const
inline

Returns number of APVs with error flags set.

Definition at line 236 of file SiStripEventSummary.h.

References nApvsErrors_.

236 { return nApvsErrors_; }
void SiStripEventSummary::nApvsErrors ( uint32_t &  napvs_with_errors)
inline

Definition at line 266 of file SiStripEventSummary.h.

References nApvsErrors_.

266 { nApvsErrors_ = napvs_with_errors; }
const uint32_t & SiStripEventSummary::nApvsInSync ( ) const
inline

Returns number of APVs that are synchronized.

Definition at line 234 of file SiStripEventSummary.h.

References nApvsInSync_.

234 { return nApvsInSync_; }
void SiStripEventSummary::nApvsInSync ( uint32_t &  napvs_in_sync)
inline

Definition at line 264 of file SiStripEventSummary.h.

References nApvsInSync_.

264 { nApvsInSync_ = napvs_in_sync; }
const uint32_t & SiStripEventSummary::nApvsOutOfSync ( ) const
inline

Returns number of APVs that are not synchronized.

Definition at line 235 of file SiStripEventSummary.h.

References nApvsOutOfSync_.

235 { return nApvsOutOfSync_; }
void SiStripEventSummary::nApvsOutOfSync ( uint32_t &  napvs_out_of_sync)
inline

Definition at line 265 of file SiStripEventSummary.h.

References nApvsOutOfSync_.

265 { nApvsOutOfSync_ = napvs_out_of_sync; }
bool SiStripEventSummary::nullParams ( ) const
inline

Indicates whether all params are null or not.

Definition at line 238 of file SiStripEventSummary.h.

References params_.

238 { return ( !params_[0] && !params_[1] && !params_[2] && !params_[3] ); }
std::vector< uint32_t > params_
const std::vector< uint32_t > & SiStripEventSummary::params ( ) const
inline

Returns values of all params.

Definition at line 239 of file SiStripEventSummary.h.

References params_.

Referenced by operator<<().

239 { return params_; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::pllCoarse ( ) const
inline

Returns PLL coarse delay setting.

Definition at line 241 of file SiStripEventSummary.h.

References params_.

241 { return params_[0]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::pllFine ( ) const
inline

Returns PLL fine delay setting.

Definition at line 242 of file SiStripEventSummary.h.

References params_.

Referenced by ApvTimingTask::fill(), and FedTimingTask::fill().

242 { return params_[1]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::processId ( ) const
inline

Returns process id.

Definition at line 254 of file SiStripEventSummary.h.

References params_.

254 { return params_[1]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::processIp ( ) const
inline

Returns process IP address.

Definition at line 255 of file SiStripEventSummary.h.

References params_.

255 { return params_[2]; }
std::vector< uint32_t > params_
const sistrip::RunType & SiStripEventSummary::runType ( ) const
inline

Returns run type.

Definition at line 226 of file SiStripEventSummary.h.

References runType_.

Referenced by sistrip::RawToDigiUnpacker::createDigis(), SiStripCommissioningSource::createTask(), and operator<<().

226 { return runType_; }
sistrip::RunType runType_
uint16_t SiStripEventSummary::triggerFed ( ) const
inline

Identifier of trigger FED (null value means not found).

Definition at line 223 of file SiStripEventSummary.h.

References triggerFed_.

Referenced by operator<<(), sistrip::RawToDigiUnpacker::triggerFed(), and sistrip::RawToDigiUnpacker::updateEventSummary().

223 { return triggerFed_; }
void SiStripEventSummary::triggerFed ( const int16_t &  fed)
inline

Sets trigger FED number.

Definition at line 259 of file SiStripEventSummary.h.

References triggerFed_.

259 { fed < 0 ? triggerFed_ = 0 : triggerFed_ = fed; }
const uint32_t & SiStripEventSummary::ttcrx ( ) const
inline

Returns TTCrx delay setting.

Definition at line 248 of file SiStripEventSummary.h.

References params_.

248 { return params_[2]; }
std::vector< uint32_t > params_
bool SiStripEventSummary::valid ( ) const
inline

Identifies if commissioning info is valid or not (when using global trigger to understand if HW config is being changed).

Definition at line 222 of file SiStripEventSummary.h.

References valid_.

Referenced by sistrip::RawToDigiUnpacker::createDigis(), and operator<<().

222 { return valid_; }
const uint32_t & SiStripEventSummary::vfs ( ) const
inline

Returns APV VFS.

Definition at line 247 of file SiStripEventSummary.h.

References params_.

Referenced by CalibrationScanTask::fill().

247 { return params_[4]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::vpsp ( ) const
inline

Returns VPSP setting.

Definition at line 249 of file SiStripEventSummary.h.

References params_.

249 { return params_[0]; }
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::vpspCcuChan ( ) const
inline

Returns CCU channel of module being tuned for VPSP.

Definition at line 250 of file SiStripEventSummary.h.

References params_.

250 { return params_[1]; }
std::vector< uint32_t > params_

Member Data Documentation

uint16_t SiStripEventSummary::apveAddress_
private

APVE golden pipeline address.

Definition at line 204 of file SiStripEventSummary.h.

Referenced by apveAddress().

sistrip::ApvReadoutMode SiStripEventSummary::apvReadoutMode_
private

APV readout mode.

Definition at line 201 of file SiStripEventSummary.h.

Referenced by apvReadoutMode().

uint32_t SiStripEventSummary::bx_
private

Bunch crossing number.

Definition at line 187 of file SiStripEventSummary.h.

Referenced by bx().

uint32_t SiStripEventSummary::event_
private

Event number.

Definition at line 184 of file SiStripEventSummary.h.

Referenced by event().

sistrip::FedReadoutMode SiStripEventSummary::fedReadoutMode_
private

FED readout mode.

Definition at line 198 of file SiStripEventSummary.h.

Referenced by commissioningInfo(), and fedReadoutMode().

uint32_t SiStripEventSummary::nApvsErrors_
private

Number of APVs with error flags set.

Definition at line 213 of file SiStripEventSummary.h.

Referenced by nApvsErrors().

uint32_t SiStripEventSummary::nApvsInSync_
private

Number of APVs that are synchronized.

Definition at line 207 of file SiStripEventSummary.h.

Referenced by nApvsInSync().

uint32_t SiStripEventSummary::nApvsOutOfSync_
private

Number of APVs that are not synchronized.

Definition at line 210 of file SiStripEventSummary.h.

Referenced by nApvsOutOfSync().

uint32_t SiStripEventSummary::nDataSenders_
private

Number of DataSenders (c.f. ReadoutUnits).

Definition at line 193 of file SiStripEventSummary.h.

Referenced by commissioningInfo().

std::vector<uint32_t> SiStripEventSummary::params_
private
sistrip::RunType SiStripEventSummary::runType_
private

Run type.

Definition at line 181 of file SiStripEventSummary.h.

Referenced by commissioningInfo(), isSet(), and runType().

uint32_t SiStripEventSummary::spillNumber_
private

Spill number.

Definition at line 190 of file SiStripEventSummary.h.

Referenced by commissioningInfo().

uint16_t SiStripEventSummary::triggerFed_
private

Definition at line 175 of file SiStripEventSummary.h.

Referenced by triggerFed().

bool SiStripEventSummary::valid_
private

Flag to signify if trigger FED information is valid.

Definition at line 172 of file SiStripEventSummary.h.

Referenced by commissioningInfo(), and valid().