1 #ifndef Candidate_CandidateWithRef_h 2 #define Candidate_CandidateWithRef_h 18 template<
typename Ref>
52 template<
typename Ref>
57 template<
typename Ref>
60 if ( o == 0 )
return false;
61 if (
ref().isNull() )
return false;
62 if ( o->
ref().isNull() )
return false;
63 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
CandidateWithRef * clone() const override
returns a clone of the candidate
#define CMS_CLASS_VERSION(_version_)
CandidateWithRef()
default constructor
def template(fileName, svg, replaceme="REPLACEME")
const LorentzVector & p4() const final
four-momentum Lorentz vector
~CandidateWithRef() override
destructor
void setRef(const Ref &r)
set reference
reference ref() const
reference
math::XYZTLorentzVector LorentzVector
Lorentz vector.
bool overlap(const Candidate &) const override
check overlap with another candidate
Structure Point Contains parameters of Gaussian fits to DMRs.
math::XYZPoint Point
point in the space