41 const Jet* JetConstituent::jet()
const
46 else if (this->
size() > 1)
50 return getConstituentPtr((this->getConstituents()).
begin());
53 void JetConstituent::set_jet(
const JetCollection* theContainer,
62 newWeight *= this->getJetWeight(the_jet);
68 this->putElement(theContainer,the_jet,newWeight);
72 void JetConstituent::set_jet(
const JetCollection* theContainer,
78 if ( this->
contains(theContainer,theIndex) )
81 newWeight *= this->getJetWeight(theContainer,theIndex);
83 this->
remove(theContainer,theIndex);
87 this->putElement(theContainer,theIndex,newWeight);
91 double JetConstituent::getJetWeight(
const Jet* the_jet)
const
99 double JetConstituent::getJetWeight(
const JetCollection* theContainer,
103 return (this->
contains(theContainer,theIndex))
112 return m_energyInSample[
s];
126 double JetConstituent::energyInCryostat()
const
135 m_energyInSample[
s] =
e;
140 void JetConstituent::set_wtCryo(
double wtCryoLocal)
142 m_wtCryoLocal = wtCryoLocal;