13#ifndef BMNALIGNERAPPLY_H
14#define BMNALIGNERAPPLY_H
18#include "TClonesArray.h"
29 TClonesArray* fpStsHitsArray{
nullptr};
30 const char* fAlignFilePath;
31 const Bool_t fLorentzCorrectionApply;
37 const char* alignFilePath,
38 Bool_t applyLorentz = kTRUE)
40 , fAlignFilePath(alignFilePath)
41 , fLorentzCorrectionApply(applyLorentz) {};
45 virtual void Exec(Option_t* opt);
63 TH2D *hLorCorX[2][17] = {{
nullptr}, {
nullptr}}, *hLorCorY[2][17] = {{
nullptr}, {
nullptr}};
65 void ReadCorrections(
int irun,
67 std::map<
int, std::vector<Double_t>>* locCorX,
68 std::map<
int, std::vector<Double_t>>* locCorY,
virtual ~BmnAlignerApply()=default
virtual void Exec(Option_t *opt)
ClassDef(BmnAlignerApply, 0)
virtual InitStatus Init()
BmnAlignerApply(const BmnMeasureModel *measureModel, const BmnDetectorModel *modelDetector, const char *alignFilePath, Bool_t applyLorentz=kTRUE)