1 #ifndef SIMPLEHELIXGENERALBROKENLINEINTERFACEPROCESSOR_H 2 #define SIMPLEHELIXGENERALBROKENLINEINTERFACEPROCESSOR_H 7 #include <marlin/Processor.h> 8 #include <marlin/Global.h> 14 #include "GblTrajectory.h" 15 #include "MilleBinary.h" 18 #include <EVENT/Track.h> 19 #include "EVENT/TrackerHit.h" 95 virtual void check(EVENT::LCEvent* evt);
128 void calcLineSeed(
const std::vector<TrackerHit*>,
const double*,
double &,
double &,
double &,
double &,
double &)
const;
132 #endif // SimpleHelixGENERALBROKENLINEINTERFACEPROCESSOR_H gbl::GblTrajectory * _trajectory
GBL trajectory.
bool _encodedModuleID
Module ID is encoded in CellID0.
double _refPointS
arc-length of reference point
std::vector< unsigned int > _theLabels
Labels of (global) MP-II parameters.
SimpleHelixGeneralBrokenLineInterfaceProcessor()
double _lostweight
weight lost by down-weighting
int _milleMinHits
defines minimum number of hits on track for output to Millepede binary file
bool _writeMillepedeOut
selects output to Millepede-II binary file
virtual void processRunHeader(EVENT::LCRunHeader *run)
int _milleCalcMethod
defines which parameter should be calculated for Millepede-II binary file
int _ndf
number of degrees of freedom in GBL fit
TMatrixDSym * _covarianceMatrix
covariance matrix from GBL
std::pair< int, double > indexArcPair
virtual void init()
Initialize processor.
double _defaultMomentum
default momentum for multiple scattering (for Bfield off, GeV) (default: 10.)
bool _outputIsPersistent
whether the output is to be stored or not (default: true)
virtual Processor * newProcessor()
void calcLineSeed(const std::vector< TrackerHit *>, const double *, double &, double &, double &, double &, double &) const
Simple seed for straight line.
unsigned int _refPointIndex
label of reference point
double _x0PerUnitLength
X0 per unit length (TPC gas as homogeneous scatterer) (default: 0.)
TVectorD * _correctionVector
correction vector from GBL fit (for track parameters)
double _Xcenter
TPC center, X coordinate.
virtual void processEvent(EVENT::LCEvent *evt)
Process event.
double _Ycenter
TPC center, Y coordinate.
std::string _outputTrackCollectionName
Name of the output track collection.
bool _curvature
flag for curved track (helix, else straight line)
double _bfieldScaleFactor
scale factor for magnetic field (default: 1.0)
std::string _fitOptions
list of iterations with 'h' Huber, 't' Tukey or 'c' Cauchy down-weighting
std::string _inputCollectionName
Name of the input collection – track seeds.
bool _thickScatterer
selects thick (otherwise thin) scatterers for multiple scattering (default: false) ...
std::pair< double, double > arcVarPair
virtual void check(EVENT::LCEvent *evt)
std::string _fileNameMillepedeFile
name of Millepede-II binary file
Using GBL with a simple helix.
double _chisquare
chi2 from GBL fit
gbl::MilleBinary * _milleBinary
Millepede-II binary file.