CMS 3D CMS Logo

EcalDigiDisplay.h
Go to the documentation of this file.
1 #ifndef ECALRAWTODIGI_ECALDIGIDISPLAY_h
2 #define ECALRAWTODIGI_ECALDIGIDISPLAY_h
3 
4 #include <memory>
5 #include <vector>
6 #include <string>
7 
17 
18 // class declaration
19 
20 class EcalDigiDisplay : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
21 public:
22  //Constractor
24  //Distractor
25  ~EcalDigiDisplay() override;
26 
27 private:
28  void analyze(edm::Event const& e, edm::EventSetup const& c) override;
29  void beginRun(edm::Run const&, edm::EventSetup const& c) override;
30  void endRun(edm::Run const&, edm::EventSetup const& c) override;
31  void endJob() override;
32 
33 protected:
37 
39 
43 
49 
50  std::vector<int> requestedFeds_;
51  std::vector<std::string> requestedEbs_;
52 
53  bool inputIsOk;
54  bool cryDigi;
55  bool ttDigi;
56  bool pnDigi;
57 
58  int mode;
59 
60  std::vector<int> listChannels;
61  std::vector<int> listTowers;
62  std::vector<int> listPns;
63 
65 };
66 #endif
const edm::EDGetTokenT< EcalRawDataCollection > rawDataToken_
const edm::EDGetTokenT< EEDigiCollection > eeDigiToken_
std::vector< int > requestedFeds_
void endRun(edm::Run const &, edm::EventSetup const &c) override
const edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > ecalMappingToken_
const edm::EDGetTokenT< EcalPnDiodeDigiCollection > pnDiodeDigiToken_
void analyze(edm::Event const &e, edm::EventSetup const &c) override
std::vector< int > listPns
void readEBDigis(edm::Handle< EBDigiCollection > digis, int Mode)
void readEEDigis(edm::Handle< EEDigiCollection > digis, int Mode)
EcalFedMap * fedMap
void beginRun(edm::Run const &, edm::EventSetup const &c) override
void readPNDigis(edm::Handle< EcalPnDiodeDigiCollection > PNs, int Mode)
void endJob() override
std::vector< int > listTowers
const EcalElectronicsMapping * ecalElectronicsMap_
~EcalDigiDisplay() override
const std::string eeDigiCollection_
std::vector< int > listChannels
EcalDigiDisplay(const edm::ParameterSet &ps)
const std::string digiProducer_
std::vector< std::string > requestedEbs_
const edm::EDGetTokenT< EBDigiCollection > ebDigiToken_
const std::string ebDigiCollection_
Definition: Run.h:45