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  ~HcalTB06Analysis() override;
32 
33  void beginJob() override;
34  void endJob() override;
35  void analyze(const edm::Event & e, const edm::EventSetup& c) override;
36 
37  HcalTB06Analysis(const HcalTB06Analysis&) = delete;
38  const HcalTB06Analysis& operator=(const HcalTB06Analysis&) = delete;
39 
40 private:
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
void beginJob() override
edm::EDGetTokenT< edm::PCaloHitContainer > m_BeamToken
void analyze(const edm::Event &e, const edm::EventSetup &c) override
HcalTB06Histo * m_histo
edm::EDGetTokenT< edm::PCaloHitContainer > m_HcalToken
~HcalTB06Analysis() override
HcalTB06Analysis(const edm::ParameterSet &p)
std::vector< int > m_PDG
edm::EDGetTokenT< edm::PCaloHitContainer > m_EcalToken
void endJob() override