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 <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 {
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;
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 };
100}
Base class for Modules.
Definition: Module.h:72
Creates Ntuples for PXD Trigger analysis.
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 faciliate easy access to sensor information of the VXD like coordinate transformations or pi...
Definition: GeoCache.h:39
Abstract base class for different kinds of events.