CMS 3D CMS Logo

CastorJetIDHelper.h
Go to the documentation of this file.
1 #ifndef RecoJets_JetProducers_interface_CastorJetIDHelper_h
2 #define RecoJets_JetProducers_interface_CastorJetIDHelper_h
3 
7 
8 namespace reco {
9 
10  namespace helper {
11 
13  public:
14  // construction
17 
18  void initValues();
19 
20  // interface
21  void calculate(const edm::Event& event, const reco::BasicJet& jet);
22 
23  // member access
24 
25  double emEnergy() const { return emEnergy_; }
26  double hadEnergy() const { return hadEnergy_; }
27  double fem() const { return fem_; }
28  double width() const { return width_; }
29  double depth() const { return depth_; }
30  double fhot() const { return fhot_; }
31  double sigmaz() const { return sigmaz_; }
32  int nTowers() const { return nTowers_; }
33 
34  private:
35  // helper functions
36  double phiangle(double testphi);
37 
38  double emEnergy_;
39  double hadEnergy_;
40  double fem_;
41  double width_;
42  double depth_;
43  double fhot_;
44  double sigmaz_;
45  int nTowers_;
46  };
47  } // namespace helper
48 } // namespace reco
49 #endif
Definition: helper.py:1
Jets made from CaloTowers.
Definition: BasicJet.h:19
void calculate(const edm::Event &event, const reco::BasicJet &jet)
double phiangle(double testphi)
fixed size matrix
Definition: event.py:1