stablejet is hosted by Hepforge, IPPP Durham
StableJet
CmsLikeJetEfficiency.h
1 #ifndef FastJetStability_CmsLikeJetEfficiency_h
2 #define FastJetStability_CmsLikeJetEfficiency_h
3 
4 #include "AbsSmearJet.hh"
5 
6 namespace stab {
7 
13 
14 public:
15 
16  CmsLikeJetEfficiency(double minTrackPt = 0.25,
17  double minNeutralHadronPt = 0.5,
18  double minPhotonPt = 0.5,
19  double trackingEfficiencyInJets = 0.95);
20  inline virtual ~CmsLikeJetEfficiency() {}
21 
22  // set the friend event info
23  // the reference given here is used to fill in the event info needed
24  // by CmsLikeJetSmear at the next level.
25  inline void setFriendlyInfo( StabilityEventInfo &info )
26  { m_friendInfo = &info; }
27 
28  // be friends with QCDandCmsLikeSmear
29  friend class QCDandCmsLikeSmear;
30 
31 private:
33 
34  virtual void processPhoton(const PseudoJet& in, const StabilityUserInfo &info,
35  ParticleCollection* out
36  ) const;
37  virtual void processTrack(const PseudoJet& in, const StabilityUserInfo &info,
38  ParticleCollection* out
39  ) const;
40  virtual void processNeutralHadron(const PseudoJet& in, const StabilityUserInfo &info,
41  ParticleCollection* out
42  ) const;
43 
44  // ------------ private member data ------------------------
45  // Tracking works only above this cutoff
46  double m_minTrackPt;
47  double m_trackRap;
48 
49  // Neutrals are detected only above the following cutoffs
50  double m_minNeutralHadronPt;
51  double m_hadRap;
52  double m_minPhotonPt;
53  double m_photoRap;
54 
55  // Tracking efficiency in jets
56  double m_trackingEfficiencyInJets;
57 
58  double m_klong_mass;
59 
60  StabilityEventInfo * m_friendInfo;
61 
62 
63 }; // end CmsLikeJetEfficiency class declaration
64 
65 } // end stab namespace
66 
67 #endif