CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloTau.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
6  maximumHCALhitEt_ = NAN;
14 }
15 
16 CaloTau::CaloTau(Charge q,const LorentzVector& p4,const Point& vtx) : BaseTau(q,p4,vtx) {
17  maximumHCALhitEt_ = NAN;
25 }
26 
27 CaloTau* CaloTau::clone()const{return new CaloTau(*this);}
28 
31 
33  return this->caloTauTagInfoRef()->calojetRef();
34 }
35 
38 
41 
44 
47 
50 
53 
56 
59 
60 bool CaloTau::overlap(const reco::Candidate& theCand)const{
61  const reco::RecoCandidate* theRecoCand=dynamic_cast<const RecoCandidate *>(&theCand);
62  return (theRecoCand!=0 && (checkOverlap(track(),theRecoCand->track())));
63 }
float isolationECALhitsEtSum_
Definition: CaloTau.h:72
int Charge
electric charge type
Definition: Candidate.h:36
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
const CaloJetRef rawJetRef() const
Definition: CaloTau.cc:32
float leadTrackHCAL3x3hitsEtSum() const
Definition: CaloTau.cc:39
CaloTau * clone() const
returns a clone of the Candidate object
Definition: CaloTau.cc:27
void setisolationECALhitsEtSum(const float &)
Definition: CaloTau.cc:55
virtual reco::TrackRef track() const
reference to a Track
float maximumHCALhitEt() const
Definition: CaloTau.cc:57
float isolationTracksPtSum_
Definition: CaloTau.h:71
CaloTauTagInfoRef CaloTauTagInfoRef_
Definition: CaloTau.h:65
float leadTracksignedSipt_
Definition: CaloTau.h:66
double p4[4]
Definition: TauolaWrapper.h:92
float signalTracksInvariantMass_
Definition: CaloTau.h:69
float leadTracksignedSipt() const
Definition: CaloTau.cc:36
void setsignalTracksInvariantMass(const float &)
Definition: CaloTau.cc:46
float leadTrackHCAL3x3hottesthitDEta() const
Definition: CaloTau.cc:42
float isolationTracksPtSum() const
Definition: CaloTau.cc:51
float TracksInvariantMass_
Definition: CaloTau.h:70
void setisolationTracksPtSum(const float &)
Definition: CaloTau.cc:52
void setmaximumHCALhitEt(const float &)
Definition: CaloTau.cc:58
float leadTrackHCAL3x3hitsEtSum_
Definition: CaloTau.h:67
const CaloTauTagInfoRef & caloTauTagInfoRef() const
Definition: CaloTau.cc:29
float leadTrackHCAL3x3hottesthitDEta_
Definition: CaloTau.h:68
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:38
void setleadTracksignedSipt(const float &)
Definition: CaloTau.cc:37
void setTracksInvariantMass(const float &)
Definition: CaloTau.cc:49
void setcaloTauTagInfoRef(const CaloTauTagInfoRef)
Definition: CaloTau.cc:30
void setleadTrackHCAL3x3hitsEtSum(const float &)
Definition: CaloTau.cc:40
float maximumHCALhitEt_
Definition: CaloTau.h:73
math::XYZPoint Point
point in the space
Definition: Candidate.h:42
virtual bool overlap(const Candidate &d) const
check overlap with another candidate
Definition: CaloTau.cc:60
Definition: DDAxes.h:10
float signalTracksInvariantMass() const
Definition: CaloTau.cc:45
void setleadTrackHCAL3x3hottesthitDEta(const float &)
Definition: CaloTau.cc:43
float TracksInvariantMass() const
Definition: CaloTau.cc:48
float isolationECALhitsEtSum() const
Definition: CaloTau.cc:54