1 #ifndef Candidate_CandidateWithRef_h 2 #define Candidate_CandidateWithRef_h 16 template<
typename Ref>
50 template<
typename Ref>
55 template<
typename Ref>
58 if ( o == 0 )
return false;
59 if (
ref().isNull() )
return false;
60 if ( o->
ref().isNull() )
return false;
61 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