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 
4 
8 
9 namespace reco {
10 
11  namespace helper {
12 
14 
15  public :
16  // construction
19 
20 
21  void initValues ();
22 
23  // interface
24  void calculate( const edm::Event& event, const reco::BasicJet &jet );
25 
26  // member access
27 
28  double emEnergy() const { return emEnergy_;}
29  double hadEnergy() const { return hadEnergy_;}
30  double fem() const { return fem_;}
31  double width() const { return width_;}
32  double depth() const { return depth_;}
33  double fhot() const { return fhot_;}
34  double sigmaz() const { return sigmaz_;}
35  int nTowers() const { return nTowers_;}
36 
37 
38  private:
39 
40 
41  // helper functions
42  double phiangle (double testphi);
43 
44  double emEnergy_;
45  double hadEnergy_;
46  double fem_;
47  double width_;
48  double depth_;
49  double fhot_;
50  double sigmaz_;
51  int nTowers_;
52 
53  static int sanity_checks_left_;
54  };
55  }
56 }
57 #endif
Definition: helper.py:1
Jets made from CaloTowers.
Definition: BasicJet.h:20
void calculate(const edm::Event &event, const reco::BasicJet &jet)
double phiangle(double testphi)
fixed size matrix
Definition: event.py:1