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 22 of file SiStripEventSummary.h.

Constructor & Destructor Documentation

SiStripEventSummary::SiStripEventSummary ( )

Default constructor.

Definition at line 12 of file SiStripEventSummary.cc.

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

Default destructor.

Definition at line 32 of file SiStripEventSummary.h.

32 {;}

Member Function Documentation

const uint16_t & SiStripEventSummary::apveAddress ( ) const
inline

Returns APVE golden pipeline address.

Definition at line 232 of file SiStripEventSummary.h.

References apveAddress_.

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

Definition at line 262 of file SiStripEventSummary.h.

References apveAddress_.

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

Returns APV readout mode.

Definition at line 230 of file SiStripEventSummary.h.

References apvReadoutMode_.

Referenced by operator<<().

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

Returns bin number for very fast connection.

Definition at line 239 of file SiStripEventSummary.h.

References params_.

Referenced by FastFedCablingTask::fill().

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

Returns bunch crossing number.

Definition at line 227 of file SiStripEventSummary.h.

References bx_.

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

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

Sets bunch crossing number.

Definition at line 260 of file SiStripEventSummary.h.

References bx(), and bx_.

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

Returns APV calibration channels (CDRV).

Definition at line 243 of file SiStripEventSummary.h.

References params_.

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

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

Returns APV calibration timing (CSEL).

Definition at line 244 of file SiStripEventSummary.h.

References params_.

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

244 { 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 31 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, cuy::ii, 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().

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

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

References params_.

Referenced by SiStripCommissioningSource::fillCablingHistos().

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

Returns device id.

Definition at line 252 of file SiStripEventSummary.h.

References params_.

Referenced by SiStripCommissioningSource::fillCablingHistos().

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

Returns event number.

Definition at line 226 of file SiStripEventSummary.h.

References event_.

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

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

Sets event number.

Definition at line 259 of file SiStripEventSummary.h.

References event(), and event_.

Referenced by Types.EventID::cppID().

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

Returns FED readout mode.

Definition at line 229 of file SiStripEventSummary.h.

References fedReadoutMode_.

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

229 { 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 245 of file SiStripEventSummary.h.

References params_.

Referenced by CalibrationScanTask::fill().

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

Flag to identify if commissioning info already set.

Definition at line 223 of file SiStripEventSummary.h.

References runType_, and sistrip::UNDEFINED_RUN_TYPE.

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

223 { 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 242 of file SiStripEventSummary.h.

References params_.

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

242 { 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 256 of file SiStripEventSummary.h.

References params_.

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

Returns LLD bias setting.

Definition at line 251 of file SiStripEventSummary.h.

References params_.

Referenced by OptoScanTask::fill().

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

Returns LLD gain setting.

Definition at line 250 of file SiStripEventSummary.h.

References params_.

Referenced by OptoScanTask::fill().

250 { 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 235 of file SiStripEventSummary.h.

References nApvsErrors_.

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

Definition at line 265 of file SiStripEventSummary.h.

References nApvsErrors_.

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

Returns number of APVs that are synchronized.

Definition at line 233 of file SiStripEventSummary.h.

References nApvsInSync_.

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

Definition at line 263 of file SiStripEventSummary.h.

References nApvsInSync_.

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

Returns number of APVs that are not synchronized.

Definition at line 234 of file SiStripEventSummary.h.

References nApvsOutOfSync_.

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

Definition at line 264 of file SiStripEventSummary.h.

References nApvsOutOfSync_.

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

Indicates whether all params are null or not.

Definition at line 237 of file SiStripEventSummary.h.

References params_.

237 { 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 238 of file SiStripEventSummary.h.

References params_.

Referenced by operator<<().

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

Returns PLL coarse delay setting.

Definition at line 240 of file SiStripEventSummary.h.

References params_.

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

Returns PLL fine delay setting.

Definition at line 241 of file SiStripEventSummary.h.

References params_.

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

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

Returns process id.

Definition at line 253 of file SiStripEventSummary.h.

References params_.

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

Returns process IP address.

Definition at line 254 of file SiStripEventSummary.h.

References params_.

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

Returns run type.

Definition at line 225 of file SiStripEventSummary.h.

References runType_.

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

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

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

Definition at line 222 of file SiStripEventSummary.h.

References triggerFed_.

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

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

Sets trigger FED number.

Definition at line 258 of file SiStripEventSummary.h.

References triggerFed_.

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

Returns TTCrx delay setting.

Definition at line 247 of file SiStripEventSummary.h.

References params_.

247 { 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 221 of file SiStripEventSummary.h.

References valid_.

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

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

Returns APV VFS.

Definition at line 246 of file SiStripEventSummary.h.

References params_.

Referenced by CalibrationScanTask::fill().

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

Returns VPSP setting.

Definition at line 248 of file SiStripEventSummary.h.

References params_.

248 { 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 249 of file SiStripEventSummary.h.

References params_.

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

Member Data Documentation

uint16_t SiStripEventSummary::apveAddress_
private

APVE golden pipeline address.

Definition at line 203 of file SiStripEventSummary.h.

Referenced by apveAddress().

sistrip::ApvReadoutMode SiStripEventSummary::apvReadoutMode_
private

APV readout mode.

Definition at line 200 of file SiStripEventSummary.h.

Referenced by apvReadoutMode().

uint32_t SiStripEventSummary::bx_
private

Bunch crossing number.

Definition at line 186 of file SiStripEventSummary.h.

Referenced by bx().

uint32_t SiStripEventSummary::event_
private

Event number.

Definition at line 183 of file SiStripEventSummary.h.

Referenced by event().

sistrip::FedReadoutMode SiStripEventSummary::fedReadoutMode_
private

FED readout mode.

Definition at line 197 of file SiStripEventSummary.h.

Referenced by commissioningInfo(), and fedReadoutMode().

uint32_t SiStripEventSummary::nApvsErrors_
private

Number of APVs with error flags set.

Definition at line 212 of file SiStripEventSummary.h.

Referenced by nApvsErrors().

uint32_t SiStripEventSummary::nApvsInSync_
private

Number of APVs that are synchronized.

Definition at line 206 of file SiStripEventSummary.h.

Referenced by nApvsInSync().

uint32_t SiStripEventSummary::nApvsOutOfSync_
private

Number of APVs that are not synchronized.

Definition at line 209 of file SiStripEventSummary.h.

Referenced by nApvsOutOfSync().

uint32_t SiStripEventSummary::nDataSenders_
private

Number of DataSenders (c.f. ReadoutUnits).

Definition at line 192 of file SiStripEventSummary.h.

Referenced by commissioningInfo().

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

Run type.

Definition at line 180 of file SiStripEventSummary.h.

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

uint32_t SiStripEventSummary::spillNumber_
private

Spill number.

Definition at line 189 of file SiStripEventSummary.h.

Referenced by commissioningInfo().

uint16_t SiStripEventSummary::triggerFed_
private

Definition at line 174 of file SiStripEventSummary.h.

Referenced by triggerFed().

bool SiStripEventSummary::valid_
private

Flag to signify if trigger FED information is valid.

Definition at line 171 of file SiStripEventSummary.h.

Referenced by commissioningInfo(), and valid().