41 else if (this->
size() > 1)
45 return getConstituentPtr((this->getConstituents()).
begin());
48 void MuonConstituent::set_muon(
const MuonContainer* theContainer,
57 newWeight *= this->getMuonWeight(the_muon);
63 this->putElement(theContainer,the_muon,newWeight);
67 void MuonConstituent::set_muon(
const MuonContainer* theContainer,
73 if ( this->
contains(theContainer,theIndex) )
76 newWeight *= this->getMuonWeight(theContainer,theIndex);
78 this->
remove(theContainer,theIndex);
82 this->putElement(theContainer,theIndex,newWeight);
86 double MuonConstituent::getMuonWeight(
const Muon* the_muon)
const
94 double MuonConstituent::getMuonWeight(
const MuonContainer* theContainer,
98 return (this->
contains(theContainer,theIndex))