29 #ifndef genfit_MeasurementOnPlaneCreator_h
30 #define genfit_MeasurementOnPlaneCreator_h
32 #include "AbsMeasurement.h"
33 #include "HelixTrackModel.h"
42 enum eMeasurementType { Pixel = 0,
69 void setResolution(
double resolution) {resolution_ = resolution;}
70 void setResolutionWire(
double resolutionWire) {resolutionWire_ = resolutionWire;}
71 void setOutlierProb(
double outlierProb) {outlierProb_ = outlierProb;}
72 void setOutlierRange(
double outlierRange) {outlierRange_ = outlierRange;}
73 void setThetaDetPlane(
double thetaDetPlane) {thetaDetPlane_ = thetaDetPlane;}
74 void setPhiDetPlane(
double phiDetPlane) {phiDetPlane_ = phiDetPlane;}
75 void setWireDir(
const TVector3 wireDir) {wireDir_ = wireDir; wireDir_.SetMag(1.);}
76 void setMinDrift(
double minDrift) {minDrift_ = minDrift;}
77 void setMaxDrift(
double maxDrift) {maxDrift_ = maxDrift;}
78 void setIdealLRResolution(
bool idealLRResolution) {idealLRResolution_ = idealLRResolution;}
79 void setUseSkew(
bool useSkew) {useSkew_ = useSkew;}
80 void setSkewAngle(
double skewAngle) {skewAngle_ = skewAngle;}
81 void setNSuperLayer(
int nSuperLayer) {nSuperLayer_ = nSuperLayer;}
82 void setDebug(
bool debug) {debug_ = debug;}
85 std::vector<genfit::AbsMeasurement*> create(eMeasurementType,
double tracklength,
bool& outlier,
int& lr);
86 std::vector<genfit::AbsMeasurement*> create(eMeasurementType type,
double tracklength) {
89 return create(type, tracklength, dummy1, dummy2);
96 const HelixTrackModel* trackModel_;
99 double resolutionWire_;
102 double outlierRange_;
105 double thetaDetPlane_;
113 bool idealLRResolution_;
119 int measurementCounter_;
124 ClassDef(MeasurementCreator,1)
Helix track model for testing purposes.
Create different measurement types along a HelixTrackModel for testing purposes.
void setTrackModel(const HelixTrackModel *model)
Takes ownership!
Defines for I/O streams used for error and debug printing.