test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DCCEBSRPBlock.h
Go to the documentation of this file.
1 #ifndef DCCEBSRPBLOCK_HH
2 #define DCCEBSRPBLOCK_HH
3 
4 
5 /*
6  *\ Class DCCEBSRPBlock
7  *
8  * Class responsible for the SR flag unpacking in the EB.
9  *
10  * \file DCCEBSRPBlock.h
11  *
12  *
13  * \author N. Almeida
14  *
15 */
16 
17 
18 #include <iostream>
19 #include <memory>
20 #include <stdint.h>
21 #include <string>
22 #include <vector>
23 #include <map>
24 #include <utility>
25 
26 #include "DCCSRPBlock.h"
27 
31 
32 
33 class DCCEBSRPBlock : public DCCSRPBlock{
34 
35  public :
36 
38 
39  void updateCollectors();
40 
41 
42  protected :
43 
44  void addSRFlagToCollection();
45 
47 
48  std::auto_ptr<EBSrFlagCollection> * ebSrFlagsDigis_;
49 
51 
52 };
53 
54 
55 #endif
std::auto_ptr< EBSrFlagCollection > * ebSrFlagsDigis_
Definition: DCCEBSRPBlock.h:48
void updateCollectors()
DCCEBSRPBlock(DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack)
Definition: DCCEBSRPBlock.cc:9
EcalTrigTowerDetId * pTTDetId_
Definition: DCCEBSRPBlock.h:50
int unpack(const uint64_t **data, unsigned int *dwToEnd, unsigned int numbFlags=SRP_NUMBFLAGS)
Definition: DCCSRPBlock.cc:19
void addSRFlagToCollection()
bool checkSrpIdAndNumbSRFlags()