#include <SiStripEventSummary.h>
Public Member Functions | |
const uint16_t & | apveAddress () const |
void | apveAddress (uint16_t &addr) |
const sistrip::ApvReadoutMode & | apvReadoutMode () 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::FedReadoutMode & | fedReadoutMode () 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::RunType & | runType () 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_ |
Definition at line 22 of file SiStripEventSummary.h.
SiStripEventSummary::SiStripEventSummary | ( | ) |
Default constructor.
Definition at line 12 of file SiStripEventSummary.cc.
|
inline |
Default destructor.
Definition at line 32 of file SiStripEventSummary.h.
References apveAddress(), apvReadoutMode(), binNumber(), edmScanValgrind::buffer, bx(), calChan(), calSel(), commissioningInfo(), dcuId(), deviceId(), event(), fedReadoutMode(), isha(), isSet(), latency(), layerScanned(), lldBias(), lldGain(), nApvsErrors(), nApvsInSync(), nApvsOutOfSync(), nullParams(), params(), pllCoarse(), pllFine(), processId(), processIp(), runType(), triggerFed(), ttcrx(), valid(), vfs(), vpsp(), and vpspCcuChan().
|
inline |
Returns APVE golden pipeline address.
Definition at line 232 of file SiStripEventSummary.h.
References apveAddress_.
Referenced by ~SiStripEventSummary().
|
inline |
|
inline |
Returns APV readout mode.
Definition at line 230 of file SiStripEventSummary.h.
References apvReadoutMode_.
Referenced by operator<<(), and ~SiStripEventSummary().
|
inline |
Returns bin number for very fast connection.
Definition at line 239 of file SiStripEventSummary.h.
References params_.
Referenced by FastFedCablingTask::fill(), and ~SiStripEventSummary().
|
inline |
Returns bunch crossing number.
Definition at line 227 of file SiStripEventSummary.h.
References bx_.
Referenced by bx(), operator<<(), sistrip::RawToDigiUnpacker::triggerFed(), sistrip::RawToDigiUnpacker::updateEventSummary(), and ~SiStripEventSummary().
|
inline |
|
inline |
Returns APV calibration channels (CDRV).
Definition at line 243 of file SiStripEventSummary.h.
References params_.
Referenced by CalibrationScanTask::fill(), CalibrationTask::fill(), and ~SiStripEventSummary().
|
inline |
Returns APV calibration timing (CSEL).
Definition at line 244 of file SiStripEventSummary.h.
References params_.
Referenced by CalibrationScanTask::fill(), CalibrationTask::fill(), and ~SiStripEventSummary().
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, 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, runEdmFileComparison::found, cuy::ii, edm::isDebugEnabled(), crabWrapper::key, LogTrace, sistrip::mlDigis_, nDataSenders_, sistrip::OPTO_SCAN, params_, sistrip::PEDESTALS, sistrip::PHYSICS, sistrip::PHYSICS_ZS, sistrip::QUITE_FAST_CABLING, findQualityFiles::run, SiStripEnumsAndStrings::runType(), runType_, spillNumber_, sistrip::UNKNOWN_FED_READOUT_MODE, and sistrip::VPSP_SCAN.
Referenced by sistrip::RawToDigiUnpacker::triggerFed(), sistrip::RawToDigiUnpacker::updateEventSummary(), and ~SiStripEventSummary().
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, 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, params_, sistrip::PEDESTALS, sistrip::PHYSICS, sistrip::PHYSICS_ZS, sistrip::QUITE_FAST_CABLING, findQualityFiles::run, SiStripEnumsAndStrings::runType(), runType_, groupFilesInBlocks::temp, valid_, and sistrip::VPSP_SCAN.
|
inline |
Returns DCU id.
Definition at line 255 of file SiStripEventSummary.h.
References params_.
Referenced by SiStripCommissioningSource::fillCablingHistos(), and ~SiStripEventSummary().
|
inline |
Returns device id.
Definition at line 252 of file SiStripEventSummary.h.
References params_.
Referenced by SiStripCommissioningSource::fillCablingHistos(), and ~SiStripEventSummary().
|
inline |
Returns event number.
Definition at line 226 of file SiStripEventSummary.h.
References event_.
Referenced by Types.EventID::cppID(), event(), PedsFullNoiseTask::fill(), operator<<(), sistrip::RawToDigiUnpacker::triggerFed(), sistrip::RawToDigiUnpacker::updateEventSummary(), and ~SiStripEventSummary().
|
inline |
Sets event number.
Definition at line 259 of file SiStripEventSummary.h.
References event(), and event_.
Referenced by Types.EventID::cppID().
|
inline |
Returns FED readout mode.
Definition at line 229 of file SiStripEventSummary.h.
References fedReadoutMode_.
Referenced by SiStripCommissioningSource::analyze(), operator<<(), sistrip::RawToDigiUnpacker::updateEventSummary(), and ~SiStripEventSummary().
void SiStripEventSummary::fedReadoutMode | ( | const uint16_t & | mode | ) |
Sets FED readout mode.
Definition at line 263 of file SiStripEventSummary.cc.
References sistrip::FED_PROC_RAW, sistrip::FED_SCOPE_MODE, sistrip::FED_VIRGIN_RAW, sistrip::FED_ZERO_SUPPR, sistrip::FED_ZERO_SUPPR_LITE, fedReadoutMode_, and sistrip::UNKNOWN_FED_READOUT_MODE.
|
inline |
Returns APV ISHA.
Definition at line 245 of file SiStripEventSummary.h.
References params_.
Referenced by CalibrationScanTask::fill(), and ~SiStripEventSummary().
|
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(), sistrip::RawToDigiUnpacker::updateEventSummary(), and ~SiStripEventSummary().
|
inline |
Returns APV latency setting.
Definition at line 242 of file SiStripEventSummary.h.
References params_.
Referenced by RawDataConverter::analyze(), CalibrationTask::fill(), CalibrationScanTask::fill(), and ~SiStripEventSummary().
|
inline |
Returns the layer mask for fine delay runs
Definition at line 256 of file SiStripEventSummary.h.
References params_.
Referenced by ~SiStripEventSummary().
|
inline |
Returns LLD bias setting.
Definition at line 251 of file SiStripEventSummary.h.
References params_.
Referenced by OptoScanTask::fill(), and ~SiStripEventSummary().
|
inline |
Returns LLD gain setting.
Definition at line 250 of file SiStripEventSummary.h.
References params_.
Referenced by OptoScanTask::fill(), and ~SiStripEventSummary().
|
inline |
Returns number of APVs with error flags set.
Definition at line 235 of file SiStripEventSummary.h.
References nApvsErrors_.
Referenced by ~SiStripEventSummary().
|
inline |
|
inline |
Returns number of APVs that are synchronized.
Definition at line 233 of file SiStripEventSummary.h.
References nApvsInSync_.
Referenced by ~SiStripEventSummary().
|
inline |
|
inline |
Returns number of APVs that are not synchronized.
Definition at line 234 of file SiStripEventSummary.h.
References nApvsOutOfSync_.
Referenced by ~SiStripEventSummary().
|
inline |
|
inline |
Indicates whether all params are null or not.
Definition at line 237 of file SiStripEventSummary.h.
References params_.
Referenced by SiStripCommissioningSource::analyze(), and ~SiStripEventSummary().
|
inline |
Returns values of all params.
Definition at line 238 of file SiStripEventSummary.h.
References params_.
Referenced by operator<<(), and ~SiStripEventSummary().
|
inline |
Returns PLL coarse delay setting.
Definition at line 240 of file SiStripEventSummary.h.
References params_.
Referenced by ~SiStripEventSummary().
|
inline |
Returns PLL fine delay setting.
Definition at line 241 of file SiStripEventSummary.h.
References params_.
Referenced by ApvTimingTask::fill(), FedTimingTask::fill(), and ~SiStripEventSummary().
|
inline |
Returns process id.
Definition at line 253 of file SiStripEventSummary.h.
References params_.
Referenced by ~SiStripEventSummary().
|
inline |
Returns process IP address.
Definition at line 254 of file SiStripEventSummary.h.
References params_.
Referenced by ~SiStripEventSummary().
|
inline |
Returns run type.
Definition at line 225 of file SiStripEventSummary.h.
References runType_.
Referenced by SiStripCommissioningSource::analyze(), sistrip::RawToDigiUnpacker::createDigis(), SiStripCommissioningSource::createTask(), SiStripCommissioningRunTypeFilter::filter(), operator<<(), SiStripFineDelayHit::produce(), and ~SiStripEventSummary().
|
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(), sistrip::RawToDigiUnpacker::updateEventSummary(), and ~SiStripEventSummary().
|
inline |
Sets trigger FED number.
Definition at line 258 of file SiStripEventSummary.h.
References triggerFed_.
|
inline |
Returns TTCrx delay setting.
Definition at line 247 of file SiStripEventSummary.h.
References params_.
Referenced by ~SiStripEventSummary().
|
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(), operator<<(), and ~SiStripEventSummary().
|
inline |
Returns APV VFS.
Definition at line 246 of file SiStripEventSummary.h.
References params_.
Referenced by CalibrationScanTask::fill(), and ~SiStripEventSummary().
|
inline |
Returns VPSP setting.
Definition at line 248 of file SiStripEventSummary.h.
References params_.
Referenced by ~SiStripEventSummary().
|
inline |
Returns CCU channel of module being tuned for VPSP.
Definition at line 249 of file SiStripEventSummary.h.
References params_.
Referenced by ~SiStripEventSummary().
|
private |
APVE golden pipeline address.
Definition at line 203 of file SiStripEventSummary.h.
Referenced by apveAddress().
|
private |
APV readout mode.
Definition at line 200 of file SiStripEventSummary.h.
Referenced by apvReadoutMode().
|
private |
|
private |
|
private |
FED readout mode.
Definition at line 197 of file SiStripEventSummary.h.
Referenced by commissioningInfo(), and fedReadoutMode().
|
private |
Number of APVs with error flags set.
Definition at line 212 of file SiStripEventSummary.h.
Referenced by nApvsErrors().
|
private |
Number of APVs that are synchronized.
Definition at line 206 of file SiStripEventSummary.h.
Referenced by nApvsInSync().
|
private |
Number of APVs that are not synchronized.
Definition at line 209 of file SiStripEventSummary.h.
Referenced by nApvsOutOfSync().
|
private |
Number of DataSenders (c.f. ReadoutUnits).
Definition at line 192 of file SiStripEventSummary.h.
Referenced by commissioningInfo().
|
private |
Parameters related to commissioning analysis.
Definition at line 215 of file SiStripEventSummary.h.
Referenced by binNumber(), calChan(), calSel(), commissioningInfo(), dcuId(), deviceId(), isha(), latency(), layerScanned(), lldBias(), lldGain(), nullParams(), params(), pllCoarse(), pllFine(), processId(), processIp(), ttcrx(), vfs(), vpsp(), and vpspCcuChan().
|
private |
Run type.
Definition at line 180 of file SiStripEventSummary.h.
Referenced by commissioningInfo(), isSet(), and runType().
|
private |
Spill number.
Definition at line 189 of file SiStripEventSummary.h.
Referenced by commissioningInfo().
|
private |
Definition at line 174 of file SiStripEventSummary.h.
Referenced by triggerFed().
|
private |
Flag to signify if trigger FED information is valid.
Definition at line 171 of file SiStripEventSummary.h.
Referenced by commissioningInfo(), and valid().