Belle II Software development
|
this observer identifies the McParticles responsible for creating underlying clusters for given spacePoints and counts how often a particle type was accepted and how often it was rejected More...
Static Public Member Functions | |
template<class Var , class RangeType > | |
static void | notify (const Var &, typename Var::variableType fResult, const RangeType &range, const typename Var::argumentType &outerHit, const typename Var::argumentType &innerHit) |
notifier producing a info message if SelectionVariable was accepted and a Warning if otherwise | |
template<class hitType > | |
static void | collectPDGs (const hitType &aHit, vector< pair< bool, int > > &collectedPDGs) |
collects all PDGs connected to given hit. | |
template<class hitType > | |
static void | collectParticleIDs (const hitType &aHit, vector< pair< bool, int > > &collectedIDS) |
collects all particleIDs connected to given hit. | |
template<class hitType > | |
static CountContainer::Key | createKey (const hitType &hitA, const hitType &hitB, bool usePDG) |
for two hits given, a key for the CountContainer is returned. | |
template<class hitType > | |
static void | collectMCParticles (const hitType &aHit, std::vector< const MCParticle * > &collectedParticles) |
collects all mcParticles connected to given hit. | |
template<class Type > | |
static std::string | vec2str (const vector< Type > &vec) |
small helper for easily printing vectors | |
template<typename ... types> | |
static void | notify (const types &...) |
static method used by the observed object to notify the observer. | |
template<typename ... types> | |
static bool | initialize (const types &...) |
static method used by the observed object to initialize the observer it is called once usually from the user. | |
template<typename ... types> | |
static void | prepare (const types &...) |
static method used by the observed object to prepare the observer it is called by the boolean filter operator. | |
template<typename ... types> | |
static void | collect (const types &...) |
static method used by the observed object to prepare the observer it is called by the boolean filter operator. | |
template<typename ... types> | |
static void | terminate (const types &...) |
static method used by the observed object to terminate the observer. | |
this observer identifies the McParticles responsible for creating underlying clusters for given spacePoints and counts how often a particle type was accepted and how often it was rejected
Definition at line 500 of file observers.cc.
|
inlinestaticinherited |
static method used by the observed object to prepare the observer it is called by the boolean filter operator.
Definition at line 55 of file VoidObserver.h.
|
inlinestatic |
collects all mcParticles connected to given hit.
does only work, if hit has direct relations PXD/SVDCluster which have relations to MCParticle.
first parameter is a hit (e.g. spacePoint) which is related to MCParticles. second parameter is the vector for collecting the PDGcodes found.
Definition at line 621 of file observers.cc.
|
inlinestatic |
collects all particleIDs connected to given hit.
does only work, if hit has direct relations PXD/SVDCluster which have relations to MCParticle.
first parameter is a hit (e.g. spacePoint) which is related to MCParticles. second parameter is the vector for collecting the PDGcodes found.
Definition at line 567 of file observers.cc.
|
inlinestatic |
collects all PDGs connected to given hit.
does only work, if hit has direct relations PXD/SVDCluster which have relations to MCParticle.
first parameter is a hit (e.g. spacePoint) which is related to MCParticles. second parameter is the vector for collecting the PDGcodes found.
Definition at line 545 of file observers.cc.
|
inlinestatic |
for two hits given, a key for the CountContainer is returned.
if usePDG == true, PDGcode will be used as identifier, if false, the ParticleID will be used
Definition at line 581 of file observers.cc.
|
inlinestaticinherited |
static method used by the observed object to initialize the observer it is called once usually from the user.
Definition at line 43 of file VoidObserver.h.
|
inlinestaticinherited |
static method used by the observed object to notify the observer.
it is called at each accept.
Definition at line 37 of file VoidObserver.h.
|
inlinestatic |
notifier producing a info message if SelectionVariable was accepted and a Warning if otherwise
Definition at line 505 of file observers.cc.
|
inlinestaticinherited |
static method used by the observed object to prepare the observer it is called by the boolean filter operator.
Definition at line 49 of file VoidObserver.h.
|
inlinestaticinherited |
static method used by the observed object to terminate the observer.
Definition at line 67 of file VoidObserver.h.
|
inlinestatic |
small helper for easily printing vectors
Definition at line 642 of file observers.cc.