9#include <analysis/modules/FlavorTaggerInfoBuilder/FlavorTaggerInfoBuilderModule.h>
11#include <analysis/dataobjects/Particle.h>
27 setDescription(
"Initializes the FlavorTaggerInfo DataObject that will be used during the Flavor Tagging. Filling is done in the FlavorTagger.py script");
45 for (
int i = 0; i <
m_roes.getEntries(); i++) {
53 flavTag -> addMethodMap(
"FBDT");
54 flavTag -> addMethodMap(
"FANN");
55 flavTag -> addMethodMap(
"DNN");
59 particle->addRelationTo(flavTag);
virtual void initialize() override
initialize the module (setup the data store)
virtual void event() override
process event
StoreArray< FlavorTaggerInfoMap > m_flavorTaggerInfoMaps
StoreArray of FlavorTaggerInfoMaps.
StoreArray< FlavorTaggerInfo > m_flavorTaggerInfos
StoreArray of FlavorTaggerInfos.
StoreArray< RestOfEvent > m_roes
StoreArray of ROEs.
FlavorTaggerInfoBuilderModule()
constructor
This class stores the relevant information for the TagV vertex fit, extracted mainly from the Flavor ...
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
Class to store reconstructed particles.
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).
TO * getRelatedTo(const std::string &name="", const std::string &namedRelation="") const
Get the object to which this object has a relation.
FROM * getRelatedFrom(const std::string &name="", const std::string &namedRelation="") const
Get the object from which this object has a relation.
This is a general purpose class for collecting reconstructed MDST data objects that are not used in r...
Accessor to arrays stored in the data store.
bool registerRelationTo(const StoreArray< TO > &toArray, DataStore::EDurability durability=DataStore::c_Event, DataStore::EStoreFlags storeFlags=DataStore::c_WriteOut, const std::string &namedRelation="") const
Register a relation to the given StoreArray.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.