CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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();
28 
29 private:
30  virtual void analyze(const edm::Event & e, const edm::EventSetup& c);
31  virtual void beginJob();
32  virtual void endJob();
33 
34  // void pnGraphs (edm::Handle<EcalPnDiodeDigiCollection> PNs );
35 
36  std::string intToString(int num);
37 
39 
40 protected:
41 
42  // std::string ebDigiCollection_;
43  //std::string eeDigiCollection_;
44  std::string digiProducer_;
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 
58  std::string fileName;
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
virtual void endJob()
std::string intToString(int num)
std::vector< int > feds_
Definition: EcalPnGraphs.h:46
virtual void beginJob()
std::string fileName
Definition: EcalPnGraphs.h:58
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
long long int num
Definition: procUtils.cc:71
std::vector< std::string > ebs_
Definition: EcalPnGraphs.h:47
std::vector< int > listPns
Definition: EcalPnGraphs.h:62
TFile * root_file
Definition: EcalPnGraphs.h:72
std::vector< int > listAllChannels
Definition: EcalPnGraphs.h:61
EcalPnGraphs(const edm::ParameterSet &ps)
Definition: EcalPnGraphs.cc:33
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)