CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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.

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  ;
28 }
sistrip::FedReadoutMode fedReadoutMode_
sistrip::RunType runType_
sistrip::ApvReadoutMode apvReadoutMode_
std::vector< uint32_t > params_
SiStripEventSummary::~SiStripEventSummary ( )
inline

Default destructor.

Definition at line 30 of file SiStripEventSummary.h.

30 { ; }

Member Function Documentation

const uint16_t & SiStripEventSummary::apveAddress ( ) const
inline

Returns APVE golden pipeline address.

Definition at line 225 of file SiStripEventSummary.h.

References apveAddress_.

225 { return apveAddress_; }
void SiStripEventSummary::apveAddress ( uint16_t &  addr)
inline
const sistrip::ApvReadoutMode & SiStripEventSummary::apvReadoutMode ( ) const
inline

Returns APV readout mode.

Definition at line 223 of file SiStripEventSummary.h.

References apvReadoutMode_.

Referenced by operator<<().

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

Returns bin number for very fast connection.

Definition at line 232 of file SiStripEventSummary.h.

References params_.

Referenced by FastFedCablingTask::fill().

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

Returns bunch crossing number.

Definition at line 220 of file SiStripEventSummary.h.

References bx_.

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

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

Sets bunch crossing number.

Definition at line 253 of file SiStripEventSummary.h.

References bx(), and bx_.

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

Returns APV calibration channels (CDRV).

Definition at line 236 of file SiStripEventSummary.h.

References params_.

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

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

Returns APV calibration timing (CSEL).

Definition at line 237 of file SiStripEventSummary.h.

References params_.

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

237 { 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, TauDecayModes::dec, 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(), submitPVResolutionJobs::key, LogTrace, sistrip::mlDigis_, nDataSenders_, sistrip::OPTO_SCAN, params_, sistrip::PEDESTALS, sistrip::PHYSICS, sistrip::PHYSICS_ZS, sistrip::QUITE_FAST_CABLING, submitPVValidationJobs::run, SiStripEnumsAndStrings::runType(), runType_, spillNumber_, contentValuesCheck::ss, sistrip::UNKNOWN_FED_READOUT_MODE, and sistrip::VPSP_SCAN.

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

32  {
33  // Set RunType
34  uint16_t run = static_cast<uint16_t>(buffer[10] & 0xFFFF);
36 
37  // Set spill number
38  spillNumber_ = buffer[0];
39 
40  // Set number of DataSenders
41  nDataSenders_ = buffer[20];
42 
43  // Set FED readout mode
44  if (buffer[15] == 0) {
46  } else if (buffer[15] == 1) {
48  } else if (buffer[15] == 2) {
50  } else if (buffer[15] == 3) {
52  } else if (buffer[15] == 4) {
54  } else {
56  }
57 
58  // Set hardware parameters
62  params_[0] = buffer[11]; // latency
63  params_[1] = buffer[12]; // cal_chan
64  params_[2] = buffer[13]; // cal_sel
65  params_[3] = buffer[15]; // isha
66  params_[4] = buffer[16]; // vfs
67 
68  } else if (runType_ == sistrip::OPTO_SCAN) {
69  params_[0] = buffer[11]; // opto gain
70  params_[1] = buffer[12]; // opto bias
71 
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
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  params_[0] = buffer[11]; // bin number
85  params_[1] = buffer[12]; // fec instance
86  params_[2] = buffer[13]; // fec ip
87  params_[3] = buffer[14]; // dcu hard id
88 
91  uint16_t ii = 0;
92  bool found = false;
93  while (!found && ii < 20) {
94  uint32_t dcu = buffer[21 + 3 * ii];
95  uint32_t key = buffer[21 + 3 * ii + 1];
96  uint32_t evt = buffer[21 + 3 * ii + 2];
97  if (evt == event) {
98  params_[0] = key; // device id
99  params_[1] = 0; // process id
100  params_[2] = 0; // process ip
101  params_[3] = dcu; // dcu hard id
102  found = true;
103  }
104  ii++;
105  }
106  if (!found) {
107  if (edm::isDebugEnabled()) {
108  std::stringstream ss;
109  ss << "[SiStripEventSummary::" << __func__ << "]"
110  << " Did not find DeviceId/DCUid for event " << event << "!";
111  edm::LogWarning(mlDigis_) << ss.str();
112  }
113  params_[0] = 0;
114  params_[1] = 0;
115  params_[2] = 0;
116  params_[3] = 0;
117  } else {
118  if (edm::isDebugEnabled()) {
119  std::stringstream ss;
120  ss << "[SiStripEventSummary::" << __func__ << "]"
121  << " Found DeviceId/DCUid for event " << event << ": 0x" << std::hex << std::setw(8) << std::setfill('0')
122  << params_[0] << std::dec << "/0x" << std::hex << std::setw(8) << std::setfill('0') << params_[3]
123  << std::dec;
124  LogTrace(mlDigis_) << ss.str();
125  }
126  }
127 
128  } else {
129  params_[0] = buffer[11]; // device id
130  params_[1] = buffer[12]; // process id
131  params_[2] = buffer[13]; // process ip
132  params_[3] = buffer[14]; // dcu hard id
133  }
134 
135  } else if (runType_ == sistrip::VPSP_SCAN) {
136  params_[0] = buffer[11]; // vpsp value
137  params_[1] = buffer[12]; // ccu channel
138 
139  } else if (runType_ == sistrip::DAQ_SCOPE_MODE) {
140  // nothing interesting!
141 
143  //@@ do anything?...
144 
145  } else {
146  if (edm::isDebugEnabled()) {
147  edm::LogWarning(mlDigis_) << "[SiStripEventSummary::" << __func__ << "]"
148  << " Unexpected commissioning task: " << runType_;
149  }
150  }
151 }
sistrip::FedReadoutMode fedReadoutMode_
bool isDebugEnabled()
static const char mlDigis_[]
int ii
Definition: cuy.py:589
#define LogTrace(id)
static std::string runType(const sistrip::RunType &)
sistrip::RunType runType_
const uint32_t & event() const
tuple key
prepare the HTCondor submission files and eventually submit them
Log< level::Warning, false > LogWarning
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 158 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, TauDecayModes::dec, 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, or, params_, sistrip::PEDESTALS, sistrip::PHYSICS, sistrip::PHYSICS_ZS, sistrip::QUITE_FAST_CABLING, submitPVValidationJobs::run, SiStripEnumsAndStrings::runType(), runType_, groupFilesInBlocks::temp, valid_, and sistrip::VPSP_SCAN.

158  {
159  // Extract if commissioning info are valid or not
160  uint16_t temp = static_cast<uint16_t>((daq1 >> 8) & 0x3);
161  if (temp == uint16_t(1)) {
162  valid_ = true;
163  } else if (temp == uint16_t(2)) {
164  valid_ = false;
165  } else if (temp == uint16_t(3) && daq1 == sistrip::invalid32_) {
166  if (edm::isDebugEnabled()) {
167  edm::LogWarning(mlDigis_) << "[SiStripEventSummary::" << __func__ << "]"
168  << " DAQ register contents set to invalid: 0x" << std::hex << std::setw(8)
169  << std::setfill('0') << daq1 << std::dec;
170  }
171  valid_ = false;
172  } else {
173  if (edm::isDebugEnabled()) {
174  edm::LogWarning(mlDigis_) << "[SiStripEventSummary::" << __func__ << "]"
175  << " Unexpected bit pattern set in DAQ1: 0x" << std::hex << std::setw(8)
176  << std::setfill('0') << daq1 << std::dec;
177  }
178  valid_ = false;
179  }
180 
181  // Set RunType
182  uint16_t run = static_cast<uint16_t>(daq1 & 0xFF);
184 
185  // Set hardware parameters
186  if (runType_ == sistrip::PHYSICS) {
187  } else if (runType_ == sistrip::PHYSICS_ZS) {
188  } else if (runType_ == sistrip::PEDESTALS) {
189  } else if (runType_ == sistrip::DAQ_SCOPE_MODE) {
191  params_[0] = (daq2 >> 8) & 0xFF; // latency
192  params_[1] = (daq2 >> 4) & 0x0F; // cal_chan
193  params_[2] = (daq2 >> 0) & 0x0F; // cal_sel
195  params_[0] = (daq2 >> 8) & 0xFF; // latency
196  params_[1] = (daq2 >> 4) & 0x0F; // cal_chan
197  params_[2] = (daq2 >> 0) & 0x0F; // cal_sel
198  params_[3] = (daq2 >> 16) & 0xFF; // isha
199  params_[4] = (daq2 >> 24); // vfs
200  } else if (runType_ == sistrip::OPTO_SCAN) {
201  params_[0] = (daq2 >> 8) & 0xFF; // opto gain
202  params_[1] = (daq2 >> 0) & 0xFF; // opto bias
203  } else if (runType_ == sistrip::APV_TIMING) {
204  params_[1] = (daq2 >> 0) & 0xFF; // pll fine delay
205  } else if (runType_ == sistrip::APV_LATENCY) {
206  params_[0] = (daq2 >> 0) & 0xFF; // latency
207  } else if (runType_ == sistrip::FINE_DELAY_PLL) {
208  } else if (runType_ == sistrip::FINE_DELAY_TTC) {
209  } else if (runType_ == sistrip::FINE_DELAY) { //@@ layer
210  params_[2] = (daq2 >> 0) & 0xFFFF; // ttcrx delay
211  params_[0] = params_[2] / 25; // pll coarse delay
212  params_[1] = uint32_t((params_[2] % 25) * 24. / 25.); // pll fine delay
213  params_[3] = (daq2 >> 0) & 0xFFFF0000; // layer (private format: DDSSLLLL (det, side, layer)
214  } else if (runType_ == sistrip::FED_TIMING) {
215  params_[1] = (daq2 >> 0) & 0xFF; // pll fine delay
216  } else if (runType_ == sistrip::VPSP_SCAN) {
217  params_[0] = (daq2 >> 8) & 0xFF; // vpsp value
218  params_[1] = (daq2 >> 0) & 0xFF; // ccu channel
219  } else if (runType_ == sistrip::FED_CABLING) {
220  } else if (runType_ == sistrip::QUITE_FAST_CABLING) {
221  } else if (runType_ == sistrip::FAST_CABLING) {
222  params_[0] = (daq2 >> 0) & 0xFF; // key
223  } else {
224  if (edm::isDebugEnabled()) {
225  edm::LogWarning(mlDigis_) << "[SiStripEventSummary::" << __func__ << "]"
226  << " Unexpected commissioning task: " << runType_;
227  }
228  }
229 }
bool isDebugEnabled()
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
static const uint32_t invalid32_
Definition: Constants.h:15
static const char mlDigis_[]
static std::string runType(const sistrip::RunType &)
sistrip::RunType runType_
Log< level::Warning, false > LogWarning
std::vector< uint32_t > params_
const uint32_t & SiStripEventSummary::dcuId ( ) const
inline

Returns DCU id.

Definition at line 248 of file SiStripEventSummary.h.

References params_.

Referenced by SiStripCommissioningSource::fillCablingHistos().

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

Returns device id.

Definition at line 245 of file SiStripEventSummary.h.

References params_.

Referenced by SiStripCommissioningSource::fillCablingHistos().

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

Sets event number.

Definition at line 252 of file SiStripEventSummary.h.

References event(), and event_.

Referenced by Types.EventID::cppID().

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

Returns FED readout mode.

Definition at line 222 of file SiStripEventSummary.h.

References fedReadoutMode_.

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

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

References params_.

Referenced by CalibrationScanTask::fill().

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

Flag to identify if commissioning info already set.

Definition at line 216 of file SiStripEventSummary.h.

References runType_, and sistrip::UNDEFINED_RUN_TYPE.

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

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

References params_.

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

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

References params_.

Referenced by FineDelayTask::fill().

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

Returns LLD bias setting.

Definition at line 244 of file SiStripEventSummary.h.

References params_.

Referenced by OptoScanTask::fill().

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

Returns LLD gain setting.

Definition at line 243 of file SiStripEventSummary.h.

References params_.

Referenced by OptoScanTask::fill().

243 { 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 228 of file SiStripEventSummary.h.

References nApvsErrors_.

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

Definition at line 258 of file SiStripEventSummary.h.

References nApvsErrors_.

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

Returns number of APVs that are synchronized.

Definition at line 226 of file SiStripEventSummary.h.

References nApvsInSync_.

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

Definition at line 256 of file SiStripEventSummary.h.

References nApvsInSync_.

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

Returns number of APVs that are not synchronized.

Definition at line 227 of file SiStripEventSummary.h.

References nApvsOutOfSync_.

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

Definition at line 257 of file SiStripEventSummary.h.

References nApvsOutOfSync_.

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

Indicates whether all params are null or not.

Definition at line 230 of file SiStripEventSummary.h.

References params_.

230 { 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 231 of file SiStripEventSummary.h.

References params_.

Referenced by operator<<().

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

Returns PLL coarse delay setting.

Definition at line 233 of file SiStripEventSummary.h.

References params_.

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

Returns PLL fine delay setting.

Definition at line 234 of file SiStripEventSummary.h.

References params_.

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

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

Returns process id.

Definition at line 246 of file SiStripEventSummary.h.

References params_.

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

Returns process IP address.

Definition at line 247 of file SiStripEventSummary.h.

References params_.

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

Returns run type.

Definition at line 218 of file SiStripEventSummary.h.

References runType_.

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

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

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

Definition at line 215 of file SiStripEventSummary.h.

References triggerFed_.

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

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

Sets trigger FED number.

Definition at line 251 of file SiStripEventSummary.h.

References triggerFed_.

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

Returns TTCrx delay setting.

Definition at line 240 of file SiStripEventSummary.h.

References params_.

Referenced by FineDelayTask::fill().

240 { 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 214 of file SiStripEventSummary.h.

References valid_.

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

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

Returns APV VFS.

Definition at line 239 of file SiStripEventSummary.h.

References params_.

Referenced by CalibrationScanTask::fill().

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

Returns VPSP setting.

Definition at line 241 of file SiStripEventSummary.h.

References params_.

Referenced by VpspScanTask::fill().

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

References params_.

Referenced by VpspScanTask::fill().

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

Member Data Documentation

uint16_t SiStripEventSummary::apveAddress_
private

APVE golden pipeline address.

Definition at line 197 of file SiStripEventSummary.h.

Referenced by apveAddress().

sistrip::ApvReadoutMode SiStripEventSummary::apvReadoutMode_
private

APV readout mode.

Definition at line 194 of file SiStripEventSummary.h.

Referenced by apvReadoutMode().

uint32_t SiStripEventSummary::bx_
private

Bunch crossing number.

Definition at line 180 of file SiStripEventSummary.h.

Referenced by bx().

uint32_t SiStripEventSummary::event_
private

Event number.

Definition at line 177 of file SiStripEventSummary.h.

Referenced by event().

sistrip::FedReadoutMode SiStripEventSummary::fedReadoutMode_
private

FED readout mode.

Definition at line 191 of file SiStripEventSummary.h.

Referenced by commissioningInfo(), and fedReadoutMode().

uint32_t SiStripEventSummary::nApvsErrors_
private

Number of APVs with error flags set.

Definition at line 206 of file SiStripEventSummary.h.

Referenced by nApvsErrors().

uint32_t SiStripEventSummary::nApvsInSync_
private

Number of APVs that are synchronized.

Definition at line 200 of file SiStripEventSummary.h.

Referenced by nApvsInSync().

uint32_t SiStripEventSummary::nApvsOutOfSync_
private

Number of APVs that are not synchronized.

Definition at line 203 of file SiStripEventSummary.h.

Referenced by nApvsOutOfSync().

uint32_t SiStripEventSummary::nDataSenders_
private

Number of DataSenders (c.f. ReadoutUnits).

Definition at line 186 of file SiStripEventSummary.h.

Referenced by commissioningInfo().

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

Run type.

Definition at line 174 of file SiStripEventSummary.h.

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

uint32_t SiStripEventSummary::spillNumber_
private

Spill number.

Definition at line 183 of file SiStripEventSummary.h.

Referenced by commissioningInfo().

uint16_t SiStripEventSummary::triggerFed_
private

Definition at line 169 of file SiStripEventSummary.h.

Referenced by triggerFed().

bool SiStripEventSummary::valid_
private

Flag to signify if trigger FED information is valid.

Definition at line 166 of file SiStripEventSummary.h.

Referenced by commissioningInfo(), and valid().