1 #ifndef Candidate_CandidateWithRef_h 2 #define Candidate_CandidateWithRef_h 17 template <
typename Ref>
50 template <
typename Ref>
55 template <
typename Ref>
62 if (
o->ref().isNull())
64 return (
ref() !=
o->ref());
int Charge
electric charge type
edm::Ref< Container > Ref
CandidateWithRef(const LorentzVector &p4, Charge q=0, const Point &vtx=Point(0, 0, 0))
constructor from values
reference ref_
reference to a CaloRecHit
#define CMS_CLASS_VERSION(_version_)
const LorentzVector & p4() const final
four-momentum Lorentz vector
CandidateWithRef()
default constructor
bool overlap(const Candidate &) const override
check overlap with another candidate
def template(fileName, svg, replaceme="REPLACEME")
~CandidateWithRef() override
destructor
void setRef(const Ref &r)
set reference
CandidateWithRef * clone() const override
returns a clone of the candidate
math::XYZTLorentzVector LorentzVector
Lorentz vector.
reference ref() const
reference
Structure Point Contains parameters of Gaussian fits to DMRs.
math::XYZPoint Point
point in the space