41 double newWeight = weight;
52 this->
putElement(theContainer,theTrack,newWeight);
60 double newWeight = weight;
62 if ( this->
contains(theContainer,theIndex) )
67 this->
remove(theContainer,theIndex);
71 this->
putElement(theContainer,theIndex,newWeight);
77 { this->
set_track(theContainer, theTrack, weight); }
81 { this->
set_track(theContainer, theIndex, weight); }
114 return (this->
contains(theContainer,theIndex))
121 std::vector<const Rec::TrackParticle*>*
tracks =
122 new std::vector<const Rec::TrackParticle*>();
Class IConstituent: This is the abstract base class for additional jet constituents to be put into th...
virtual void setName(NameType &name)
to set the name
virtual NameType name() const
returns the infoType of the info objects.
std::vector< const Rec::TrackParticle * > * tracks() const
get a vector of trackparticles. user must delete the vector, but not constituents
double getTrackWeight(const Rec::TrackParticle *) const
virtual IConstituent * clone() const
a clone method for the proper workings of the copy constructor
Navigable< Rec::TrackParticleContainer, double >::external_index_type index_type
Navigable< Rec::TrackParticleContainer, double >::object_iter iterator
TrackConstituents()
constructor
void set_constituent(const Rec::TrackParticleContainer *, const Rec::TrackParticle *, double weight=0.)
set method for tracks.
void set_track(const Rec::TrackParticleContainer *, const Rec::TrackParticle *, double weight=0.)
set method for tracks.
virtual object_iter begin() const
bool remove(const constituent_type *aConstituent)
void putElement(const Rec::TrackParticleContainer *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 object_iter end() const
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string NameType
string to identify the constituent