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
#define CMS_CLASS_VERSION(_version_)
CandidateWithRef()
default constructor
def template(fileName, svg, replaceme="REPLACEME")
virtual bool overlap(const Candidate &) const
check overlap with another candidate
virtual CandidateWithRef * clone() const
returns a clone of the candidate
virtual ~CandidateWithRef()
destructor
void setRef(const Ref &r)
set reference
reference ref() const
reference
math::XYZTLorentzVector LorentzVector
Lorentz vector.
math::XYZPoint Point
point in the space
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
math::XYZPoint Point
point in the space