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 
20 
21 
23 
24 public:
25 
26  EcalPnGraphs(const edm::ParameterSet& ps);
27  ~EcalPnGraphs() override;
28 
29 private:
30  void analyze(const edm::Event & e, const edm::EventSetup& c) override;
31  void beginJob() override;
32  void endJob() override;
33 
34  // void pnGraphs (edm::Handle<EcalPnDiodeDigiCollection> PNs );
35 
37 
39 
40 protected:
41 
42  // std::string ebDigiCollection_;
43  //std::string eeDigiCollection_;
45 
46  std::vector<int> feds_;
47  std::vector<std::string> ebs_;
48 
49  int verbosity;
51 
52  // std::vector<int ieb_id;
53  int first_Pn;
54 
55 
56  bool inputIsOk;
57 
59 
60  std::vector<int> listChannels;
61  std::vector<int> listAllChannels;
62  std::vector<int> listPns;
63  std::vector<int> listAllPns;
64 
65  int numPn;
66 
67  int abscissa[50];
68  int ordinate[50];
69 
70  std::vector<TGraph> graphs;
71 
72  TFile * root_file;
73 
74 };
75 
76 #endif
77 
std::vector< int > listChannels
Definition: EcalPnGraphs.h:60
int abscissa[50]
Definition: EcalPnGraphs.h:67
std::string intToString(int num)
std::vector< int > feds_
Definition: EcalPnGraphs.h:46
std::string fileName
Definition: EcalPnGraphs.h:58
void analyze(const edm::Event &e, const edm::EventSetup &c) override
void beginJob() override
EcalFedMap * fedMap
Definition: EcalPnGraphs.h:38
std::vector< TGraph > graphs
Definition: EcalPnGraphs.h:70
int ordinate[50]
Definition: EcalPnGraphs.h:68
std::string digiProducer_
Definition: EcalPnGraphs.h:44
std::vector< int > listAllPns
Definition: EcalPnGraphs.h:63
~EcalPnGraphs() override
std::vector< std::string > ebs_
Definition: EcalPnGraphs.h:47
std::vector< int > listPns
Definition: EcalPnGraphs.h:62
TFile * root_file
Definition: EcalPnGraphs.h:72
void endJob() override
std::vector< int > listAllChannels
Definition: EcalPnGraphs.h:61
EcalPnGraphs(const edm::ParameterSet &ps)
Definition: EcalPnGraphs.cc:31