CMS 3D CMS Logo

HcalTB06Analysis.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HcalTestBeam_HcalTB06Analysis_H
2 #define SimG4CMS_HcalTestBeam_HcalTB06Analysis_H
3 // -*- C++ -*-
4 //
5 // Package: HcalTestBeam
6 // Class : HcalTB06Analysis
7 //
8 //
9 
19 
20 #include <memory>
21 #include <vector>
22 #include <string>
23 
24 class HcalTB06Histo;
25 
26 class HcalTB06Analysis : public edm::one::EDAnalyzer<edm::one::SharedResources>
27 {
28 public:
29 
30  explicit HcalTB06Analysis(const edm::ParameterSet &p);
31  virtual ~HcalTB06Analysis();
32 
33  virtual void beginJob() override;
34  virtual void endJob() override;
35  virtual void analyze(const edm::Event & e, const edm::EventSetup& c) override;
36 
37 private:
38 
39  HcalTB06Analysis(const HcalTB06Analysis&) = delete;
40  const HcalTB06Analysis& operator=(const HcalTB06Analysis&) = delete;
41 
45  bool m_ECAL;
46 
47  int count;
52 
53  double m_eta;
54  double m_phi;
55  double m_ener;
56  double m_timeLimit;
57  double m_widthEcal;
58  double m_widthHcal;
59  double m_factEcal;
60  double m_factHcal;
61  std::vector<int> m_PDG;
62 
64 
65 };
66 
67 #endif
const HcalTB06Analysis & operator=(const HcalTB06Analysis &)=delete
virtual void beginJob() override
edm::EDGetTokenT< edm::PCaloHitContainer > m_BeamToken
virtual void analyze(const edm::Event &e, const edm::EventSetup &c) override
HcalTB06Histo * m_histo
edm::EDGetTokenT< edm::PCaloHitContainer > m_HcalToken
HcalTB06Analysis(const edm::ParameterSet &p)
std::vector< int > m_PDG
virtual ~HcalTB06Analysis()
edm::EDGetTokenT< edm::PCaloHitContainer > m_EcalToken
virtual void endJob() override