1 #ifndef Candidate_CompositeRefCandidateT_h 2 #define Candidate_CompositeRefCandidateT_h 29 int pdgId = 0,
int status = 0,
bool integerCharge =
true ) :
33 int pdgId = 0,
int status = 0,
bool integerCharge =
true ) :
47 using ::reco::LeafCandidate::daughter;
91 mom.push_back( cand );
130 throw cms::Exception(
"Error" ) <<
"can't check overlap internally for CompositeRefCanddate";
bool overlap(const Candidate &) const override
check overlap with another candidate
int pdgId() const final
PDG identifier.
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
int Charge
electric charge type
daughters::value_type daughterRef(size_type i) const
reference to daughter at given position
CompositeRefCandidateT(const LeafCandidate &c)
constructor from a particle
daughters mom
collection of references to mothers
size_t numberOfMothers() const override
number of mothers
const daughters & daughterRefVector() const
references to daughtes
#define CMS_CLASS_VERSION(_version_)
void clearDaughters()
clear daughter references
void addDaughter(const typename daughters::value_type &)
add a daughter via a reference
void resetDaughters(const edm::ProductID &id)
set daughters product ID
Container::value_type value_type
const mothers & motherRefVector() const
references to mothers
def template(fileName, svg, replaceme="REPLACEME")
CompositeRefCandidateT(Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
const LorentzVector & p4() const final
four-momentum Lorentz vector
daughters::value_type motherRef(size_type i=0) const
reference to mother at given position
void addMother(const typename mothers::value_type &)
add a daughter via a reference
DecomposeProduct< arg, typename Div::arg > D
size_t numberOfDaughters() const override
number of daughters
~CompositeRefCandidateT() override
destructor
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Structure Point Contains parameters of Gaussian fits to DMRs.
daughters dau
collection of references to daughters
D daughters
collection of references to daughters
int status() const final
status word
CompositeRefCandidateT()
default constructor
D mothers
collection of references to daughters
void resetMothers(const edm::ProductID &id)
set mother product ID
CompositeRefCandidateT(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
void clearMothers()
clear mother references
const Candidate * mother(size_type=0) const override
return mother at a given position, i = 0, ... numberOfMothers() - 1 (read only mode) ...
CompositeRefCandidateT< D > * clone() const override
returns a clone of the candidate
math::XYZPoint Point
point in the space
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.