 |
Belle II Software
release-05-02-19
|
12 #include <calibration/CalibrationAlgorithm.h>
13 #include <vxd/dataobjects/VxdID.h>
28 class PXDValidationAlgorithm :
public CalibrationAlgorithm {
73 std::shared_ptr<TTree>
m_tree;
82 std::vector<unsigned short>
m_pxdid;
85 std::vector<unsigned short>
m_uBin;
88 std::vector<unsigned short>
m_vBin;
TH1F * m_hD0
Histogram of corrected d0 for each 2-track event.
std::vector< Calibration::ExpRun > getBoundaries() const
getter for current boundaries
std::vector< unsigned long > m_nTrackPoints
Vecotr of number of track points.
TH2F * m_hTrackPointsLayer2
Histogram of intersection points for layer 2.
std::vector< unsigned short > m_vBin
Vecotr of vBin.
TH2F * m_hTrackClustersLayer2
Histogram of track matched clusters for layer 2.
int m_exp
Experiment number.
std::vector< unsigned short > m_pxdid
Vector of PXD module id (DHE id)
std::vector< Calibration::ExpRun > m_requestedBoundaries
During findPayloadBoundaries and isBoundaryRequired this is used to define the boundaries we want.
std::shared_ptr< TFile > m_file
Pointer for TFile.
virtual ~PXDValidationAlgorithm() override
Destructor.
virtual EResult calibrate() override
Run algo on data.
Abstract base class for different kinds of events.
bool save2DHists
Flag to save 2D histograms for efficiency;.
TH1F * m_hZ0
Histogram of corrected z0 for each 2-track event.
std::shared_ptr< TTree > m_tree
Pointer for TTree of the validation info.
EResult
The result of calibration.
int minTrackPoints
Minimum number of track points per sensor.
TH2F * m_hTrackClustersLayer1
Histogram of track matched clusters for layer 1.
virtual void boundaryFindingSetup(std::vector< Calibration::ExpRun >, int) override
What we do before isBoundaryRequired gets called.
virtual bool isBoundaryRequired(const Calibration::ExpRun &) override
Decide if a run should be a payload boundary. Only used in certain Python Algorithm Starategies.
TH2F * m_hTrackPointsLayer1
Histogram of intersection points for layer 1.
std::vector< unsigned long > m_nTrackClusters
Vecotr of number of track matched clusters.
std::vector< unsigned short > m_uBin
Vecotr of uBin.
PXDValidationAlgorithm()
Constructor set the prefix to PXDValidationAlgorithm.
void setBoundaries(const std::vector< Calibration::ExpRun > &boundaries)
Setter for boundaries.