#include <CSCDigiToRaw.h>
Public Member Functions | |
void | createFedBuffers (const CSCStripDigiCollection &stripDigis, const CSCWireDigiCollection &wireDigis, const CSCComparatorDigiCollection &comparatorDigis, const CSCALCTDigiCollection &alctDigis, const CSCCLCTDigiCollection &clctDigis, const CSCCLCTPreTriggerCollection &preTriggers, const CSCCorrelatedLCTDigiCollection &correlatedLCTDigis, FEDRawDataCollection &fed_buffers, const CSCChamberMap *theMapping, edm::Event &e, uint16_t theFormatVersion=2005, bool usePreTriggers=true, bool packEverything=false) |
Take a vector of digis and fill the FEDRawDataCollection. More... | |
CSCDigiToRaw (const edm::ParameterSet &pset) | |
Constructor. More... | |
Private Member Functions | |
void | add (const CSCStripDigiCollection &stripDigis, const CSCCLCTPreTriggerCollection &preTriggers) |
void | add (const CSCWireDigiCollection &wireDigis, const CSCALCTDigiCollection &alctDigis) |
void | add (const CSCComparatorDigiCollection &comparatorDigis, const CSCCLCTDigiCollection &clctDigis) |
void | add (const CSCALCTDigiCollection &alctDigis) |
void | add (const CSCCLCTDigiCollection &clctDigis) |
void | add (const CSCCorrelatedLCTDigiCollection &corrLCTDigis) |
void | beginEvent (const CSCChamberMap *electronicsMap) |
CSCEventData & | findEventData (const CSCDetId &cscDetId) |
pick out the correct data object for this chamber More... | |
Private Attributes | |
int | alctWindowMax_ |
int | alctWindowMin_ |
int | clctWindowMax_ |
int | clctWindowMin_ |
uint16_t | formatVersion_ |
bool | packEverything_ |
int | preTriggerWindowMax_ |
int | preTriggerWindowMin_ |
std::map< CSCDetId, CSCEventData > | theChamberDataMap |
const CSCChamberMap * | theElectronicsMap |
bool | usePreTriggers_ |
Definition at line 23 of file CSCDigiToRaw.h.
|
explicit |
Constructor.
Definition at line 123 of file CSCDigiToRaw.cc.
|
private |
Definition at line 175 of file CSCDigiToRaw.cc.
Referenced by counter.Counter::register().
|
private |
Definition at line 240 of file CSCDigiToRaw.cc.
Referenced by counter.Counter::register().
|
private |
Definition at line 262 of file CSCDigiToRaw.cc.
Referenced by counter.Counter::register().
|
private |
Definition at line 317 of file CSCDigiToRaw.cc.
Referenced by counter.Counter::register().
|
private |
Definition at line 328 of file CSCDigiToRaw.cc.
Referenced by counter.Counter::register().
|
private |
Definition at line 355 of file CSCDigiToRaw.cc.
Referenced by counter.Counter::register().
|
private |
Definition at line 135 of file CSCDigiToRaw.cc.
void CSCDigiToRaw::createFedBuffers | ( | const CSCStripDigiCollection & | stripDigis, |
const CSCWireDigiCollection & | wireDigis, | ||
const CSCComparatorDigiCollection & | comparatorDigis, | ||
const CSCALCTDigiCollection & | alctDigis, | ||
const CSCCLCTDigiCollection & | clctDigis, | ||
const CSCCLCTPreTriggerCollection & | preTriggers, | ||
const CSCCorrelatedLCTDigiCollection & | correlatedLCTDigis, | ||
FEDRawDataCollection & | fed_buffers, | ||
const CSCChamberMap * | theMapping, | ||
edm::Event & | e, | ||
uint16_t | theFormatVersion = 2005 , |
||
bool | usePreTriggers = true , |
||
bool | packEverything = false |
||
) |
Take a vector of digis and fill the FEDRawDataCollection.
Handle pre-LS1 format data
Handle post-LS1 format data
2013 Format
Create dummy DDU buffers
Loop over post-LS1 DDU FEDs
Lets handle possible mapping issues
Definition at line 385 of file CSCDigiToRaw.cc.
|
private |
pick out the correct data object for this chamber
Definition at line 142 of file CSCDigiToRaw.cc.
|
private |
Definition at line 63 of file CSCDigiToRaw.h.
|
private |
Definition at line 62 of file CSCDigiToRaw.h.
|
private |
Definition at line 65 of file CSCDigiToRaw.h.
|
private |
Definition at line 64 of file CSCDigiToRaw.h.
|
private |
Definition at line 68 of file CSCDigiToRaw.h.
|
private |
Definition at line 70 of file CSCDigiToRaw.h.
|
private |
Definition at line 67 of file CSCDigiToRaw.h.
|
private |
Definition at line 66 of file CSCDigiToRaw.h.
|
private |
Definition at line 60 of file CSCDigiToRaw.h.
|
private |
Definition at line 61 of file CSCDigiToRaw.h.
|
private |
Definition at line 69 of file CSCDigiToRaw.h.