CMS 3D CMS Logo

EcalPnGraphs.h
Go to the documentation of this file.
1 #ifndef ECALPNGRAPHS_h
2 #define ECALPNGRAPHS_h
3 
9 
12 
14 #include <iostream>
15 #include <vector>
16 
17 #include "TFile.h"
18 #include "TGraph.h"
19 
21 public:
23  ~EcalPnGraphs() override;
24 
25 private:
26  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
27  void beginJob() override;
28  void endJob() override;
29 
31 
33 
34 protected:
36 
37  std::vector<int> feds_;
38  std::vector<std::string> ebs_;
39 
40  int verbosity;
42  int first_Pn;
43  bool inputIsOk;
44 
46 
47  std::vector<int> listChannels;
48  std::vector<int> listAllChannels;
49  std::vector<int> listPns;
50  std::vector<int> listAllPns;
51 
52  int numPn;
53 
54  int abscissa[50];
55  int ordinate[50];
56 
57  std::vector<TGraph> graphs;
58 
59  TFile* root_file;
60 };
61 
62 #endif
std::vector< int > listChannels
Definition: EcalPnGraphs.h:47
int abscissa[50]
Definition: EcalPnGraphs.h:54
std::string intToString(int num)
std::vector< int > feds_
Definition: EcalPnGraphs.h:37
std::string fileName
Definition: EcalPnGraphs.h:45
void analyze(const edm::Event &e, const edm::EventSetup &c) override
void beginJob() override
EcalFedMap * fedMap
Definition: EcalPnGraphs.h:32
std::vector< TGraph > graphs
Definition: EcalPnGraphs.h:57
int ordinate[50]
Definition: EcalPnGraphs.h:55
std::vector< int > listAllPns
Definition: EcalPnGraphs.h:50
~EcalPnGraphs() override
std::vector< std::string > ebs_
Definition: EcalPnGraphs.h:38
std::vector< int > listPns
Definition: EcalPnGraphs.h:49
edm::EDGetTokenT< EcalPnDiodeDigiCollection > digiProducer_
Definition: EcalPnGraphs.h:35
TFile * root_file
Definition: EcalPnGraphs.h:59
void endJob() override
std::vector< int > listAllChannels
Definition: EcalPnGraphs.h:48
EcalPnGraphs(const edm::ParameterSet &ps)
Definition: EcalPnGraphs.cc:29