Belle II Software  release-05-02-19
PXDPerformanceModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2021 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Qingyuan Liu *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreArray.h>
15 //#include <framework/database/DBObjPtr.h>
16 
17 #include <pxd/dataobjects/PXDCluster.h>
18 #include <mdst/dataobjects/Track.h>
19 #include <tracking/dataobjects/RecoTrack.h>
20 #include <tracking/dataobjects/PXDIntercept.h>
21 
22 #include <pxd/utilities/PXD2TrackEvent.h>
23 
24 //#include <vxd/dataobjects/VxdID.h>
25 //#include <vxd/geometry/SensorInfoBase.h>
26 //#include <pxd/geometry/SensorInfo.h>
27 //#include <vxd/geometry/GeoCache.h>
28 //#include <string>
29 
30 namespace Belle2 {
36  //class PXD2TrackEvent;
37 
38  //namespace PXD {
39 
47  class PXDPerformanceModule: public Module {
48 
49  public:
50 
51 
56 
57  /* Initialize module */
58  virtual void initialize() override;
59  /* Start-of-run initializations */
60  virtual void beginRun() override;
61  /* Event processing */
62  virtual void event() override;
63  /* End-of-run tasks */
64  virtual void endRun() override;
65  /* Final summary and cleanup */
66  virtual void terminate() override;
67 
68  private:
69 
78  //[>* Required input EventMetaData <]
79  //StoreObjPtr<EventMetaData> m_evtMetaData;
82 
86  std::string m_storeTracksName;
88  std::string m_storeRecoTracksName;
90  std::string m_storeInterceptsName;
91 
92  };
93 
94  //} // namespace PXD
96 } // namespace Belle2
97 
Belle2::PXDPerformanceModule::m_pxdIntercepts
StoreArray< PXDIntercept > m_pxdIntercepts
Required input PXDIntercepts.
Definition: PXDPerformanceModule.h:85
Belle2::PXDPerformanceModule::m_tracks
StoreArray< Track > m_tracks
Required input Tracks.
Definition: PXDPerformanceModule.h:81
Belle2::PXDPerformanceModule::m_storeRecoTracksName
std::string m_storeRecoTracksName
Name of the collection to use for RecoTracks.
Definition: PXDPerformanceModule.h:96
Belle2::PXDPerformanceModule::m_storeTracksName
std::string m_storeTracksName
Name of the collection to use for Tracks.
Definition: PXDPerformanceModule.h:94
Belle2::PXDPerformanceModule::terminate
virtual void terminate() override
This method is called at the end of the event processing.
Definition: PXDPerformanceModule.cc:96
Belle2::PXDPerformanceModule::m_pxd2TrackEvents
StoreArray< PXD2TrackEvent > m_pxd2TrackEvents
Output PXD2TrackEvent.
Definition: PXDPerformanceModule.h:89
Belle2::PXDPerformanceModule::~PXDPerformanceModule
virtual ~PXDPerformanceModule()
Destructor.
Definition: PXDPerformanceModule.cc:48
Belle2::PXDPerformanceModule::m_recoTracks
StoreArray< RecoTrack > m_recoTracks
Required input RecoTracks.
Definition: PXDPerformanceModule.h:83
Belle2::PXDPerformanceModule::m_storeClustersFromTracksName
std::string m_storeClustersFromTracksName
Name of the collection to use for PXDClustersFromTracks.
Definition: PXDPerformanceModule.h:92
Belle2::PXDPerformanceModule::beginRun
virtual void beginRun() override
Called when entering a new run.
Definition: PXDPerformanceModule.cc:65
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PXDPerformanceModule::m_storeInterceptsName
std::string m_storeInterceptsName
Name of the collection to use for PXDIntercepts.
Definition: PXDPerformanceModule.h:98
Belle2::PXDPerformanceModule::m_pxdClustersFromTracks
StoreArray< PXDCluster > m_pxdClustersFromTracks
Required input PXDClustersFromTracks
Definition: PXDPerformanceModule.h:79
Belle2::PXDPerformanceModule::PXDPerformanceModule
PXDPerformanceModule()
Constructor.
Definition: PXDPerformanceModule.cc:37
Belle2::PXDPerformanceModule::event
virtual void event() override
This method is the core of the module.
Definition: PXDPerformanceModule.cc:74
Belle2::StoreArray< PXDCluster >
Belle2::PXDPerformanceModule::endRun
virtual void endRun() override
This method is called if the current run ends.
Definition: PXDPerformanceModule.cc:91
Belle2::PXDPerformanceModule::initialize
virtual void initialize() override
Initialize the Module.
Definition: PXDPerformanceModule.cc:52