 |
Belle II Software
release-05-01-25
|
14 #include <framework/core/HistoModule.h>
15 #include <framework/datastore/StoreArray.h>
17 #include <pxd/dataobjects/PXDCluster.h>
19 #include <vxd/geometry/GeoCache.h>
20 #include <vxd/geometry/SensorInfoBase.h>
22 #include <tracking/dataobjects/RecoTrack.h>
23 #include <tracking/dataobjects/ROIid.h>
48 class PXDDQMEfficiencySelftrackModule :
public HistoModule {
62 void event() override final;
89 TVector3
getTrackInterSec(const VXD::SensorInfoBase& pxdSensorInfo, const
RecoTrack& aTrack,
bool& isgood,
double& du,
double& dv);
double m_pTCut
Cut on fitted track pT.
bool isCloseToBorder(int u, int v, int checkDistance)
is it close to the border
std::string m_ROIsName
name of the store array of ROIs
Class to uniquely identify a any structure of the PXD and SVD.
std::map< VxdID, TH2F * > m_h_track_hits
histograms of track hits
TVector3 getTrackInterSec(const VXD::SensorInfoBase &pxdSensorInfo, const RecoTrack &aTrack, bool &isgood, double &du, double &dv)
helper functions to do some of the calculations
std::map< VxdID, TH1F * > m_h_p2
histograms of p2
int findClosestCluster(const VxdID &vxdid, TVector3 intersection)
find the closest cluster
PXDDQMEfficiencySelftrackModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::map< VxdID, TH1F * > m_h_sv2
histrograms of sv2
bool m_maskDeadPixels
mask dead pixels
bool m_requireROIs
Require tracks going through ROIs.
bool m_verboseHistos
add some verbose histograms for cuts
double m_d0Cut
cut abs(d0) in cm (and negativ value eg -9999 disables)
std::string m_tracksName
name of the store array of tracks
VXD::GeoCache & m_vxdGeometry
the geometry
std::map< VxdID, TH1F * > m_h_sv
histograms of sv
bool m_useAlignment
if true alignment will be used!
void beginRun() override final
begin run function which resets histograms
StoreArray< PXDCluster > m_pxdclusters
store array of pxd clusters
int m_maskedDistance
Distance inside which no dead pixel or module border is allowed.
unsigned int m_minSVDHits
Required hits in SVD strips for tracks.
double m_momCut
Cut on fitted track momentum.
This is the Reconstruction Event-Data Model Track.
std::map< VxdID, TH1F * > m_h_su2
histrograms of su2
ROIid stores the U and V ids and the sensor id of the Region Of Interest.
std::map< VxdID, TH1F * > m_h_pt2
histograms of pt2
Abstract base class for different kinds of events.
void event() override final
main function which fills trees and histograms
double m_pcut
pValue-Cut for tracks
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
double m_z0minCut
cut z0 minimum in cm (large negativ value eg -9999 disables)
bool isDeadPixelClose(int u, int v, int checkDistance, const VxdID &moduleID)
is a dead pixel close
double m_vFactor
factor for track-error on distcut comparison
std::map< VxdID, TH1F * > m_h_pt
histograms of transverse momenta
std::map< VxdID, TH2F * > m_h_matched_cluster
histograms of matched clusters
void defineHisto() override final
actually defines the trees and histograms
void initialize() override final
initializes the need store arrays, trees and histograms
std::string m_pxdClustersName
name of the store array of pxd clusters
bool m_cutBorders
cut borders
std::string m_histogramDirectoryName
Where to save the histograms too.
Accessor to arrays stored in the data store.
double m_distcut
distance cut in cm!
std::map< VxdID, TH1F * > m_h_p
histograms of momenta
StoreArray< ROIid > m_ROIs
store array of ROIs
double m_z0maxCut
cut z0 maximum in cm (large positiv value eg 9999 disables)
double m_uFactor
factor for track-error on distcut comparison
StoreArray< RecoTrack > m_tracks
store array of tracks
std::map< VxdID, TH1F * > m_h_su
histograms of su