Belle II Software development
SecMapTrainerVXDTFModule.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <tracking/spacePointCreation/SpacePointTrackCand.h>
12#include <tracking/vxdCaTracking/XHitFilterFactory.h>
13#include <tracking/trackFindingVXD/sectorMapTools/SecMapTrainer.h>
14#include <framework/core/Module.h>
15
16#include <framework/datastore/StoreArray.h>
17#include <framework/datastore/StoreObjPtr.h>
18#include <framework/dataobjects/EventMetaData.h>
19
20#include <framework/logging/Logger.h>
21
22#include <string>
23#include <vector>
24
25namespace Belle2 {
35
36 public:
37
40
43
45 void initialize() override;
46
48 void beginRun() override
49 { B2INFO("~~~~~~~~~~~SecMapTrainerVXDTFModule - beginRun ~~~~~~~~~~"); }
50
52 void event() override;
53
55 void endRun() override
56 { B2INFO("~~~~~~~~~~~SecMapTrainerVXDTFModule - end of endRun ~~~~~~~~~~"); }
57
59 void terminate() override;
60
63
64 protected:
67
70
72 std::vector< SecMapTrainer<XHitFilterFactory<SecMapTrainerHit> > > m_secMapTrainers;
73
76
80
81 // TODO:
83 //std::vector<std::string> m_PARAMsecMapNames;
84
86 //std::vector<TrainerConfigData> m_PARAMsecMapConfigs;
87 };
89}
Base class for Modules.
Definition: Module.h:72
The SecMapTrainerVXDTFModule this module analyzes a big number of events (pGun or evtGen) to create r...
~SecMapTrainerVXDTFModule()
SecMapTrainerVXDTFModule destructor.
std::string m_PARAMspTCarrayName
Name of storeArray containing the spacePointTrackCands.
SecMapTrainerVXDTFModule()
SecMapTrainerVXDTFModule constructor.
void InitializeVariables()
initialize variables to avoid nondeterministic behavior.
StoreObjPtr< EventMetaData > m_eventData
Event Data for distinguishing events.
bool m_PARAMallowTraining
If true, training will be executed and filled into rootFiles, if not, only things like basf2 -m work ...
std::vector< SecMapTrainer< XHitFilterFactory< SecMapTrainerHit > > > m_secMapTrainers
contains the trainers for the secMaps to be trained.
StoreArray< SpacePointTrackCand > m_spacePointTrackCands
contains the spacePointTrackCands to be analyzed for the secMap-Training.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.