test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
18 
19 #include <memory>
20 #include <vector>
21 #include <string>
22 
23 class HcalTB06Histo;
24 
25 class HcalTB06Analysis : public edm::one::EDAnalyzer<edm::one::SharedResources>
26 {
27 public:
28 
29  explicit HcalTB06Analysis(const edm::ParameterSet &p);
30  virtual ~HcalTB06Analysis();
31 
32  virtual void beginJob() override;
33  virtual void endJob() override;
34  virtual void analyze(const edm::Event & e, const edm::EventSetup& c) override;
35 
36 private:
37 
38  HcalTB06Analysis(const HcalTB06Analysis&) = delete;
39  const HcalTB06Analysis& operator=(const HcalTB06Analysis&) = delete;
40 
41  int count;
44  bool m_ECAL;
45 
46  double m_eta;
47  double m_phi;
48  double m_ener;
49  double m_widthEcal;
50  double m_factEcal;
51  double m_factHcal;
52  std::vector<int> m_PDG;
53 
55 
56 };
57 
58 #endif
const HcalTB06Analysis & operator=(const HcalTB06Analysis &)=delete
virtual void beginJob() override
virtual void analyze(const edm::Event &e, const edm::EventSetup &c) override
HcalTB06Histo * m_histo
HcalTB06Analysis(const edm::ParameterSet &p)
std::vector< int > m_PDG
edm::InputTag m_EcalTag
virtual ~HcalTB06Analysis()
edm::InputTag m_HcalTag
virtual void endJob() override