Belle II Software  release-08-01-10
RestOfEvent Class Reference

This is a general purpose class for collecting reconstructed MDST data objects that are not used in reconstruction of given Particle – referred also as Rest Of the Event. More...

#include <RestOfEvent.h>

Inheritance diagram for RestOfEvent:
Collaboration diagram for RestOfEvent:

Classes

struct  Mask
 Structure of Rest of Event mask. More...
 

Public Member Functions

 RestOfEvent (int pdgCode=0, bool isNested=false, bool isFromMC=false, bool useKLMEnergy=false, bool builtWithMostLikely=false)
 Default constructor. More...
 
void addParticles (const std::vector< const Particle * > &particle)
 Add StoreArray indices of given Particles to the list of unused particles in the event. More...
 
void setPDGCode (int pdgCode)
 Sets the PDG code of the rest of event.
 
ParticleconvertToParticle (const std::string &maskName=c_defaultMaskName, int pdgCode=0, bool isSelfConjugated=true)
 Converts ROE to Particle and adds it to StoreArray. More...
 
int getPDGCode () const
 Gets the PDG code of the rest of event.
 
bool hasParticle (const Particle *particle, const std::string &maskName=c_defaultMaskName) const
 Check if ROE has StoreArray index of given to the list of unused tracks in the event. More...
 
void initializeMask (const std::string &name, const std::string &origin="unknown")
 Initialize new mask. More...
 
void updateMaskWithCuts (const std::string &name, const std::shared_ptr< Variable::Cut > &trackCut=nullptr, const std::shared_ptr< Variable::Cut > &eclCut=nullptr, const std::shared_ptr< Variable::Cut > &klmCut=nullptr, bool updateExisting=false)
 Update mask with cuts. More...
 
void excludeParticlesFromMask (const std::string &maskName, const std::vector< const Particle * > &particles, Particle::EParticleSourceObject listType, bool discard)
 Update mask by keeping or excluding particles. More...
 
bool hasMask (const std::string &name) const
 True if this ROE object has mask. More...
 
void updateMaskWithV0 (const std::string &name, const Particle *particleV0)
 Update mask with composite particle. More...
 
bool checkCompatibilityOfMaskAndV0 (const std::string &name, const Particle *particleV0)
 Check if V0 can be added, maybe should be moved to private.
 
bool getIsNested () const
 Returns true if the ROE is nested.
 
bool isBuiltWithMostLikely () const
 Returns true if the ROE was built with most-likely particle lists.
 
std::vector< const Particle * > getParticles (const std::string &maskName=c_defaultMaskName, bool unpackComposite=true) const
 Get all Particles from ROE mask. More...
 
std::vector< const Particle * > getPhotons (const std::string &maskName=c_defaultMaskName, bool unpackComposite=true) const
 Get photons from ROE mask. More...
 
std::vector< const Particle * > getHadrons (const std::string &maskName=c_defaultMaskName, bool unpackComposite=true) const
 Get hadrons from ROE mask. More...
 
std::vector< const Particle * > getChargedParticles (const std::string &maskName=c_defaultMaskName, unsigned int pdg=0, bool unpackComposite=true) const
 Get charged particles from ROE mask. More...
 
ROOT::Math::PxPyPzEVector get4Vector (const std::string &maskName=c_defaultMaskName) const
 Get 4-momentum vector all (no mask) or a subset (use mask) of all Tracks and ECLClusters in ROE. More...
 
ROOT::Math::PxPyPzEVector get4VectorNeutralECLClusters (const std::string &maskName=c_defaultMaskName) const
 Get 4-momentum vector all (no mask) or a subset (use mask) of all ECLClusters in ROE. More...
 
int getNTracks (const std::string &maskName=c_defaultMaskName) const
 Get number of all (no mask) or a subset (use mask) of all Tracks in ROE. More...
 
int getNECLClusters (const std::string &maskName=c_defaultMaskName) const
 Get number of all (no mask) or a subset (use mask) of all ECLclusters in ROE. More...
 
int getNKLMClusters (const std::string &maskName=c_defaultMaskName) const
 Get number of all remaining KLM clusters. More...
 
std::vector< std::string > getMaskNames () const
 Get vector of all mask names of the ROE object. More...
 
void print (const std::string &maskName=c_defaultMaskName, bool unpackComposite=true) const
 Prints the contents of a RestOfEvent object to screen.
 
void addRelationTo (const RelationsInterface< BASE > *object, float weight=1.0, const std::string &namedRelation="") const
 Add a relation from this object to another object (with caching). More...
 
void addRelationTo (const TObject *object, float weight=1.0, const std::string &namedRelation="") const
 Add a relation from this object to another object (no caching, can be quite slow). More...
 
void copyRelations (const RelationsInterface< BASE > *sourceObj)
 Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights). More...
 
template<class TO >
RelationVector< TO > getRelationsTo (const std::string &name="", const std::string &namedRelation="") const
 Get the relations that point from this object to another store array. More...
 
template<class FROM >
RelationVector< FROM > getRelationsFrom (const std::string &name="", const std::string &namedRelation="") const
 Get the relations that point from another store array to this object. More...
 
template<class T >
RelationVector< T > getRelationsWith (const std::string &name="", const std::string &namedRelation="") const
 Get the relations between this object and another store array. More...
 
template<class TO >
TO * getRelatedTo (const std::string &name="", const std::string &namedRelation="") const
 Get the object to which this object has a relation. More...
 
template<class FROM >
FROM * getRelatedFrom (const std::string &name="", const std::string &namedRelation="") const
 Get the object from which this object has a relation. More...
 
template<class T >
T * getRelated (const std::string &name="", const std::string &namedRelation="") const
 Get the object to or from which this object has a relation. More...
 
template<class TO >
std::pair< TO *, float > getRelatedToWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing to an array. More...
 
template<class FROM >
std::pair< FROM *, float > getRelatedFromWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing from an array. More...
 
template<class T >
std::pair< T *, float > getRelatedWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing from/to an array. More...
 
virtual std::string getName () const
 Return a short name that describes this object, e.g. More...
 
virtual std::string getInfoHTML () const
 Return a short summary of this object's contents in HTML format. More...
 
std::string getInfo () const
 Return a short summary of this object's contents in raw text format. More...
 
std::string getArrayName () const
 Get name of array this object is stored in, or "" if not found.
 
int getArrayIndex () const
 Returns this object's array index (in StoreArray), or -1 if not found.
 

Static Public Attributes

static constexpr const char * c_defaultMaskName = "all"
 Default mask name.
 

Protected Member Functions

TClonesArray * getArrayPointer () const
 Returns the pointer to the raw DataStore array holding this object (protected since these arrays are easy to misuse).
 

Private Member Functions

bool isInParticleList (const Particle *roeParticle, const std::vector< const Particle * > &particlesToUpdate) const
 Checks if a particle has its copy in the provided list.
 
MaskfindMask (const std::string &name)
 Helper method to find ROE mask.
 
void printIndices (const std::string &maskName=c_defaultMaskName, bool unpackComposite=true, const std::string &tab=" - ") const
 Prints indices in the given set in a single line.
 
 ClassDef (RelationsInterface, 0)
 defines interface for accessing relations of objects in StoreArray.
 

Private Attributes

std::set< int > m_particleIndices
 StoreArray indices to unused particles.
 
std::vector< Maskm_masks
 List of the ROE masks.
 
int m_pdgCode
 PDG code of the 'ROE particle' if we are going to create one.
 
bool m_isNested
 Nested ROE indicator.
 
bool m_isFromMC
 MC ROE indicator.
 
bool m_useKLMEnergy
 Include KLM energy into ROE 4-vector.
 
bool m_builtWithMostLikely
 indicates whether most-likely particle lists were used in build of ROE
 
DataStore::StoreEntrym_cacheDataStoreEntry
 Cache of the data store entry to which this object belongs.
 
int m_cacheArrayIndex
 Cache of the index in the TClonesArray to which this object belongs.
 

Detailed Description

This is a general purpose class for collecting reconstructed MDST data objects that are not used in reconstruction of given Particle – referred also as Rest Of the Event.

From remaining photons, K_L0 and charged particles, etc., we infer for example the decay vertex and flavor of the tagging B meson, which are needed in measurements of t-dependent CP violation, or we determine whether or not the rest of the event is consistent with some B decay that involves neutrinos after we have reconstructed Btag hadronically or semileptonically. Remaining charged tracks and unused energy deposits are for example also needed in calculation of continuum suppression variables, like Kakuno-Super-Fox-Wolfram moments. The RestOfEvent class should be used as an input in all these cases.

The RestOfEvent object is created for given existing Particle object by the RestOfEventBuilder module and are related between each other with the basf2 relation.

Internally, the RestOfEvent class holds only StoreArray indices of all unused MDST particles. Indices are stored in std::set and not std::vector, since the former ensures uniqueness of all its elements.

Definition at line 57 of file RestOfEvent.h.

Constructor & Destructor Documentation

◆ RestOfEvent()

RestOfEvent ( int  pdgCode = 0,
bool  isNested = false,
bool  isFromMC = false,
bool  useKLMEnergy = false,
bool  builtWithMostLikely = false 
)
inlineexplicit

Default constructor.

All private members are set to 0 (all vectors are empty).

Definition at line 179 of file RestOfEvent.h.

183  :
184  m_pdgCode(pdgCode), m_isNested(isNested), m_isFromMC(isFromMC), m_useKLMEnergy(useKLMEnergy),
185  m_builtWithMostLikely(builtWithMostLikely) { };
bool m_builtWithMostLikely
indicates whether most-likely particle lists were used in build of ROE
Definition: RestOfEvent.h:368
bool m_isFromMC
MC ROE indicator.
Definition: RestOfEvent.h:366
bool m_useKLMEnergy
Include KLM energy into ROE 4-vector.
Definition: RestOfEvent.h:367
int m_pdgCode
PDG code of the 'ROE particle' if we are going to create one.
Definition: RestOfEvent.h:364
bool m_isNested
Nested ROE indicator.
Definition: RestOfEvent.h:365

Member Function Documentation

◆ addParticles()

void addParticles ( const std::vector< const Particle * > &  particle)

Add StoreArray indices of given Particles to the list of unused particles in the event.

Parameters
particleReference to a vector of unused Particles

Definition at line 24 of file RestOfEvent.cc.

25 {
26  StoreArray<Particle> allParticles;
27  for (auto* particleToAdd : particlesToAdd) {
28  std::vector<const Particle*> daughters = particleToAdd->getFinalStateDaughters();
29  for (auto* daughter : daughters) {
30  bool toAdd = true;
31  for (auto& myIndex : m_particleIndices) {
32  if (allParticles[myIndex]->isCopyOf(daughter, true)) {
33  toAdd = false;
34  break;
35  }
36  }
37  if (toAdd) {
38  B2DEBUG(10, "\t\tAdding particle with PDG " << daughter->getPDGCode());
39  m_particleIndices.insert(daughter->getArrayIndex());
40  }
41  }
42  }
43 }
std::set< int > m_particleIndices
StoreArray indices to unused particles.
Definition: RestOfEvent.h:362
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113

◆ addRelationTo() [1/2]

void addRelationTo ( const RelationsInterface< BASE > *  object,
float  weight = 1.0,
const std::string &  namedRelation = "" 
) const
inlineinherited

Add a relation from this object to another object (with caching).

Parameters
objectThe object to which the relation should point.
weightThe weight of the relation.
namedRelationAdditional name for the relation, or "" for the default naming

Definition at line 142 of file RelationsObject.h.

◆ addRelationTo() [2/2]

void addRelationTo ( const TObject *  object,
float  weight = 1.0,
const std::string &  namedRelation = "" 
) const
inlineinherited

Add a relation from this object to another object (no caching, can be quite slow).

Parameters
objectThe object to which the relation should point.
weightThe weight of the relation.
namedRelationAdditional name for the relation, or "" for the default naming

Definition at line 155 of file RelationsObject.h.

◆ convertToParticle()

Particle * convertToParticle ( const std::string &  maskName = c_defaultMaskName,
int  pdgCode = 0,
bool  isSelfConjugated = true 
)

Converts ROE to Particle and adds it to StoreArray.

Parameters
maskNameName of the ROE mask to use for 4-vector and daughters
pdgCodePDG code
isSelfConjugatedis the particle self-conjugated

Definition at line 443 of file RestOfEvent.cc.

◆ copyRelations()

void copyRelations ( const RelationsInterface< BASE > *  sourceObj)
inlineinherited

Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights).

Useful if you want to make a complete copy of a StoreArray object to make modifications to it, but retain all information on linked objects.

Note: this only works if sourceObj inherits from the same base (e.g. RelationsObject), and only for related objects that also inherit from the same base.

Definition at line 170 of file RelationsObject.h.

◆ excludeParticlesFromMask()

void excludeParticlesFromMask ( const std::string &  maskName,
const std::vector< const Particle * > &  particles,
Particle::EParticleSourceObject  listType,
bool  discard 
)

Update mask by keeping or excluding particles.

Parameters
maskNameName of the mask to work with
particlesReference to particle collection
listTypeParticleSourceObject of the collection
discardUpdate the ROE mask by passing or discarding particles in the provided particle list

Definition at line 154 of file RestOfEvent.cc.

◆ get4Vector()

ROOT::Math::PxPyPzEVector get4Vector ( const std::string &  maskName = c_defaultMaskName) const

Get 4-momentum vector all (no mask) or a subset (use mask) of all Tracks and ECLClusters in ROE.

Parameters
maskNameName of mask
Returns
4-momentum of unused Tracks and ECLClusters in ROE

Definition at line 306 of file RestOfEvent.cc.

◆ get4VectorNeutralECLClusters()

ROOT::Math::PxPyPzEVector get4VectorNeutralECLClusters ( const std::string &  maskName = c_defaultMaskName) const

Get 4-momentum vector all (no mask) or a subset (use mask) of all ECLClusters in ROE.

Parameters
maskNameName of mask
Returns
4-momentum of unused Tracks and ECLClusters in ROE

Definition at line 356 of file RestOfEvent.cc.

◆ getChargedParticles()

std::vector< const Particle * > getChargedParticles ( const std::string &  maskName = c_defaultMaskName,
unsigned int  pdg = 0,
bool  unpackComposite = true 
) const

Get charged particles from ROE mask.

Parameters
maskNameName of mask
pdgabsolute value of PDG code of charged particle
unpackCompositereturn daughters of composite particles
Returns
vector of pointers to ROE Particles

Definition at line 108 of file RestOfEvent.cc.

◆ getHadrons()

std::vector< const Particle * > getHadrons ( const std::string &  maskName = c_defaultMaskName,
bool  unpackComposite = true 
) const

Get hadrons from ROE mask.

Parameters
maskNameName of mask
unpackCompositereturn daughters of composite particles
Returns
vector of pointers to ROE Particles

Definition at line 96 of file RestOfEvent.cc.

◆ getInfo()

std::string getInfo ( ) const
inlineinherited

Return a short summary of this object's contents in raw text format.

Returns the contents of getInfoHTML() while translating line-breaks etc.

Note
: You don't need to implement this function (it's not virtual), getInfoHTML() is enough.

Definition at line 370 of file RelationsObject.h.

◆ getInfoHTML()

virtual std::string getInfoHTML ( ) const
inlinevirtualinherited

Return a short summary of this object's contents in HTML format.

Reimplement this in your own class to provide useful output for display or debugging purposes. For example, you might do something like:

std::stringstream out;
out << "<b>PDG</b>: " << m_pdg << "<br>";
out << "<b>Covariance Matrix</b>: " << HTML::getString(getCovariance5()) << "<br>";
return out.str();
std::string getString(const TMatrixFBase &matrix, int precision=2, bool color=true)
get HTML table representing a matrix.
Definition: HTML.cc:24
See also
Particle::getInfoHTML() for a more complex example.
HTML for some utility functions.
Use getInfo() to get a raw text version of this output.

Reimplemented in RecoTrack, TRGSummary, TrackFitResult, Track, SoftwareTriggerResult, PIDLikelihood, MCParticle, Cluster, and Particle.

Definition at line 362 of file RelationsObject.h.

◆ getMaskNames()

std::vector< std::string > getMaskNames ( ) const

Get vector of all mask names of the ROE object.

Returns
list of all mask names

Definition at line 380 of file RestOfEvent.cc.

◆ getName()

virtual std::string getName ( ) const
inlinevirtualinherited

Return a short name that describes this object, e.g.

pi+ for an MCParticle.

Reimplemented in SpacePoint, MCParticle, and Particle.

Definition at line 344 of file RelationsObject.h.

◆ getNECLClusters()

int getNECLClusters ( const std::string &  maskName = c_defaultMaskName) const

Get number of all (no mask) or a subset (use mask) of all ECLclusters in ROE.

Parameters
maskNameName of mask
Returns
number of all remaining ECL clusters

Definition at line 339 of file RestOfEvent.cc.

◆ getNKLMClusters()

int getNKLMClusters ( const std::string &  maskName = c_defaultMaskName) const

Get number of all remaining KLM clusters.

Parameters
maskNameName of mask
Returns
number of all remaining KLM clusters

Definition at line 350 of file RestOfEvent.cc.

◆ getNTracks()

int getNTracks ( const std::string &  maskName = c_defaultMaskName) const

Get number of all (no mask) or a subset (use mask) of all Tracks in ROE.

Parameters
maskNameName of mask
Returns
number of all remaining tracks

Definition at line 333 of file RestOfEvent.cc.

◆ getParticles()

std::vector< const Particle * > getParticles ( const std::string &  maskName = c_defaultMaskName,
bool  unpackComposite = true 
) const

Get all Particles from ROE mask.

Parameters
maskNameName of mask
unpackCompositereturn daughters of composite particles
Returns
vector of pointers to ROE Particles

Definition at line 45 of file RestOfEvent.cc.

◆ getPhotons()

std::vector< const Particle * > getPhotons ( const std::string &  maskName = c_defaultMaskName,
bool  unpackComposite = true 
) const

Get photons from ROE mask.

Parameters
maskNameName of mask
unpackCompositereturn daughters of composite particles
Returns
vector of pointers to unused Particles

Definition at line 84 of file RestOfEvent.cc.

◆ getRelated()

T* getRelated ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object to or from which this object has a relation.

Template Parameters
TThe class of objects to or from which the relation points.
Parameters
nameThe name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 278 of file RelationsObject.h.

◆ getRelatedFrom()

FROM* getRelatedFrom ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object from which this object has a relation.

Template Parameters
FROMThe class of objects from which the relation points.
Parameters
nameThe name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 263 of file RelationsObject.h.

◆ getRelatedFromWithWeight()

std::pair<FROM*, float> getRelatedFromWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing from an array.

Template Parameters
FROMThe class of objects from which the relation points.
Parameters
nameThe name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 314 of file RelationsObject.h.

◆ getRelatedTo()

TO* getRelatedTo ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object to which this object has a relation.

Template Parameters
TOThe class of objects to which the relation points.
Parameters
nameThe name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 248 of file RelationsObject.h.

◆ getRelatedToWithWeight()

std::pair<TO*, float> getRelatedToWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing to an array.

Template Parameters
TOThe class of objects to which the relation points.
Parameters
nameThe name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 297 of file RelationsObject.h.

◆ getRelatedWithWeight()

std::pair<T*, float> getRelatedWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing from/to an array.

Template Parameters
TThe class of objects to or from which the relation points.
Parameters
nameThe name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 331 of file RelationsObject.h.

◆ getRelationsFrom()

RelationVector<FROM> getRelationsFrom ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations that point from another store array to this object.

Template Parameters
FROMThe class of objects from which the relations point.
Parameters
nameThe name of the store array from which the relations point. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 212 of file RelationsObject.h.

◆ getRelationsTo()

RelationVector<TO> getRelationsTo ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations that point from this object to another store array.

Template Parameters
TOThe class of objects to which the relations point.
Parameters
nameThe name of the store array to which the relations point. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 197 of file RelationsObject.h.

◆ getRelationsWith()

RelationVector<T> getRelationsWith ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations between this object and another store array.

Relations in both directions are returned.

Template Parameters
TThe class of objects to or from which the relations point.
Parameters
nameThe name of the store array to or from which the relations point. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 230 of file RelationsObject.h.

◆ hasMask()

bool hasMask ( const std::string &  name) const

True if this ROE object has mask.

Parameters
nameName of the mask to work with

Definition at line 297 of file RestOfEvent.cc.

◆ hasParticle()

bool hasParticle ( const Particle particle,
const std::string &  maskName = c_defaultMaskName 
) const

Check if ROE has StoreArray index of given to the list of unused tracks in the event.

Parameters
particlePointer to the Particle
maskNameName of the mask to work with

Definition at line 124 of file RestOfEvent.cc.

◆ initializeMask()

void initializeMask ( const std::string &  name,
const std::string &  origin = "unknown" 
)

Initialize new mask.

Parameters
nameName of the mask to work with
originorigin of the creator module

Definition at line 134 of file RestOfEvent.cc.

◆ updateMaskWithCuts()

void updateMaskWithCuts ( const std::string &  name,
const std::shared_ptr< Variable::Cut > &  trackCut = nullptr,
const std::shared_ptr< Variable::Cut > &  eclCut = nullptr,
const std::shared_ptr< Variable::Cut > &  klmCut = nullptr,
bool  updateExisting = false 
)

Update mask with cuts.

Parameters
nameName of the mask to work with
trackCutCut on Track particles
eclCutCut on ECL particles
klmCutCut on KLM particles
updateExistingUpdate existing mask if true or not if false

Definition at line 191 of file RestOfEvent.cc.

◆ updateMaskWithV0()

void updateMaskWithV0 ( const std::string &  name,
const Particle particleV0 
)

Update mask with composite particle.

Parameters
nameName of the mask to work with
particleV0Pointer to composite particle

Definition at line 231 of file RestOfEvent.cc.


The documentation for this class was generated from the following files: