CMS 3D CMS Logo

SiStripSpyUnpacker.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripMonitorHardware_SiStripSpyUnpacker_H
2 #define DQM_SiStripMonitorHardware_SiStripSpyUnpacker_H
3 
5 
6 // Standard includes.
7 #include <vector>
8 #include <utility>
9 #include <cstdint>
10 
11 // Other classes
13 class FEDRawData;
14 class SiStripRawDigi;
15 class SiStripFedCabling;
16 
17 namespace sistrip {
18 
31  class SpyUnpacker {
32  public:
34  typedef std::vector<uint32_t> Counters;
35 
36  SpyUnpacker(const bool allowIncompleteEvents);
37  ~SpyUnpacker();
38 
44  void createDigis(const SiStripFedCabling&,
45  const FEDRawDataCollection&,
46  RawDigis* pDigis,
47  const std::vector<uint32_t>& ids,
48  Counters* pTotalEventCounts,
49  Counters* pL1ACounts,
50  uint32_t* aRunRef);
51 
52  private:
53  // Configuration
55 
56  }; // end of SpyUnpacker class.
57 
58 } // namespace sistrip
59 
60 #endif // DQM_SiStripMonitorHardware_SiStripSpyUnpacker_H
edm::DetSetVector< SiStripRawDigi >
sistrip::SpyUnpacker::Counters
std::vector< uint32_t > Counters
Definition: SiStripSpyUnpacker.h:34
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition: SiStripFedCabling.h:25
FEDRawData
Definition: FEDRawData.h:19
SiStripRawDigi
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
Definition: SiStripRawDigi.h:15
sistrip::SpyUnpacker
Unpacks spy channel data into scope mode-like digis.
Definition: SiStripSpyUnpacker.h:31
sistrip::SpyUnpacker::~SpyUnpacker
~SpyUnpacker()
Destructor.
Definition: SiStripSpyUnpacker.cc:36
sistrip::SpyUnpacker::allowIncompleteEvents_
const bool allowIncompleteEvents_
Definition: SiStripSpyUnpacker.h:54
sistrip::SpyUnpacker::RawDigis
edm::DetSetVector< SiStripRawDigi > RawDigis
Definition: SiStripSpyUnpacker.h:33
DetSetVector.h
sistrip
sistrip classes
Definition: EnsembleCalibrationLA.cc:10
sistrip::SpyUnpacker::SpyUnpacker
SpyUnpacker(const bool allowIncompleteEvents)
Constructor.
Definition: SiStripSpyUnpacker.cc:29
sistrip::SpyUnpacker::createDigis
void createDigis(const SiStripFedCabling &, const FEDRawDataCollection &, RawDigis *pDigis, const std::vector< uint32_t > &ids, Counters *pTotalEventCounts, Counters *pL1ACounts, uint32_t *aRunRef)
Creates the scope mode digis for the supplied FED IDs or detIds and stores event counters.
Definition: SiStripSpyUnpacker.cc:43