Belle II Software prerelease-11-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 <vxd/geometry/GeoCache.h>
16
17#include <TFile.h>
18#include <TNtuple.h>
19
20
21namespace Belle2 {
26 class PXDRawHit;
27 class Track;
28 class RecoTrack;
29 class PXDIntercept;
30 class PXDDAQStatus;
31
41
42 public:
43
48
49 private:
50
54 void event() override final;
55
59 void initialize() override final;
60
64 void terminate() override final;
65
66
67 private:
68
71
74
75 std::string m_ntupleName;
76 std::string m_pxdHitsName;
77 std::string m_tracksName;
78 std::string m_recoTracksName;
80
87
88 double m_pcut{0};
89 double m_momCut{0};
90 double m_pTCut{0};
91 unsigned int m_minSVDHits{0};
92 int m_uDist{0};
93 int m_vDist{0};
94
95 TFile* m_file{nullptr};
96 TNtuple* m_tuple{nullptr};
97
98 };
99
100}
Module()
Constructor.
Definition Module.cc:30
The PXD DAQ Status class.
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
PXDIntercept stores the U,V coordinates and uncertainties of the intersection of a track with an PXD ...
The PXD Raw Hit class This class stores information about PXD Pixel hits and makes them available in ...
Definition PXDRawHit.h:24
This is the Reconstruction Event-Data Model Track.
Definition RecoTrack.h:79
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 that bundles various TrackFitResults.
Definition Track.h:25
Class to facilitate easy access to sensor information of the VXD like coordinate transformations or p...
Definition GeoCache.h:38
Abstract base class for different kinds of events.