Belle II Software  release-05-02-19
SVDTimeValidationCollectorModule.h
1 /***************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Luigi Corona, Giulia Casarosa, Giulio Dujany *
7  * *
8  * *
9  * This software is provided "as is" without any warranty. *
10  ***************************************************************************/
11 
12 #pragma once
13 
14 #include <calibration/CalibrationCollectorModule.h>
15 
16 #include <framework/datastore/StoreObjPtr.h>
17 #include <framework/datastore/StoreArray.h>
18 #include <framework/dataobjects/EventMetaData.h>
19 #include <string>
20 #include "TH1F.h"
21 
22 #include <svd/dataobjects/SVDHistograms.h>
23 
24 #include <svd/dataobjects/SVDCluster.h>
25 #include <svd/dataobjects/SVDEventInfo.h>
26 #include <framework/dataobjects/EventT0.h>
27 #include <tracking/dataobjects/RecoTrack.h>
28 #include <mdst/dataobjects/Track.h>
29 
30 namespace Belle2 {
42  class SVDTimeValidationCollectorModule : public CalibrationCollectorModule {
43 
44  public:
49 
53  void prepare() override final;
54 
58  void collect() override final;
59 
60  private:
61 
63  StoreObjPtr<EventMetaData> m_emdata;
66  std::string m_svdEventInfo = "SVDEventInfo";
67  StoreObjPtr<SVDEventInfo> m_svdEI;
70  std::string m_svdClusters = "SVDClusters";
71  StoreArray<SVDCluster> m_svdCls;
74  std::string m_svdClustersOnTracks =
75  "SVDClustersOnTracks";
79  std::string m_eventTime = "EventT0";
83  std::string m_recotrack = "RecoTracks";
87  std::string m_track = "Tracks";
90  };
91 
93 } // end namespace Belle2
Belle2::EventT0
Storage element for the eventwise T0 estimation.
Definition: EventT0.h:40
Belle2::SVDTimeValidationCollectorModule::m_eventTime
std::string m_eventTime
EventT0.
Definition: SVDTimeValidationCollectorModule.h:88
Belle2::SVDTimeValidationCollectorModule::m_svdClustersOnTracks
std::string m_svdClustersOnTracks
SVDClusterOnTracks.
Definition: SVDTimeValidationCollectorModule.h:83
Belle2::SVDTimeValidationCollectorModule::m_recoTrk
StoreArray< RecoTrack > m_recoTrk
RecoTracks store object pointer.
Definition: SVDTimeValidationCollectorModule.h:93
Belle2::SVDTimeValidationCollectorModule::prepare
void prepare() override final
Initialize the module.
Definition: SVDTimeValidationCollectorModule.cc:40
Belle2::SVDTimeValidationCollectorModule::m_svdClsOnTrk
StoreArray< SVDCluster > m_svdClsOnTrk
SVDClusters store array.
Definition: SVDTimeValidationCollectorModule.h:85
Belle2::SVDTimeValidationCollectorModule::m_emdata
StoreObjPtr< EventMetaData > m_emdata
EventMetaData.
Definition: SVDTimeValidationCollectorModule.h:72
Belle2::SVDTimeValidationCollectorModule::SVDTimeValidationCollectorModule
SVDTimeValidationCollectorModule()
Constructor.
Definition: SVDTimeValidationCollectorModule.cc:25
Belle2::SVDTimeValidationCollectorModule::collect
void collect() override final
Event processor.
Definition: SVDTimeValidationCollectorModule.cc:88
Belle2::SVDTimeValidationCollectorModule::m_track
std::string m_track
Tracks.
Definition: SVDTimeValidationCollectorModule.h:96
Belle2::SVDTimeValidationCollectorModule::m_svdEventInfo
std::string m_svdEventInfo
SVDEventInfo.
Definition: SVDTimeValidationCollectorModule.h:75
Belle2::SVDTimeValidationCollectorModule::m_svdCls
StoreArray< SVDCluster > m_svdCls
SVDClusters store array.
Definition: SVDTimeValidationCollectorModule.h:80
Belle2::SVDTimeValidationCollectorModule::m_eventT0
StoreObjPtr< EventT0 > m_eventT0
EventT0 store object pointer.
Definition: SVDTimeValidationCollectorModule.h:89
Belle2::RecoTrack
This is the Reconstruction Event-Data Model Track.
Definition: RecoTrack.h:78
Belle2::SVDTimeValidationCollectorModule::m_svdClusters
std::string m_svdClusters
SVDCluster.
Definition: SVDTimeValidationCollectorModule.h:79
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::SVDTimeValidationCollectorModule::m_trk
StoreArray< Track > m_trk
Tracks store object pointer.
Definition: SVDTimeValidationCollectorModule.h:97
Belle2::SVDCluster
The SVD Cluster class This class stores all information about reconstructed SVD clusters.
Definition: SVDCluster.h:38
Belle2::Track
Class that bundles various TrackFitResults.
Definition: Track.h:35
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::SVDTimeValidationCollectorModule::m_recotrack
std::string m_recotrack
RecoTracks.
Definition: SVDTimeValidationCollectorModule.h:92
Belle2::SVDTimeValidationCollectorModule::m_svdEI
StoreObjPtr< SVDEventInfo > m_svdEI
SVDEventInfo store object pointer.
Definition: SVDTimeValidationCollectorModule.h:76