CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TCTauAlgorithm.h
Go to the documentation of this file.
1 #ifndef TCTauAlgorithm_H
2 #define TCTauAlgorithm_H
3 
15 
16 #include "TLorentzVector.h"
19 //#include "DataFormats/JetReco/interface/Jet.h"
20 //#include "DataFormats/BTauReco/interface/IsolatedTauTagInfo.h"
21 
23 
26 
30 
37 
39 
41 
42 
43 #include "Math/VectorUtil.h"
44 
46  public:
53 
54  public:
58 
61 
62  void inputConfig(const edm::ParameterSet& iConfig, edm::ConsumesCollector &iC);
63  void eventSetup(const edm::Event&,const edm::EventSetup&);
64 
65  double efficiency();
66  int allTauCandidates();
67  int statistics();
68  int algoComponent();
69 
70  private:
71 
72  const edm::Event *event;
76 
77 
78  void init();
79 
82  std::pair<math::XYZVector,math::XYZVector> getClusterEnergy(const reco::CaloJet&,math::XYZVector&,double);
84 
85 
86  int all,
87  passed;
88 
90 
91  int prongs;
92 
95 
97 
98  double signalCone;
99  double ecalCone;
100 
105 
111 
118 
121 
125 };
126 #endif
127 
128 
double etCaloOverTrackMax
void eventSetup(const edm::Event &, const edm::EventSetup &)
double etHcalOverTrackMin
edm::Handle< HORecHitCollection > HORecHits
Jets made from CaloTowers.
Definition: CaloJet.h:29
double efficiency()
const edm::EventSetup * setup
const edm::Event * event
const CaloSubdetectorGeometry * HO
double etHcalOverTrackMax
math::XYZVector trackEcalHitPoint(const reco::TransientTrack &, const reco::CaloJet &)
double etCaloOverTrackMin
const CaloSubdetectorGeometry * HE
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
std::pair< math::XYZVector, math::XYZVector > getClusterEnergy(const reco::CaloJet &, math::XYZVector &, double)
const CaloSubdetectorGeometry * EB
edm::InputTag EcalRecHitsEB_input
edm::Handle< HBHERecHitCollection > HBHERecHits
TrackDetectorAssociator * trackAssociator
math::XYZTLorentzVector recalculateEnergy(const reco::CaloTau &)
const CaloSubdetectorGeometry * HF
const CaloSubdetectorGeometry * EE
math::XYZVector getCellMomentum(const CaloCellGeometry *, double &)
edm::InputTag HBHERecHits_input
edm::Handle< EERecHitCollection > EERecHits
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:30
void inputConfig(const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC)
const TransientTrackBuilder * transientTrackBuilder
edm::InputTag HORecHits_input
edm::Handle< HFRecHitCollection > HFRecHits
edm::InputTag EcalRecHitsEE_input
edm::InputTag HFRecHits_input
edm::Handle< EBRecHitCollection > EBRecHits
const CaloSubdetectorGeometry * HB
TrackAssociatorParameters trackAssociatorParameters