test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DCCSCBlock.h
Go to the documentation of this file.
1 #ifndef DCCSCBLOCK_HH
2 #define DCCSCBLOCK_HH
3 
4 #include <iostream>
5 #include <memory>
6 #include <stdint.h>
7 #include <string>
8 #include <vector>
9 #include <map>
10 #include <utility>
11 
16 
17 #include "DCCFEBlock.h"
18 
19 class DCCEventBlock;
20 class DCCDataUnpacker;
21 
22 class DCCSCBlock : public DCCFEBlock {
23 
24  //to implement
25 
26  public :
27 
28  DCCSCBlock(DCCDataUnpacker * u, EcalElectronicsMapper *m, DCCEventBlock * e, bool unpack, bool forceToKeepFRdata);
29 
30  void updateCollectors();
31 
32 
33  protected :
34 
35  int unpackXtalData(unsigned int stripID, unsigned int xtalID);
36  void fillEcalElectronicsError( std::auto_ptr<EcalElectronicsIdCollection> * );
37 
40 
41  std::auto_ptr<EEDigiCollection> * digis_;
42 
43  // to restructure as common collections to DCCTowerBlock, to inherit from DCCFEBlock
44  std::auto_ptr<EEDetIdCollection> * invalidGains_;
45  std::auto_ptr<EEDetIdCollection> * invalidGainsSwitch_ ;
46  std::auto_ptr<EEDetIdCollection> * invalidChIds_;
47 
48 };
49 
50 
51 #endif
EEDataFrame * pDFId_
Definition: DCCSCBlock.h:39
void fillEcalElectronicsError(std::auto_ptr< EcalElectronicsIdCollection > *)
Definition: DCCSCBlock.cc:276
int unpack(const uint64_t **data, unsigned int *dwToEnd, bool zs, unsigned int expectedTowerID)
Definition: DCCFEBlock.cc:29
std::auto_ptr< EEDetIdCollection > * invalidGainsSwitch_
Definition: DCCSCBlock.h:45
std::auto_ptr< EEDetIdCollection > * invalidGains_
Definition: DCCSCBlock.h:44
int unpackXtalData(unsigned int stripID, unsigned int xtalID)
Definition: DCCSCBlock.cc:29
DCCSCBlock(DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack, bool forceToKeepFRdata)
Definition: DCCSCBlock.cc:9
EEDetId * pDetId_
Definition: DCCSCBlock.h:38
std::auto_ptr< EEDigiCollection > * digis_
Definition: DCCSCBlock.h:41
void updateCollectors()
Definition: DCCSCBlock.cc:13
std::auto_ptr< EEDetIdCollection > * invalidChIds_
Definition: DCCSCBlock.h:46