8 using namespace sistrip;
34 uint16_t
run =
static_cast<uint16_t
>(buffer[10] & 0xFFFF);
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) {
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];
108 std::stringstream
ss;
109 ss <<
"[SiStripEventSummary::" << __func__ <<
"]"
110 <<
" Did not find DeviceId/DCUid for event " <<
event <<
"!";
119 std::stringstream
ss;
120 ss <<
"[SiStripEventSummary::" << __func__ <<
"]"
121 <<
" Found DeviceId/DCUid for event " <<
event <<
": 0x" << std::hex << std::setw(8) << std::setfill(
'0')
148 <<
" Unexpected commissioning task: " <<
runType_;
160 uint16_t
temp =
static_cast<uint16_t
>((daq1 >> 8) & 0x3);
161 if (temp == uint16_t(1)) {
163 }
else if (temp == uint16_t(2)) {
168 <<
" DAQ register contents set to invalid: 0x" << std::hex << std::setw(8)
169 << std::setfill(
'0') << daq1 <<
std::dec;
175 <<
" Unexpected bit pattern set in DAQ1: 0x" << std::hex << std::setw(8)
176 << std::setfill(
'0') << daq1 <<
std::dec;
182 uint16_t
run =
static_cast<uint16_t
>(daq1 & 0xFF);
191 params_[0] = (daq2 >> 8) & 0xFF;
192 params_[1] = (daq2 >> 4) & 0x0F;
193 params_[2] = (daq2 >> 0) & 0x0F;
195 params_[0] = (daq2 >> 8) & 0xFF;
196 params_[1] = (daq2 >> 4) & 0x0F;
197 params_[2] = (daq2 >> 0) & 0x0F;
198 params_[3] = (daq2 >> 16) & 0xFF;
201 params_[0] = (daq2 >> 8) & 0xFF;
202 params_[1] = (daq2 >> 0) & 0xFF;
204 params_[1] = (daq2 >> 0) & 0xFF;
206 params_[0] = (daq2 >> 0) & 0xFF;
210 params_[2] = (daq2 >> 0) & 0xFFFF;
213 params_[3] = (daq2 >> 0) & 0xFFFF0000;
215 params_[1] = (daq2 >> 0) & 0xFF;
217 params_[0] = (daq2 >> 8) & 0xFF;
218 params_[1] = (daq2 >> 0) & 0xFF;
222 params_[0] = (daq2 >> 0) & 0xFF;
226 <<
" Unexpected commissioning task: " <<
runType_;
236 }
else if (mode == 2) {
238 }
else if (mode == 6) {
240 }
else if (mode == 10) {
242 }
else if (mode == 12) {
252 return os <<
"[SiStripEventSummary::" << __func__ <<
"]" << std::endl
253 <<
" isSet : " << std::boolalpha << input.
isSet() << std::noboolalpha << std::endl
254 <<
" Trigger FED id : " << input.
triggerFed() << std::endl
255 <<
" isValid : " << std::boolalpha << input.
valid() << std::noboolalpha << std::endl
257 <<
" Event number : " << input.
event() << std::endl
258 <<
" Bunch crossing : " << input.
bx() << std::endl
261 <<
" Commissioning params : " << input.
params()[0] <<
", " << input.
params()[1] <<
", " << input.
params()[2]
262 <<
", " << input.
params()[3] << std::endl;
sistrip::FedReadoutMode fedReadoutMode_
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
static const uint32_t invalid32_
static const char mlDigis_[]
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const uint16_t valid_
static std::string const input
const std::vector< uint32_t > & params() const
static std::string runType(const sistrip::RunType &)
const sistrip::RunType & runType() const
static std::string apvReadoutMode(const sistrip::ApvReadoutMode &)
const uint32_t & bx() const
sistrip::RunType runType_
const uint32_t & event() const
void commissioningInfo(const uint32_t *const buffer, const uint32_t &event)
tuple key
prepare the HTCondor submission files and eventually submit them
uint16_t triggerFed() const
const sistrip::FedReadoutMode & fedReadoutMode() const
const sistrip::ApvReadoutMode & apvReadoutMode() const
Log< level::Warning, false > LogWarning
std::vector< uint32_t > params_
static std::string fedReadoutMode(const sistrip::FedReadoutMode &)