CMS 3D CMS Logo

BaseTau.h
Go to the documentation of this file.
1 #ifndef DataFormats_TauReco_BaseTau_h
2 #define DataFormats_TauReco_BaseTau_h
3 
4 /* class BaseTau
5  * base class
6  * authors: Simone Gennai (simone.gennai@cern.ch), Ludovic Houchu (Ludovic.Houchu@cern.ch)
7  * created: Jun 21 2007,
8  * revised: Sep 4 2007
9  */
14 
15 #include <limits>
16 
17 namespace reco {
18  class BaseTau : public RecoCandidate {
19  public:
20  BaseTau();
21  BaseTau(Charge q, const LorentzVector&, const Point& = Point(0, 0, 0));
22  ~BaseTau() override {}
23  BaseTau* clone() const override;
24 
25  // rec. jet Lorentz-vector combining (Tracks and neutral ECAL Island BasicClusters) or (charged hadr. PFCandidates and gamma PFCandidates)
28 
29  // leading Track
30  virtual reco::TrackRef leadTrack() const;
31  void setleadTrack(const TrackRef&);
32 
33  // Tracks which passed quality cuts and are inside a tracker signal cone around leading Track
34  virtual const reco::TrackRefVector& signalTracks() const;
35  void setsignalTracks(const TrackRefVector&);
36 
37  // Tracks which passed quality cuts and are inside a tracker isolation annulus around leading Track
38  virtual const reco::TrackRefVector& isolationTracks() const;
40 
41  private:
42  // check overlap with another candidate
43  bool overlap(const Candidate&) const override;
47  };
48 } // namespace reco
49 #endif
reco::BaseTau::setsignalTracks
void setsignalTracks(const TrackRefVector &)
Definition: BaseTau.cc:27
reco::LeafCandidate::Point
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27
reco::BaseTau::leadTrack
virtual reco::TrackRef leadTrack() const
Definition: BaseTau.cc:24
reco::BaseTau::alternatLorentzVect_
math::XYZTLorentzVector alternatLorentzVect_
Definition: BaseTau.h:44
reco::BaseTau::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: BaseTau.cc:31
reco::Candidate::Charge
int Charge
electric charge type
Definition: Candidate.h:34
edm::RefVector< TrackCollection >
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::BaseTau::signalTracks
virtual const reco::TrackRefVector & signalTracks() const
Definition: BaseTau.cc:26
RecoCandidate.h
edm::Ref< TrackCollection >
reco::BaseTau::clone
BaseTau * clone() const override
returns a clone of the Candidate object
Definition: BaseTau.cc:19
reco::BaseTau::signalTracks_
reco::TrackRefVector signalTracks_
Definition: BaseTau.h:46
TrackFwd.h
reco::BaseTau
Definition: BaseTau.h:18
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
reco::BaseTau::~BaseTau
~BaseTau() override
Definition: BaseTau.h:22
reco::BaseTau::BaseTau
BaseTau()
Definition: BaseTau.cc:5
reco::BaseTau::alternatLorentzVect
math::XYZTLorentzVector alternatLorentzVect() const
Definition: BaseTau.cc:21
LorentzVector.h
reco::BaseTau::isolationTracks_
reco::TrackRefVector isolationTracks_
Definition: BaseTau.h:46
reco::BaseTau::leadTrack_
reco::TrackRef leadTrack_
Definition: BaseTau.h:45
submitPVResolutionJobs.q
q
Definition: submitPVResolutionJobs.py:84
reco::RecoCandidate
Definition: RecoCandidate.h:20
reco::Candidate
Definition: Candidate.h:27
BaseTauFwd.h
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
reco::BaseTau::setisolationTracks
void setisolationTracks(const TrackRefVector &)
Definition: BaseTau.cc:29
reco::BaseTau::setalternatLorentzVect
void setalternatLorentzVect(const math::XYZTLorentzVector &)
Definition: BaseTau.cc:22
reco::BaseTau::setleadTrack
void setleadTrack(const TrackRef &)
Definition: BaseTau.cc:25
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
reco::BaseTau::isolationTracks
virtual const reco::TrackRefVector & isolationTracks() const
Definition: BaseTau.cc:28