18#ifndef TRT_DIGITIZATION_TRTDIGSETTINGS_H
19#define TRT_DIGITIZATION_TRTDIGSETTINGS_H
53 void print(
const std::string& front =
"" )
const;
363 const std::string & unitname,
370 unsigned int * datamember,
372 unsigned int lowrange,
373 unsigned int highrange);
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
double m_attenuationLength
double timeOffsetCalcVertexY() const
Get y value of point where particles are assumed to originate.
bool isCTB() const
Query whether CTB (Combined Test Beam 2004) flag is set.
double m_highThresholdECBwheelsKrypton
High threshold discriminator setting Krypton.
double m_trEfficiencyBarrelArgon
Transition Radiation efficiency, barrel, Argon.
double m_relativeHighThresholdFluctuation
Relative high threshold fluctuation.
double m_discriminatorDeadTime
Discriminator dead time.
void defineNewBoolVariable(const std::string &name, bool *datamember, const std::string &description)
Define new bool variable.
int m_ltT0shiftBarShortKr
LT T0 shift.
bool noiseInUnhitStraws() const
Query whether simulation of noise in unhit straws.
double m_trEfficiencyEndCapA
Transition Radiation efficiency, end cap A.
double m_timeOffsetCalcVertexX
x-coord.
double highThresholdBarShort(int strawGasType) const
Get discriminator setting for high threshold.
double ionisationPotential(int strawGasType) const
Get ionisation potential.
int htT0shiftBarLong() const
double outerRadiusOfWire() const
Get radius of signal wire.
bool m_noiseInSimhits
Simulate noise in hit straws.
unsigned int m_numberOfCrossingsBeforeMain
For pileup: BCs before main event.
unsigned int numberOfBins() const
Get number of time bins used for internal shaping of signal.
double slowPeriodicNoisePulseFraction() const
Get slow periodic noise pulse fraction.
unsigned int numberOfCrossingsBeforeMain() const
Get number of simulated bunch crossings before main event (pile up)
double m_slowPeriodicNoisePulseDistance
Slow periodic noise pulse distance (time)
double fastElectronicsNoisePulseDistance() const
Get fast electronics noise pulse distance (time)
double m_timeOffsetCalcVertexY
y-coord.
double timeOffsetCalcVertexX() const
Get x value of point where particles are assumed to originate.
double m_outerRadiusOfWire
Radius of drift wire.
double trEfficiencyEndCapA(int strawGasType) const
Get assumed Transition Radiation efficiency in end caps.
double m_highThresholdECBwheels
High threshold discriminator setting.
double m_trEfficiencyEndCapB
Transition Radiation efficiency, end cap B.
TRTDigSettings()
Parameters and settings for TRT digitization.
void printFlagsForOverrideableParameters(const std::string &front="") const
Print TRT digitization settings overrideable parameters.
double innerRadiusOfStraw() const
Get inner radius of straw.
int m_propertyNotSetMagicNumber_int
double jitterTimeOffset() const
In cosmics, events not correlated with LHC clock.
int ltT0shiftECBwheels(int strawGasType) const
double trEfficiencyEndCapB(int strawGasType) const
int m_ltT0shiftECBwheelsKr
double m_trEfficiencyBarrelKrypton
Transition Radiation efficiency, barrel, Krypton.
double relativeLowThresholdFluctuation() const
Get relative low threshold fluctuations (evt to evt & straw to straw)
double highThresholdBarLong(int strawGasType) const
double slowPeriodicNoisePulseDistance() const
Get slow periodic noise pulse distance (time)
void processOverrides()
Overwrite default values by uses values.
double m_distanceToTimeFactor
Fudge factor: time to distance.
bool useAttenuation() const
bool getT0FromData() const
bool doCosmicTimingPit() const
Cosmics timing corresponding to pit setup?
double trEfficiencyBarrel(int strawGasType) const
Get assumed Transition Radiation efficiency in barrel.
void print(const std::string &front="") const
Printing of TRT digitization settings.
unsigned int storeSDO() const
bool timeCorrection() const
Query whether time is corrected for flight and wire propagation delays.
double signalPropagationSpeed() const
Get wire signal propagation speed.
double discriminatorDeadTime() const
Get discriminator dead time.
double m_smearingFactorArgon
Cluster energy smearing factor for Argon mixture.
double lengthOfDeadRegion() const
Get length of dead region at end of straws.
double m_trEfficiencyEndCapAArgon
Transition Radiation efficiency, end cap A, Argon.
bool killBarrel() const
Is barrel killed.
double m_ionisationPotential
Mean ionisation potential.
double timeInterval() const
Get time interval covered by each digit.
double m_highThresholdBarShort
High threshold discriminator setting.
double m_crosstalkNoiseLevel
Average cross talk noise level.
double smearingFactor(int strawGasType) const
Get smearing factor.
int m_ltT0shiftECBwheelsAr
int m_ltT0shiftBarShortXe
int ltT0shiftBarLong(int strawGasType) const
bool m_timeshiftsSymmetricForPhiSectors
Time offset assumed phi symmetric.
bool m_useMagneticFieldMap
double m_timeOffsetCalcVertexZ
z-coord.
void fillDefaults(const InDetDD::TRT_DetectorManager *detmgr)
Fill default values into settable variables.
bool m_isOverlay
Doing overlay.
double highThresholdECAwheels(int strawGasType) const
double m_highThresholdECAwheelsArgon
High threshold discriminator setting Argon.
unsigned int m_storeSDO
Time window in which to store SDOs.
double m_jitterTimeOffset
Event time not correlated with LHC clock.
double lowThresholdEC(int strawGasType) const
double m_highThresholdBarLongKrypton
High threshold discriminator setting Krypton.
double m_slowPeriodicNoisePulseFraction
Slow periodic noise pulse fraction.
double m_highThresholdECAwheelsKrypton
High threshold discriminator setting Krypton.
int m_ltT0shiftBarShortAr
void addPropertiesForOverrideableParameters(Algorithm *alg)
Add properties for overrideable parameters.
std::map< std::string, doubleparameter > m_doubleparMap
Map of settable parameters (double)
double m_lowThresholdBarKrypton
Low threshold discriminator setting for Krypton mixture.
bool useMagneticFieldMap() const
bool m_electronicsAreAtFarEnd
Electronics assumed at far end of straw.
bool m_doCrosstalk
Crosstalk noise.
double m_highThresholdECBwheelsArgon
High threshold discriminator setting Argon.
double m_relativeLowThresholdFluctuation
Relative low threshold fluctuation.
double m_lowThresholdBar
Low threshold discriminator setting.
double m_signalPropagationSpeed
Signal propagation time in signal wire.
double m_lowThresholdBarArgon
Low threshold discriminator setting for Argon mixture.
double m_trEfficiencyEndCapBArgon
Transition Radiation efficiency, end cap B, Argon.
double m_highThresholdBarLongArgon
High threshold discriminator setting Argon.
double m_trEfficiencyEndCapBKrypton
Transition Radiation efficiency, end cap B, Krypton.
double m_lowThresholdECKrypton
Low threshold discriminator setting for Krypton mixture.
double m_highThresholdBarLong
High threshold discriminator setting.
double m_maxVertexDisplacement
Max.
double crossTalkNoiseLevel() const
Get average cross talk noise level.
double m_trEfficiencyBarrel
Transition Radiation efficiency, barrel.
double relativeHighThresholdFluctuation() const
Get relative high threshold fluctuations (evt to evt & straw to straw)
int htT0shiftECAwheels() const
double m_averageNoiseLevel
Average noise level.
int m_htT0shiftBarLong
HT T0 shift.
bool isOverlay() const
Get flag used for overlay.
bool m_isCTB
Data is from CTB (Combined Test Beam)
unsigned int m_numberOfBinsInEncodingBin
No.
void defineNewVariable(const std::string &name, double *datamember, const std::string &description, const std::string &unitname, double unitval, double lowrange, double highrange)
Define new double variable.
double m_innerRadiusOfStraw
Inner radius of straw.
bool m_timeCorrection
Corrrect for flight and wire propagation delays.
double m_ionisationPotentialArgon
Mean ionisation potential for Argon mixture.
double m_highThresholdBarShortKrypton
High threshold discriminator setting Krypton.
double m_discriminatorSettlingTime
Discriminator settling time.
double m_smearingFactor
Cluster energy smearing factor.
double m_lowThresholdECArgon
Low threshold discriminator setting for Argon mixture.
double maxVertexDisplacement() const
Get max vertex displacement.
unsigned int m_numberOfBins
No.
double averageNoiseLevel() const
Get average noise level.
int m_ltT0shiftECAwheelsKr
unsigned int m_cosmicFlag
Data is cosmics.
double attenuationLength() const
int htT0shiftBarShort() const
T0 shift for HT.
double crossTalkNoiseLevelOtherEnd() const
void defineVariables()
Define settable variables.
double pileUpSDOsMinEkin() const
Get minimum Ekin for pileup track to enter MC-truth.
bool doCrosstalk() const
Switch on crosstalk noise based on Cosmic 08 measurements.
double minDiscriminatorWidth() const
Get the minimum width of discriminator.
double m_lengthOfDeadRegion
Length of dead region at straw end.
std::map< std::string, intboolparameter > m_intboolparMap
Map of settable parameters (int & bool)
bool electronicsAreAtFarEnd() const
Query whether electronics is assumed to be at far end of straw.
bool m_noiseInUnhitStraws
Simulate noise in unhit straws.
double m_trtRangeCutProperty
Electrons xenon range cut in TRT simulation.
int ltT0shiftBarShort(int strawGasType) const
T0 for LT.
double distanceToTimeFactor() const
Get "distanceToTimeFactor" (fugde factor)
double TrtRangeCutProperty() const
int htT0shiftECBwheels() const
double solenoidFieldStrength() const
Get solenoid field strength.
double m_lowThresholdEC
Low threshold discriminator setting.
double m_ionisationPotentialKrypton
Mean ionisation potential for Krypton mixture.
bool m_killBarrel
Disable barrel.
double m_pileUpSDOsMinEkin
Min.
int m_ltT0shiftECAwheelsAr
double m_timeInterval
Time interval covered by each digit.
double highThresholdECBwheels(int strawGasType) const
int ltT0shiftECAwheels(int strawGasType) const
double m_propertyNotSetMagicNumber
double m_fastElectronicsNoisePulseDistance
Fast electronics noise pulse distance (time)
void defineNewUIntVariable(const std::string &name, unsigned int *datamember, const std::string &description, unsigned int lowrange, unsigned int highrange)
Define new unsigned int variable.
unsigned int digVersion() const
bool m_killEndCap
Disable end cap.
double timeOffsetCalcVertexZ() const
Get x value of point where particles are assumed to originate.
unsigned int numberOfBinsInEncodingBin() const
Get number of internal time bins corresponding to one low threshold bit.
double m_solenoidFieldStrength
Solenoid field strength.
double m_highThresholdECAwheels
High threshold discriminator setting.
double m_crosstalkNoiseLevelOtherEnd
Average cross talk noise level - other end.
double m_trEfficiencyEndCapAKrypton
Transition Radiation efficiency, end cap A, Krypton.
double m_minDiscriminatorWidth
Min.
double lowThresholdBar(int strawGasType) const
Get discriminator setting for low threshold.
bool m_doCosmicTimingPit
Cosmics pit setup.
void defineNewIntVariable(const std::string &name, int *datamember, const std::string &description, int lowrange, int highrange)
Define new int variable.
double discriminatorSettlingTime() const
Get discriminator settling time.
double m_smearingFactorKrypton
Cluster energy smearing factor for Krypton mixture.
unsigned int cosmicFlag() const
Get flag used for cosmics runs.
int m_ltT0shiftECAwheelsXe
double m_highThresholdBarShortArgon
High threshold discriminator setting Argon.
bool noiseInSimhits() const
Query whether simulation of noise in hit straws.
int m_ltT0shiftECBwheelsXe
bool killEndCap() const
Is end cap killed.
bool timeshiftsSymmetricForPhiSectors() const
Query whether time offsets are assumed to be symmetric in phi.
std::string description
glabal timer - how long have I taken so far?
Settable parameter, double.
double * directvaraddress
Settable parameter, int and bool.
unsigned int * directvaraddress_uint
int * directvaraddress_int
bool * directvaraddress_bool