hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
Loading...
Searching...
No Matches
EventProcessor.cxx
Go to the documentation of this file.
1
7
8#include "EventProcessor.h"
9
10
12 : Processor(name, process) {
13 }
14
17
18void EventProcessor::configure(const ParameterSet& parameters) {
19
20 std::cout << "Configuring EventProcessor" << std::endl;
21 try
22 {
23 debug_ = parameters.getInteger("debug", debug_);
24 headCollRoot_ = parameters.getString("headCollRoot", headCollRoot_);
25 trigCollLcio_ = parameters.getString("trigCollLcio", trigCollLcio_);
26 rfCollLcio_ = parameters.getString("rfCollLcio", rfCollLcio_ );
27 vtpCollLcio_ = parameters.getString("vtpCollLcio", vtpCollLcio_);
28 vtpCollRoot_ = parameters.getString("vtpCollRoot", vtpCollRoot_ );
29 tsCollLcio_ = parameters.getString("tsCollLcio", tsCollLcio_);
30 tsCollRoot_ = parameters.getString("tsCollRoot", tsCollRoot_);
31 year_ = parameters.getInteger("year", year_);
32
33 //For single events debugging pass a txt list of <runN> <evtN> to only select specific events
34 run_evt_list_ = parameters.getString("debugSingleEvents",run_evt_list_);
35 }
36 catch (std::runtime_error& error)
37 {
38 std::cout << error.what() << std::endl;
39 }
40}
41
42void EventProcessor::initialize(TTree* tree) {
43 header_ = new EventHeader();
44 if (vtpCollLcio_ != "") vtpData = new VTPData();
45 tsData = new TSData();
46 tree->Branch(headCollRoot_.c_str(), &header_);
47 if (vtpCollLcio_ != "") tree->Branch(vtpCollRoot_.c_str(), &vtpData);
48 tree->Branch(tsCollRoot_.c_str(), &tsData);
49
50 //Cache everything in a map
51 if (!run_evt_list_.empty()) {
52 std::cout<<"EventProcessor::Setting up the run/evt map from "<< run_evt_list_<<std::endl;
53 int runN=-999, evtN=-999;
54 std::ifstream runEvt_ifile(run_evt_list_);
55 if (runEvt_ifile.is_open()) {
56 while(!runEvt_ifile.eof()) {
57 runEvt_ifile >> runN >> evtN;
58 //std::cout<<"Adding " <<runN<<" "<<evtN<<std::endl;
59 run_evts_map_[runN].push_back(evtN);
60 }// fill the map
61 runEvt_ifile.close();
62 } // file is open
63 }//empty list of run/evts
64}
65
67
68 Event* event = static_cast<Event*> (ievent);
69 *header_ = event->getEventHeaderMutable();
70
71 EVENT::LCEvent* lc_event = event->getLCEvent();
72 int runNumber = lc_event->getRunNumber();
73 int evtNumber = lc_event->getEventNumber();
74 if (debug_) {
75 std::cout<<"Event Number: "<<evtNumber<<std::endl;
76 std::cout<<"Run Number: "<<runNumber<<std::endl;
77 }
78
79 if (!run_evt_list_.empty()) {
80 if (run_evts_map_.find(runNumber)!=run_evts_map_.end()) {
81 auto it = std::find(run_evts_map_[runNumber].begin(), run_evts_map_[runNumber].end(), evtNumber);
82 if ( it != run_evts_map_[runNumber].end())
83 std::cout<<"Save: "<<runNumber<<" "<<evtNumber<<std::endl;
84 else
85 return false;
86 }
87 }
88
89
90 // Set the event number
91 header_->setEventNumber(lc_event->getEventNumber());
92
93 // Set the run number
94 header_->setRunNumber(lc_event->getRunNumber());
95
96 // Set the event weight (1.0 for unweighted data/MC, or a biased-MC
97 // weight such as the one written by SLIC's ForcedPairConversion plugin).
98 header_->setWeight(lc_event->getWeight());
99
100 // Set the trigger timestamp
101 header_->setEventTime(lc_event->getTimeStamp());
102
103 // Set the SVT bias state
104 header_->setSvtBiasState(lc_event->getParameters().getIntVal("svt_bias_good"));
105
106 // Set the flag indicating whether the event was affected by SVT burst
107 // mode noise
108 header_->setSvtBurstModeNoise(lc_event->getParameters().getIntVal("svt_burstmode_noise_good"));
109
110 // Set the flag indicating whether the SVT latency was correct during an
111 // event.
112 header_->setSvtLatencyState(lc_event->getParameters().getIntVal("svt_latency_good"));
113
114 // Set the SVT position state
115 header_->setSvtPositionState(lc_event->getParameters().getIntVal("svt_position_good"));
116
117 // Set the SVT event header state
118 header_->setSvtEventHeaderState(lc_event->getParameters().getIntVal("svt_event_header_good"));
119
120 if (year_ >= 2019) {
121 if (vtpCollLcio_ != "") {
122 try {
123 EVENT::LCCollection* vtp_data
124 = static_cast<EVENT::LCCollection*>(event->getLCCollection(vtpCollLcio_.c_str()));
125
126
127 EVENT::LCGenericObject* vtp_datum
128 = static_cast<EVENT::LCGenericObject*>(vtp_data->getElementAt(0));
129
130 parseVTPData(vtp_datum);
131 }
132 catch (EVENT::DataNotAvailableException e) {
133 std::cout << "EventProcessor::process: 2019/2021 VTP trigger collection requested but missing!" << std::endl;
134 return false;
135 }
136 }
137 try {
138 EVENT::LCCollection* ts_data
139 = static_cast<EVENT::LCCollection*>(event->getLCCollection(tsCollLcio_.c_str()));
140
141 EVENT::LCGenericObject* ts_datum
142 = static_cast<EVENT::LCGenericObject*>(ts_data->getElementAt(0));
143
144 parseTSData(ts_datum);
145 }
146 catch (EVENT::DataNotAvailableException e) {
147 std::cout << "EventProcessor::process: 2019/2021 TSBank trigger collection is missing!" << std::endl;
148 return false;
149 }
150 }
151 else if (year_ == 2016 or year_ == 2015) {
152 // Get old version of trigger data
153 EVENT::LCCollection* trigger_data
154 = static_cast<EVENT::LCCollection*>(event->getLCCollection(trigCollLcio_.c_str()));
155
156 for (int itrigger = 0; itrigger < trigger_data->getNumberOfElements(); ++itrigger) {
157
158 EVENT::LCGenericObject* trigger_datum
159 = static_cast<EVENT::LCGenericObject*>(trigger_data->getElementAt(itrigger));
160
161 if (trigger_datum->getIntVal(0) == 0xe10a) {
162
163 TriggerData* tdata = new TriggerData(trigger_datum);
164 header_->setSingle0Trigger(static_cast<int>(tdata->isSingle0Trigger()));
165 header_->setSingle1Trigger(static_cast<int>(tdata->isSingle1Trigger()));
166 header_->setPair0Trigger(static_cast<int>(tdata->isPair0Trigger()));
167 header_->setPair1Trigger(static_cast<int>(tdata->isPair1Trigger()));
168 header_->setPulserTrigger(static_cast<int>(tdata->isPulserTrigger()));
169
170 delete tdata;
171 break;
172 }
173 }
174 }
175
176
177 try {
178 // Get the LCIO GenericObject collection containing the RF times
179 EVENT::LCCollection* rf_hits
180 = static_cast<EVENT::LCCollection*>(event->getLCCollection(rfCollLcio_.c_str()));
181
182 // The collection should only have a single RFHit object per event
183 if (rf_hits->getNumberOfElements() > 1) {
184 throw std::runtime_error("[ EventProcessor ]: The collection "
185 + static_cast<std::string>(rfCollLcio_.c_str())
186 + " doesn't have the expected number of elements.");
187 }
188
189 // Loop over all the RF hits in the event and write them to the DST
190 for (int ihit = 0; ihit < rf_hits->getNumberOfElements(); ++ihit) {
191
192 // Get the RF hit from the event
193 EVENT::LCGenericObject* rf_hit
194 = static_cast<EVENT::LCGenericObject*>(rf_hits->getElementAt(ihit));
195
196 // An RFHit GenericObject should only have two RF times
197 if (rf_hit->getNDouble() != 2) {
198 throw std::runtime_error("[ EventProcessor ]: The collection "
199 + static_cast<std::string>(rfCollLcio_.c_str())
200 + " has the wrong structure.");
201 }
202
203 // Write the RF times to the event
204 for (int ichannel = 0; ichannel < rf_hit->getNDouble(); ++ichannel) {
205 header_->setRfTime(ichannel, rf_hit->getDoubleVal(ichannel));
206 }
207 }
208 } catch(EVENT::DataNotAvailableException e) {
209 // It's fine if the event doesn't have an RF hits collection.
210 }
211
212 //vtpData->print();
213 //event->add(Collections::EVENT_HEADERS, &header);
214
215 return true;
216
217}
218
219void EventProcessor::parseVTPData(EVENT::LCGenericObject* vtp_data_lcio)
220{
221 // First Clear out all the old data.
222 //std::cout << "New VTP Block of size " << vtp_data_lcio->getNInt() << std::endl;
223 vtpData->Clear();
224 for(int i=0; i<vtp_data_lcio->getNInt()/2; ++i)
225 {
226 int data = vtp_data_lcio->getIntVal(i);
227 int secondWord = vtp_data_lcio->getIntVal(i+1);
228 if(!(data & 1<<31)) continue;
229 int type = (data>>27)&0x0F;
230 int subtype;
231 switch (type)
232 {
233 case 0: // Block Header
234 vtpData->blockHeader.blocklevel = (data )&0x00FF;
235 vtpData->blockHeader.blocknum = (data >> 8)&0x03FF;
236 vtpData->blockHeader.nothing = (data >> 18)&0x00FF;
237 vtpData->blockHeader.slotid = (data >> 22)&0x001F;
238 vtpData->blockHeader.type = (data >> 27)&0x000F;
239 vtpData->blockHeader.istype = (data >> 31)&0x0001;
240 //std::cout << i << " BlockHeader " << vtpData->blockHeader.type << std::endl;
241 break;
242 case 1: // Block Tail
243 vtpData->blockTail.nwords = (data )&0x03FFFFF;
244 vtpData->blockTail.slotid = (data >> 22)&0x000001F;
245 vtpData->blockTail.type = (data >> 27)&0x000000F;
246 vtpData->blockTail.istype = (data >> 31)&0x0000001;
247 //std::cout << i << " BlockTail " << vtpData->blockTail.type << std::endl;
248 break;
249 case 2: // Event Header
250 vtpData->eventHeader.eventnum = (data )&0x07FFFFFF;
251 vtpData->eventHeader.type = (data >> 27)&0x0000000F;
252 vtpData->eventHeader.istype = (data >> 31)&0x00000001;
253 //std::cout << i << " EventHeader " << vtpData->eventHeader.eventnum << std::endl;
254 break;
255 case 3: // Trigger time
256 vtpData->trigTime = (data & 0x00FFFFFF) + ((secondWord & 0x00FFFFFF )<<24);
257 //std::cout << i << "&" << i+1 << " trigTime = " << vtpData->trigTime << std::endl;
258 i++;
259 break;
260 case 12: // Expansion type
261 subtype = (data>>23)&0x0F;
262 switch(subtype){
263 case 2: // HPS Cluster
265 clus.X = (data )&0x0003F;
266 // If the first bit of the index is 1, then it is a negative number
267 if((clus.X >> 5 & 0x1) == 0x1) clus.X = -((clus.X ^ 0x3F) + 1);
268 clus.Y = (data >> 6)&0x0000F;
269 // If the first bit of the index is 1, then it is a negative number
270 if((clus.Y >> 3 & 0x1) == 0x1) clus.Y = -((clus.Y ^ 0xF) + 1);
271 clus.E = (data >> 10)&0x01FFF;
272 clus.subtype = (data >> 23)&0x0000F;
273 clus.type = (data >> 27)&0x0000F;
274 clus.istype = (data >> 31)&0x00001;
275 clus.T = (secondWord )&0x003FF;
276 clus.N = (secondWord >> 10)&0x0000F;
277 clus.nothing = (secondWord >> 14)&0x3FFFF;
278 vtpData->clusters.push_back(clus);
279 //std::cout << i << "&" << i+1 << " HPS Cluster " << clus.E << std::endl;
280 i++;
281 break;
282 case 3: // HPS Single Trigger
284 strig.T = (data )&0x003FF;
285 strig.emin = (data >> 10)&0x00001;
286 strig.emax = (data >> 11)&0x00001;
287 strig.nmin = (data >> 12)&0x00001;
288 strig.xmin = (data >> 13)&0x00001;
289 strig.pose = (data >> 14)&0x00001;
290 strig.hodo1c = (data >> 15)&0x00001;
291 strig.hodo2c = (data >> 16)&0x00001;
292 strig.hodogeo = (data >> 17)&0x00001;
293 strig.hodoecal = (data >> 18)&0x00001;
294 strig.topnbot = (data >> 19)&0x00001;
295 strig.inst = (data >> 20)&0x00007;
296 strig.subtype = (data >> 23)&0x0000F;
297 strig.type = (data >> 27)&0x0000F;
298 strig.istype = (data >> 31)&0x00001;
299 //std::cout << i << " HPS Single Trigger " << strig.subtype << std::endl;
300 vtpData->singletrigs.push_back(strig);
301 break;
302 case 4: // HPS Pair Trigger
304 ptrig.T = (data )&0x003FF;
305 ptrig.clusesum = (data >> 10)&0x00001;
306 ptrig.clusedif = (data >> 11)&0x00001;
307 ptrig.eslope = (data >> 12)&0x00001;
308 ptrig.coplane = (data >> 13)&0x00001;
309 ptrig.dummy = (data >> 14)&0x0001F;
310 ptrig.topnbot = (data >> 19)&0x00001;
311 ptrig.inst = (data >> 20)&0x00007;
312 ptrig.subtype = (data >> 23)&0x0000F;
313 ptrig.type = (data >> 27)&0x0000F;
314 ptrig.istype = (data >> 31)&0x00001;
315 //std::cout << i << " HPS Pair Trigger " << ptrig.subtype << std::endl;
316 vtpData->pairtrigs.push_back(ptrig);
317 break;
318 case 5: // HPS Calibration Trigger
320 ctrig.T = (data )&0x003FF;
321 ctrig.reserved = (data >> 10)&0x001FF;
322 ctrig.cosmicTrig = (data >> 19)&0x00001;
323 ctrig.LEDTrig = (data >> 20)&0x00001;
324 ctrig.hodoTrig = (data >> 21)&0x00001;
325 ctrig.pulserTrig = (data >> 22)&0x00001;
326 ctrig.subtype = (data >> 23)&0x0000F;
327 ctrig.type = (data >> 27)&0x0000F;
328 ctrig.istype = (data >> 31)&0x00001;
329 //std::cout << i << " HPS Cal Trigger " << ctrig.subtype << std::endl;
330 vtpData->calibtrigs.push_back(ctrig);
331 break;
332 case 6: // HPS Cluster Multiplicity Trigger
334 clmul.T = (data )&0x003FF;
335 clmul.multtop = (data >> 10)&0x0000F;
336 clmul.multbot = (data >> 14)&0x0000F;
337 clmul.multtot = (data >> 18)&0x0000F;
338 clmul.bitinst = (data >> 22)&0x00001;
339 clmul.subtype = (data >> 23)&0x0000F;
340 clmul.type = (data >> 27)&0x0000F;
341 clmul.istype = (data >> 31)&0x00001;
342 //std::cout << i << " HPS Clus Mult Trigger " << clmul.subtype << std::endl;
343 vtpData->clustermult.push_back(clmul);
344 break;
345 case 7: // HPS FEE Trigger
347 fee.T = (data )&0x003FF;
348 fee.region = (data >> 10)&0x0007F;
349 fee.reserved = (data >> 17)&0x0003F;
350 fee.subtype = (data >> 23)&0x0000F;
351 fee.type = (data >> 27)&0x0000F;
352 fee.istype = (data >> 31)&0x00001;
353 //std::cout << i << " HPS FEE Trigger " << fee.subtype << std::endl;
354 vtpData->feetrigger.push_back(fee);
355 break;
356 default:
357 std::cout << "At " << i << " invalid HPS type: " << type << " subtype: " << subtype << std::endl;
358 break;
359 }
360
361 break;
362 case 14:
363 std::cout << i << "VTP data type not valid: " << type << std::endl;
364 break;
365 default:
366 std::cout << i << "I was not expecting a VTP data type of " << type << std::endl;
367 break;
368 }
369 }
370 //std::cout << "---------------------------------------" << std::endl;
371 //std::cout << std::endl;
372} //EventProcessor::parseVTPData(LCGenericObject* vtp_data_lcio)
373
374void EventProcessor::parseTSData(EVENT::LCGenericObject* ts_data_lcio)
375{
376 // Parse out TS header
377 unsigned int headerWord = ts_data_lcio->getIntVal(1);
378 tsData->header.wordCount = (headerWord )&0xFFFF; // 0-15 Word Count
379 tsData->header.test = (headerWord >> 16)&0x00FF; // 16-23 Test Word
380 tsData->header.type = (headerWord >> 24)&0x00FF; // 24-31 Trigger Type
381 // Parse out trigger time and Event Number
382 tsData->T = static_cast<unsigned long>(ts_data_lcio->getIntVal(3)) + ( (static_cast<unsigned long>(ts_data_lcio->getIntVal(4)&0xFFFF)<<32));
383 tsData->EN = static_cast<unsigned long>(ts_data_lcio->getIntVal(2)) + ( (static_cast<unsigned long>(ts_data_lcio->getIntVal(4)&0xFFFF0000)<<16));
384 // Parse out prescaled word
385 tsData->prescaled.intval = ts_data_lcio->getIntVal(5); // Full word
386 tsData->prescaled.Single_0_Top = (tsData->prescaled.intval )&0x001; // 0 Low energy cluster
387 tsData->prescaled.Single_1_Top = (tsData->prescaled.intval >> 1)&0x001; // 1 e+
388 tsData->prescaled.Single_2_Top = (tsData->prescaled.intval >> 2)&0x001; // 2 e+ : Position dependent energy cut
389 tsData->prescaled.Single_3_Top = (tsData->prescaled.intval >> 3)&0x001; // 3 e+ : HODO L1*L2 Match with cluster
390 tsData->prescaled.Single_0_Bot = (tsData->prescaled.intval >> 4)&0x001; // 4 Low energy cluster
391 tsData->prescaled.Single_1_Bot = (tsData->prescaled.intval >> 5)&0x001; // 5 e+
392 tsData->prescaled.Single_2_Bot = (tsData->prescaled.intval >> 6)&0x001; // 6 e+ : Position dependent energy cut
393 tsData->prescaled.Single_3_Bot = (tsData->prescaled.intval >> 7)&0x001; // 7 e+ : HODO L1*L2 Match with cluster
394 tsData->prescaled.Pair_0 = (tsData->prescaled.intval >> 8)&0x001; // 8 A'
395 tsData->prescaled.Pair_1 = (tsData->prescaled.intval >> 9)&0x001; // 9 Moller
396 tsData->prescaled.Pair_2 = (tsData->prescaled.intval >> 10)&0x001; // 10 pi0
397 tsData->prescaled.Pair_3 = (tsData->prescaled.intval >> 11)&0x001; // 11 -
398 tsData->prescaled.LED = (tsData->prescaled.intval >> 12)&0x001; // 12 LED
399 tsData->prescaled.Cosmic = (tsData->prescaled.intval >> 13)&0x001; // 13 Cosmic
400 tsData->prescaled.Hodoscope = (tsData->prescaled.intval >> 14)&0x001; // 14 Hodoscope
401 tsData->prescaled.Pulser = (tsData->prescaled.intval >> 15)&0x001; // 15 Pulser
402 tsData->prescaled.Mult_0 = (tsData->prescaled.intval >> 16)&0x001; // 16 Multiplicity-0 2 Cluster Trigger
403 tsData->prescaled.Mult_1 = (tsData->prescaled.intval >> 17)&0x001; // 17 Multiplicity-1 3 Cluster trigger
404 tsData->prescaled.FEE_Top = (tsData->prescaled.intval >> 18)&0x001; // 18 FEE Top ( 2600-5200)
405 tsData->prescaled.FEE_Bot = (tsData->prescaled.intval >> 19)&0x001; // 19 FEE Bot ( 2600-5200)
406 tsData->prescaled.NA = (tsData->prescaled.intval >> 20)&0xFFF; // 20-31 Not used
407 // Parse out ext word
408 tsData->ext.intval = ts_data_lcio->getIntVal(6); // Full word
409 tsData->ext.Single_0_Top = (tsData->ext.intval )&0x001; // 0 Low energy cluster
410 tsData->ext.Single_1_Top = (tsData->ext.intval >> 1)&0x001; // 1 e+
411 tsData->ext.Single_2_Top = (tsData->ext.intval >> 2)&0x001; // 2 e+ : Position dependent energy cut
412 tsData->ext.Single_3_Top = (tsData->ext.intval >> 3)&0x001; // 3 e+ : HODO L1*L2 Match with cluster
413 tsData->ext.Single_0_Bot = (tsData->ext.intval >> 4)&0x001; // 4 Low energy cluster
414 tsData->ext.Single_1_Bot = (tsData->ext.intval >> 5)&0x001; // 5 e+
415 tsData->ext.Single_2_Bot = (tsData->ext.intval >> 6)&0x001; // 6 e+ : Position dependent energy cut
416 tsData->ext.Single_3_Bot = (tsData->ext.intval >> 7)&0x001; // 7 e+ : HODO L1*L2 Match with cluster
417 tsData->ext.Pair_0 = (tsData->ext.intval >> 8)&0x001; // 8 A'
418 tsData->ext.Pair_1 = (tsData->ext.intval >> 9)&0x001; // 9 Moller
419 tsData->ext.Pair_2 = (tsData->ext.intval >> 10)&0x001; // 10 pi0
420 tsData->ext.Pair_3 = (tsData->ext.intval >> 11)&0x001; // 11 -
421 tsData->ext.LED = (tsData->ext.intval >> 12)&0x001; // 12 LED
422 tsData->ext.Cosmic = (tsData->ext.intval >> 13)&0x001; // 13 Cosmic
423 tsData->ext.Hodoscope = (tsData->ext.intval >> 14)&0x001; // 14 Hodoscope
424 tsData->ext.Pulser = (tsData->ext.intval >> 15)&0x001; // 15 Pulser
425 tsData->ext.Mult_0 = (tsData->ext.intval >> 16)&0x001; // 16 Multiplicity-0 2 Cluster Trigger
426 tsData->ext.Mult_1 = (tsData->ext.intval >> 17)&0x001; // 17 Multiplicity-1 3 Cluster trigger
427 tsData->ext.FEE_Top = (tsData->ext.intval >> 18)&0x001; // 18 FEE Top ( 2600-5200)
428 tsData->ext.FEE_Bot = (tsData->ext.intval >> 19)&0x001; // 19 FEE Bot ( 2600-5200)
429 tsData->ext.NA = (tsData->ext.intval >> 20)&0xFFF; // 20-31 Not used
430} //EventProcessor::parstsData->eTSData(LCGenericObject* ts_data_lcio)
431
434
Processor used to write event info.
#define DECLARE_PROCESSOR(CLASS)
Macro which allows the framework to construct a producer given its name during configuration.
Definition Processor.h:139
Processor used to write event info. more details.
EventHeader * header_
virtual bool process(IEvent *ievent)
Process the event and put new data products into it.
std::string tsCollRoot_
description
std::string vtpCollRoot_
description
int debug_
Debug Level.
std::string headCollRoot_
description
virtual void configure(const ParameterSet &parameters)
Callback for the Processor to configure itself from the given set of parameters.
virtual void finalize()
Callback for the Processor to take any necessary action when the processing of events finishes.
std::string trigCollLcio_
description
virtual void initialize(TTree *tree)
Callback for the Processor to take any necessary action when the processing of events starts.
std::string run_evt_list_
EventProcessor(const std::string &name, Process &process)
Class constructor.
std::map< int, std::vector< int > > run_evts_map_
description
std::string rfCollLcio_
description
std::string tsCollLcio_
description
void parseTSData(EVENT::LCGenericObject *ts_data_lcio)
std::string vtpCollLcio_
description
void parseVTPData(EVENT::LCGenericObject *vtp_data_lcio)
Definition Event.h:35
Definition IEvent.h:7
description
Processor(const std::string &name, Process &process)
Class constructor.
Definition Processor.cxx:10
virtual bool process()
Process the histograms and generate analysis output.
Definition Processor.h:95
bool isPair0Trigger() const
Definition TriggerData.h:37
bool isPair1Trigger() const
Definition TriggerData.h:40
bool isSingle0Trigger() const
Definition TriggerData.h:31
bool isPulserTrigger() const
Definition TriggerData.h:43
bool isSingle1Trigger() const
Definition TriggerData.h:34
unsigned int reserved
Definition VTPData.h:101
unsigned int type
Definition VTPData.h:107
unsigned int T
Definition VTPData.h:100
unsigned int subtype
Definition VTPData.h:106
unsigned int multtot
Definition VTPData.h:117
unsigned int multtop
Definition VTPData.h:115
unsigned int type
Definition VTPData.h:120
unsigned int multbot
Definition VTPData.h:116
unsigned int subtype
Definition VTPData.h:119
unsigned int type
Definition VTPData.h:54
unsigned int T
Definition VTPData.h:56
unsigned int E
Definition VTPData.h:52
unsigned int nothing
Definition VTPData.h:58
unsigned int subtype
Definition VTPData.h:53
unsigned int N
Definition VTPData.h:57
unsigned int reserved
Definition VTPData.h:129
unsigned int type
Definition VTPData.h:131
unsigned int region
Definition VTPData.h:128
unsigned int T
Definition VTPData.h:127
unsigned int subtype
Definition VTPData.h:130
unsigned int type
Definition VTPData.h:93
unsigned int T
Definition VTPData.h:84
unsigned int inst
Definition VTPData.h:91
unsigned int subtype
Definition VTPData.h:92
unsigned int dummy
Definition VTPData.h:89
unsigned int type
Definition VTPData.h:77
unsigned int T
Definition VTPData.h:64
unsigned int inst
Definition VTPData.h:75
unsigned int subtype
Definition VTPData.h:76