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
int Charge
electric charge type
Definition: Candidate.h:34
void setisolationTracks(const TrackRefVector &)
Definition: BaseTau.cc:29
void setleadTrack(const TrackRef &)
Definition: BaseTau.cc:25
math::XYZTLorentzVector alternatLorentzVect_
Definition: BaseTau.h:44
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
void setsignalTracks(const TrackRefVector &)
Definition: BaseTau.cc:27
reco::TrackRefVector isolationTracks_
Definition: BaseTau.h:46
void setalternatLorentzVect(const math::XYZTLorentzVector &)
Definition: BaseTau.cc:22
virtual const reco::TrackRefVector & signalTracks() const
Definition: BaseTau.cc:26
virtual reco::TrackRef leadTrack() const
Definition: BaseTau.cc:24
BaseTau * clone() const override
returns a clone of the Candidate object
Definition: BaseTau.cc:19
virtual const reco::TrackRefVector & isolationTracks() const
Definition: BaseTau.cc:28
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: BaseTau.cc:31
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
fixed size matrix
Structure Point Contains parameters of Gaussian fits to DMRs.
~BaseTau() override
Definition: BaseTau.h:22
math::XYZTLorentzVector alternatLorentzVect() const
Definition: BaseTau.cc:21
reco::TrackRef leadTrack_
Definition: BaseTau.h:45
reco::TrackRefVector signalTracks_
Definition: BaseTau.h:46
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27