41 else if (this->
size() > 1)
52 double newWeight = weight;
63 this->
putElement(theContainer,the_muon,newWeight);
71 double newWeight = weight;
73 if ( this->
contains(theContainer,theIndex) )
78 this->
remove(theContainer,theIndex);
82 this->
putElement(theContainer,theIndex,newWeight);
98 return (this->
contains(theContainer,theIndex))
Class IConstituent: This is the abstract base class for additional jet constituents to be put into th...
const Muon * muon() const
get muon directly without token
virtual void setName(NameType &name)
to set the name
virtual IConstituent * clone() const
a clone method for the proper workings of the copy constructor
double getMuonWeight(const Muon *the_muon) const
virtual NameType name() const
returns the infoType of the info objects.
void set_muon(const MuonContainer *theContainer, const Muon *the_muon, double weight=1)
MuonConstituent()
constructor
Navigable< MuonContainer, double >::external_index_type index_type
definition of StoreGate container holding a vector of Analysis::Muon
const constituent_coll & getConstituents() const
virtual unsigned int size() const
virtual object_iter begin() const
bool remove(const constituent_type *aConstituent)
void putElement(const MuonContainer *objectContainer, const constituent_type *constituentObject, const double &objectParameter=double(), size_t sizeHint=0)
double getParameter(const constituent_type *aConstituent) const
bool contains(const constituent_type *aConstituent) const
virtual const constituent_type * getConstituentPtr(constituent_iter iter) const
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string NameType
string to identify the constituent
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.