1 #ifndef Analysis_Tools_Candidate_h 2 #define Analysis_Tools_Candidate_h 1 28 #include "TLorentzVector.h" 43 Candidate(
const float &
pt,
const float &
eta,
const float &
phi,
const float &
e,
const float &
q);
47 Candidate(
const float &
px,
const float &
py,
const float &
pz,
const float &
q);
73 TLorentzVector
p4()
const;
79 void p4 (
const TLorentzVector &);
81 void px (
const float &);
83 void py (
const float &);
85 void pz (
const float &);
87 void e (
const float &);
89 void q (
const float &);
99 virtual bool matchTo(
const std::vector<Candidate> * cands,
const std::string &
name,
const float &
deltaR = 0.5);
100 virtual bool matchTo(
const std::vector<Candidate> * cands,
const std::string &
name,
const float & delta_pT,
const float &
deltaR);
106 void unmatch(
const std::string &);
116 std::map<std::string, const Candidate * >
matched_;
123 #endif // Analysis_Tools_Candidate_h