 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
14 #include <top/reconstruction/TOPalign.h>
16 #include <framework/datastore/StoreArray.h>
17 #include <mdst/dataobjects/Track.h>
18 #include <tracking/dataobjects/ExtHit.h>
19 #include <top/dataobjects/TOPDigit.h>
20 #include <top/dataobjects/TOPRecBunch.h>
21 #include <framework/gearbox/Const.h>
37 class TOPAlignerModule :
public Module {
66 virtual void event()
override;
72 virtual void endRun()
override;
float m_y
track: extrapolated hit coordinate in local (module) frame
std::vector< std::string > m_parFixed
names of parameters to be fixed
float m_phi
track: extrapolated hit momentum in local (module) frame
int m_iter
iteration counter
float m_z
track: extrapolated hit coordinate in local (module) frame
int m_ntrk
number of tracks used
double m_minZ
minimal local z of extrapolated hit
float m_x
track: extrapolated hit coordinate in local (module) frame
std::vector< float > m_vAlignParsErr
error on alignment parameters
double m_stepTime
step size for t0
double m_minBkgPerBar
minimal assumed background photons per module
Class to hold reconstructed track, interface to fortran.
std::vector< float > m_vAlignPars
alignment parameters
double m_maxZ
maximal local z of extrapolated hit
double m_minMomentum
minimal track momentum if sample is "cosmics"
virtual void event() override
Event processor.
int m_maxFails
maximum allowed number of failed iterations
virtual void terminate() override
Termination action.
double m_stepRefind
step size for scaling of refractive index (dn/n)
double m_deltaEcms
c.m.s energy window if sample is "dimuon" or "bhabha"
std::vector< double > m_parInit
initial parameter values
virtual void beginRun() override
Called when entering a new run.
double m_dr
cut on POCA in r
int m_PDG
track MC truth (simulated data only)
TOPAlignerModule()
Constructor.
int m_countFails
counter for failed iterations
virtual void endRun() override
End-of-run action.
bool m_valid
true if alignment parameters are valid
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
Alignment of a TOP module: core of the method is coded in fortran.
TOP::TOPalign m_align
alignment object
double m_dz
cut on POCA in z
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
float m_theta
track: extrapolated hit momentum in local (module) frame
double m_stepPosition
step size for translations
double m_stepAngle
step size for rotations
int m_targetMid
target module to align.
StoreArray< TOPDigit > m_digits
collection of digits
int m_errorCode
error code of the alignment procedure
virtual void initialize() override
Initialize the Module.
std::string m_outFileName
Root output file name containing results.
std::vector< int > m_gridSize
grid size
Provides a type-safe way to pass members of the chargedStableSet set.
virtual ~TOPAlignerModule()
Destructor.
static const ChargedStable muon
muon particle
std::string m_sample
sample type
Accessor to arrays stored in the data store.
TTree * m_alignTree
TTree containing alignment parameters.
StoreArray< Track > m_tracks
collection of tracks
StoreArray< ExtHit > m_extHits
collection of extrapolated hits
double m_scaleN0
scale factor for figure-of-merit N0
bool selectTrack(const TOP::TOPtrack &trk)
track selection
Const::ChargedStable m_chargedStable
track hypothesis
float m_p
track: extrapolated hit momentum in local (module) frame