CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauChargedHadron.h
Go to the documentation of this file.
1 #ifndef DataFormats_TauReco_PFRecoTauChargedHadron_h
2 #define DataFormats_TauReco_PFRecoTauChargedHadron_h
3 
9 
10 namespace reco { namespace tau {
13  class RecoTauConstructor;
15 }}
17 
18 namespace reco {
19 
21 {
22  public:
24 
26  // Algorithm where each photon becomes a pi zero
29  kTrack = 2,
31  };
32 
35 
36 
39 
42  const Point& vtx = Point( 0, 0, 0 ),
43  int status = 0, bool integerCharge = true,
45 
48 
51 
53  const TrackPtr& getTrack() const;
54 
56  const std::vector<PFCandidatePtr>& getNeutralPFCandidates() const;
57 
60 
63 
66 
67  void print(std::ostream& stream = std::cout) const;
68 
69  private:
74  friend class ::PFRecoTauChargedHadronProducer;
75 
77 
80  std::vector<PFCandidatePtr> neutralPFCandidates_;
81 
83 };
84 
85 std::ostream& operator<<(std::ostream& stream, const PFRecoTauChargedHadron& c);
86 
87 } // end namespace reco
88 
89 #endif
PFRecoTauChargedHadronAlgorithm algo() const
Algorithm that built this charged hadron.
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
math::XYZTLorentzVector LorentzVector
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
Definition: Point3D.h:10
void print(std::ostream &stream=std::cout) const
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:71
virtual int status() const GCC11_FINAL
status word
math::XYZPoint Point
const TrackPtr & getTrack() const
reference to reco::Track
PFRecoTauChargedHadronAlgorithm algo_
const std::vector< PFCandidatePtr > & getNeutralPFCandidates() const
references to additional neutral PFCandidates
std::vector< PFCandidatePtr > neutralPFCandidates_
bool algoIs(PFRecoTauChargedHadronAlgorithm algo) const
Check whether a given algo produced this charged hadron.
tuple cout
Definition: gather_cfg.py:121
const math::XYZPointF & positionAtECALEntrance() const
position at ECAL entrance
int Charge
electric charge type
Definition: LeafCandidate.h:24
const PFCandidatePtr & getChargedPFCandidate() const
reference to &quot;charged&quot; PFCandidate (either charged PFCandidate or PFNeutralHadron) ...
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:30