Belle II Software prerelease-10-00-00a
PXDDQMTrackRawNtupleModule.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
10#pragma once
11
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14
15#include <pxd/dataobjects/PXDRawHit.h>
16#include <pxd/dataobjects/PXDDAQStatus.h>
17
18#include <vxd/geometry/GeoCache.h>
19#include <vxd/geometry/SensorInfoBase.h>
20#include <mdst/dataobjects/Track.h>
21#include <tracking/dataobjects/RecoTrack.h>
22
23#include <tracking/dataobjects/PXDIntercept.h>
24
25#include "TFile.h"
26#include "TNtuple.h"
27
28
29namespace Belle2 {
34
44
45 public:
46
51
52 private:
53
57 void event() override final;
58
62 void initialize() override final;
63
67 void terminate() override final;
68
69
70 private:
71
74
77
78 std::string m_ntupleName;
79 std::string m_pxdHitsName;
80 std::string m_tracksName;
81 std::string m_recoTracksName;
83
90
91 double m_pcut{0};
92 double m_momCut{0};
93 double m_pTCut{0};
94 unsigned int m_minSVDHits{0};
95 int m_uDist{0};
96 int m_vDist{0};
97
98 TFile* m_file{nullptr};
99 TNtuple* m_tuple{nullptr};
100
101 };
102
103}
Module()
Constructor.
Definition Module.cc:30
StoreArray< PXDRawHit > m_pxdhits
store array of pxd clusters
void initialize() override final
initializes the need store arrays, trees and histograms
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Input array for DAQ Status.
unsigned int m_minSVDHits
Required hits in SVD strips for tracks.
std::string m_PXDInterceptListName
intercept list name
double m_momCut
Cut on fitted track momentum.
void terminate() override final
terminate , save tuple to file if needed
void event() override final
main function which fills trees and histograms
StoreArray< Track > m_tracks
store array of tracks
std::string m_recoTracksName
name of the store array of recotracks
std::string m_pxdHitsName
name of the store array of pxd clusters
PXDDQMTrackRawNtupleModule()
Constructor: Sets the description, the properties and the parameters of the module.
StoreArray< PXDIntercept > m_intercepts
store array of PXD Intercepts
StoreArray< RecoTrack > m_recoTracks
store array of reco tracks
bool m_useAlignment
if true alignment will be used!
int m_uDist
distance in ucell to intercept to accept hit
TNtuple * m_tuple
pointer to opened tuple
int m_vDist
distance in vcell to intercept to accept hit
std::string m_tracksName
name of the store array of tracks
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
Class to facilitate easy access to sensor information of the VXD like coordinate transformations or p...
Definition GeoCache.h:39
Abstract base class for different kinds of events.