CMS 3D CMS Logo

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 {
11  namespace tau {
12  template <class TrackClass>
15  class RecoTauConstructor;
17  } // namespace tau
18 } // namespace reco
20 
21 namespace reco {
22 
24  public:
26 
28  // Algorithm where each photon becomes a pi zero
31  kTrack = 2,
33  };
34 
37 
40 
43  const LorentzVector& p4,
44  const Point& vtx = Point(0, 0, 0),
45  int status = 0,
46  bool integerCharge = true,
48 
50  ~PFRecoTauChargedHadron() override;
51 
53  const CandidatePtr& getChargedPFCandidate() const;
54 
56  const TrackPtr& getTrack() const;
57 
59  const CandidatePtr& getLostTrackCandidate() const;
60 
62  const std::vector<CandidatePtr>& getNeutralPFCandidates() const;
63 
66 
69 
72 
73  void print(std::ostream& stream = std::cout) const;
74 
75  private:
77  template <class TrackClass>
81  friend class ::PFRecoTauChargedHadronProducer;
82 
84 
88  std::vector<CandidatePtr> neutralPFCandidates_;
89 
91  };
92 
93  std::ostream& operator<<(std::ostream& stream, const PFRecoTauChargedHadron& c);
94 
95 } // end namespace reco
96 
97 #endif
reco::PFRecoTauChargedHadron::algoIs
bool algoIs(PFRecoTauChargedHadronAlgorithm algo) const
Check whether a given algo produced this charged hadron.
Definition: PFRecoTauChargedHadron.cc:54
reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin
Definition: PFRecoTauChargedHadron.h:13
reco::tau::RecoTauConstructor
Definition: RecoTauConstructor.h:40
reco::LeafCandidate::Point
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27
metsig::tau
Definition: SignAlgoResolutions.h:49
reco::LeafCandidate::status
int status() const final
status word
Definition: LeafCandidate.h:180
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
gather_cfg.cout
cout
Definition: gather_cfg.py:144
reco::PFRecoTauChargedHadron::kUndefined
Definition: PFRecoTauChargedHadron.h:29
reco::PFRecoTauChargedHadron::PFRecoTauChargedHadron
PFRecoTauChargedHadron()
Definition: PFRecoTauChargedHadron.cc:7
reco::PFRecoTauChargedHadron::getNeutralPFCandidates
const std::vector< CandidatePtr > & getNeutralPFCandidates() const
references to additional neutral PFCandidates
Definition: PFRecoTauChargedHadron.cc:46
reco::PFRecoTauChargedHadron::getTrack
const TrackPtr & getTrack() const
reference to reco::Track
Definition: PFRecoTauChargedHadron.cc:42
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::PFRecoTauChargedHadron
Definition: PFRecoTauChargedHadron.h:23
CandidateFwd.h
reco::PFRecoTauChargedHadron::track_
TrackPtr track_
Definition: PFRecoTauChargedHadron.h:87
reco::PFRecoTauChargedHadron::positionAtECALEntrance_
math::XYZPointF positionAtECALEntrance_
Definition: PFRecoTauChargedHadron.h:90
reco::PFRecoTauChargedHadron::positionAtECALEntrance
const math::XYZPointF & positionAtECALEntrance() const
position at ECAL entrance
Definition: PFRecoTauChargedHadron.cc:50
Track.h
CompositePtrCandidate.h
reco::PFRecoTauChargedHadron::getChargedPFCandidate
const CandidatePtr & getChargedPFCandidate() const
reference to "charged" PFCandidate (either charged PFCandidate or PFNeutralHadron)
Definition: PFRecoTauChargedHadron.cc:40
reco::LeafCandidate::Charge
int Charge
electric charge type
Definition: LeafCandidate.h:21
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
reco::PFRecoTauChargedHadron::PFRecoTauChargedHadronAlgorithm
PFRecoTauChargedHadronAlgorithm
Definition: PFRecoTauChargedHadron.h:27
reco::PFRecoTauChargedHadron::kChargedPFCandidate
Definition: PFRecoTauChargedHadron.h:30
Ptr.h
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
reco::operator<<
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:66
submitPVResolutionJobs.q
q
Definition: submitPVResolutionJobs.py:84
PFRecoTauChargedHadronProducer
Definition: PFRecoTauChargedHadronProducer.cc:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
reco::tau::PFRecoTauEnergyAlgorithmPlugin
Definition: PFRecoTauEnergyAlgorithmPlugin.cc:38
edm::Ptr< Track >
reco::Candidate
Definition: Candidate.h:27
reco::PFRecoTauChargedHadron::neutralPFCandidates_
std::vector< CandidatePtr > neutralPFCandidates_
Definition: PFRecoTauChargedHadron.h:88
reco::PFRecoTauChargedHadron::print
void print(std::ostream &stream=std::cout) const
Definition: PFRecoTauChargedHadron.cc:58
reco::PFRecoTauChargedHadron::kPFNeutralHadron
Definition: PFRecoTauChargedHadron.h:32
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
reco::PFRecoTauChargedHadron::getLostTrackCandidate
const CandidatePtr & getLostTrackCandidate() const
reference to "lostTrack Candidate" when chadron built with tracks stored as pat::PackedCandidates
Definition: PFRecoTauChargedHadron.cc:44
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: HLTMuonMatchAndPlot.h:49
reco::PFRecoTauChargedHadron::algo
PFRecoTauChargedHadronAlgorithm algo() const
Algorithm that built this charged hadron.
Definition: PFRecoTauChargedHadron.cc:52
reco::CompositePtrCandidate
Definition: CompositePtrCandidate.h:17
reco::PFRecoTauChargedHadron::algo_
PFRecoTauChargedHadronAlgorithm algo_
Definition: PFRecoTauChargedHadron.h:83
Point3D.h
reco::PFRecoTauChargedHadron::lostTrackCandidate_
CandidatePtr lostTrackCandidate_
Definition: PFRecoTauChargedHadron.h:86
reco::PFRecoTauChargedHadron::TrackPtr
edm::Ptr< Track > TrackPtr
Definition: PFRecoTauChargedHadron.h:25
reco::PFRecoTauChargedHadron::~PFRecoTauChargedHadron
~PFRecoTauChargedHadron() override
destructor
Definition: PFRecoTauChargedHadron.cc:38
math::XYZPointF
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
Definition: Point3D.h:10
reco::PFRecoTauChargedHadron::chargedPFCandidate_
CandidatePtr chargedPFCandidate_
Definition: PFRecoTauChargedHadron.h:85
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:43
reco::PFRecoTauChargedHadron::kTrack
Definition: PFRecoTauChargedHadron.h:31