 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
14 #include <analysis/DecayDescriptor/DecayDescriptor.h>
34 class InclusiveBtagReconstructionModule :
public Module {
45 virtual void event()
override;
76 void convert(std::map<
int, std::vector<int> >& input, std::vector<std::vector<int> >& output);
87 void makeEntries(std::map<
int, std::vector<int>>::iterator positionOnTheMap,
88 const std::map<
int, std::vector<int>>::const_iterator& end,
unsigned i,
89 std::vector<std::vector<int>>& output);
std::vector< std::string > m_inputListsNames
Names of the ParticleLists to be used to reconstruct Btag.
virtual void event() override
process event
std::vector< int > m_combination
Vector containing current combination of numbers (e.g.
std::string m_bsigListName
Name of the Bsig ParticleList.
void convert(std::map< int, std::vector< int > > &input, std::vector< std::vector< int > > &output)
Do the conversion using makeEntries().
Abstract base class for different kinds of events.
std::string m_upsilonListName
Name of the ParticleList to be filled with Upsilon(4S) -> B:sig anti-B:tag
InclusiveBtagReconstructionModule()
Constructor.
std::string m_btagListName
Name of the Btag ParticleList.
virtual void initialize() override
initialize the module (setup the data store)
virtual ~InclusiveBtagReconstructionModule()
Destructor.
void makeEntries(std::map< int, std::vector< int >>::iterator positionOnTheMap, const std::map< int, std::vector< int >>::const_iterator &end, unsigned i, std::vector< std::vector< int >> &output)
Recursively iterates over a map until the end is reached, then the output is ready.
Helper class to make a vector of all possible combinations of int numbers contained in the input vect...
DecayDescriptor m_decaydescriptor
Decay descriptor for parsing the user specifed DecayString.