Belle II Software development
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
38
39 public:
40
45
46 private:
47
51 void event() override final;
52
56 void initialize() override final;
57
61 void terminate() override final;
62
63
64 private:
65
68
71
72 std::string m_ntupleName;
73 std::string m_pxdHitsName;
74 std::string m_tracksName;
75 std::string m_recoTracksName;
77
84
85 double m_pcut{0};
86 double m_momCut{0};
87 double m_pTCut{0};
88 unsigned int m_minSVDHits{0};
89 int m_uDist{0};
90 int m_vDist{0};
91
92 TFile* m_file{nullptr};
93 TNtuple* m_tuple{nullptr};
94
95 };
96
97}
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.