ATLAS Offline Software
TRTDigSettings.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // File: TRTDigSettings.h //
8 // //
9 // Author: Thomas Kittelmann <kittel@nbi.dk> //
10 // //
11 // First version: April 2005. Rewritten November 2005. //
12 // //
13 // Class containing parameters and settings used by //
14 // TRT digitization. //
15 // //
17 
18 #ifndef TRT_DIGITIZATION_TRTDIGSETTINGS_H
19 #define TRT_DIGITIZATION_TRTDIGSETTINGS_H
20 
22 
23 #include <map>
24 #include <string>
25 #include <vector>
26 
27 class Algorithm;
28 class AlgTool;
29 namespace InDetDD { class TRT_DetectorManager; }
30 
35 class TRTDigSettings : public AthMessaging {
36 
37 public:
38 
41 
45  void initialize( const InDetDD::TRT_DetectorManager* detmgr);
46 
47  StatusCode DigSettingsFromCondDB(int m_dig_vers_from_condDB);
48 
50  void addPropertiesForOverrideableParameters( Algorithm * alg );
51 
53  void addPropertiesForOverrideableParameters( AlgTool * algt );
54 
56  void print( const std::string& front = "" ) const;
57 
59  void printFlagsForOverrideableParameters( const std::string& front = "" ) const;
60 
61  //==============================================================//
62  // Accessor methods //
63  //==============================================================//
64 
65  int digVers() const;
66 
67  bool useAttenuation() const;
68  double attenuationLength() const;
69 
71  double trEfficiencyBarrel(int strawGasType) const;
72 
74  double trEfficiencyEndCapA(int strawGasType) const;
75  double trEfficiencyEndCapB(int strawGasType) const;
76 
78  double ionisationPotential(int strawGasType) const;
79 
81  double smearingFactor(int strawGasType) const;
82 
83  //--- Digitization parameters:
84 
85  unsigned int digVersion() const;
86  bool useMagneticFieldMap() const;
87 
89  double timeInterval() const;
91  unsigned int numberOfBins() const;
93  unsigned int numberOfBinsInEncodingBin() const;
95  double minDiscriminatorWidth() const;
97  double discriminatorSettlingTime() const;
99  double discriminatorDeadTime() const;
100 
102  double lowThresholdBar(int strawGasType) const;
103  double lowThresholdEC(int strawGasType) const;
104 
106  double highThresholdBarShort(int strawGasType) const;
107  double highThresholdBarLong(int strawGasType) const;
108  double highThresholdECAwheels(int strawGasType) const;
109  double highThresholdECBwheels(int strawGasType) const;
110 
112  int htT0shiftBarShort() const;
113  int htT0shiftBarLong() const;
114  int htT0shiftECAwheels() const;
115  int htT0shiftECBwheels() const;
116 
118  int ltT0shiftBarShort(int strawGasType) const;
119  int ltT0shiftBarLong(int strawGasType) const;
120  int ltT0shiftECAwheels(int strawGasType) const;
121  int ltT0shiftECBwheels(int strawGasType) const;
122 
123  //--- Common straw geometry parameters:
124 
126  double innerRadiusOfStraw() const;
127 
129  double outerRadiusOfWire() const;
130 
132  double lengthOfDeadRegion() const;
133 
136  bool timeCorrection() const;
137 
139  double signalPropagationSpeed() const;
140 
141  //--- Calculating electronics time shifts:
142 
144  double distanceToTimeFactor() const;
146  double maxVertexDisplacement() const;
148  double timeOffsetCalcVertexX() const;
150  double timeOffsetCalcVertexY() const;
152  double timeOffsetCalcVertexZ() const;
157 
158  //--- Pile up:
159 
161  unsigned int numberOfCrossingsBeforeMain() const;
163  double pileUpSDOsMinEkin() const;//MC Truth saving for pile-up events
164 
165  //--- Noise parameters:
166 
168  bool noiseInUnhitStraws() const;
170  bool noiseInSimhits() const;
171 
172  //--- Composition of electronics noise:
173 
180 
182  double averageNoiseLevel() const;
183 
185  double crossTalkNoiseLevel() const;
187 
188  //--- Threshold fluctuations:
189 
191  double relativeLowThresholdFluctuation() const; // 0 means no LT fluctuation
193  double relativeHighThresholdFluctuation() const; // 0 means no HT fluctuation
194 
195  //--- Field (for effects on drift time):
196 
198  double solenoidFieldStrength() const;
199 
200  //--- Special runs:
201 
203  unsigned int cosmicFlag() const;
205  bool isCTB() const;
207  bool isOverlay() const;
208 
209  bool killEndCap() const;
210  bool killBarrel() const;
212  double jitterTimeOffset() const;
214  bool doCosmicTimingPit() const;
215 
217  bool doCrosstalk() const;
218 
219  unsigned int storeSDO() const;
220 
221  bool getT0FromData() const;
222 
223  //Delta-ray suppression switch
224  double TrtRangeCutProperty() const;
225 
226 private:
227  //==============================================================//
228  // Private //
229  //==============================================================//
230 
232  void defineVariables();
233 
235  void fillDefaults(const InDetDD::TRT_DetectorManager* detmgr);
236 
238  void processOverrides();
239 
240  //---First a list of data members used for holding the parameters:
241  unsigned int m_digversion;
242  bool m_useMagneticFieldMap = false;
243  bool m_getT0FromData = false;
244  unsigned int m_storeSDO = 0U;
246  double m_ionisationPotential = 0.0;
249  double m_smearingFactor = 0.0;
250  double m_smearingFactorArgon = 0.0;
251  double m_smearingFactorKrypton = 0.0;
253  double m_timeInterval = 0.0;
254  unsigned int m_numberOfBins = 0U;
255  unsigned int m_numberOfBinsInEncodingBin = 0U;
257  double m_minDiscriminatorWidth = 0.0;
259  double m_discriminatorDeadTime = 0.0;
261  double m_distanceToTimeFactor = 0.0;
263  double m_lowThresholdBar = 0.0;
264  double m_lowThresholdEC = 0.0;
266  double m_lowThresholdBarArgon = 0.0;
267  double m_lowThresholdECArgon = 0.0;
270  double m_lowThresholdECKrypton = 0.0;
272  double m_highThresholdBarShort = 0.0;
273  double m_highThresholdBarLong = 0.0;
291 
304 
305  double m_innerRadiusOfStraw = 0.0;
306  double m_outerRadiusOfWire = 0.0;
307  double m_lengthOfDeadRegion = 0.0;
309  bool m_timeCorrection = false;
311  unsigned int m_numberOfCrossingsBeforeMain = 0U;
313  double m_pileUpSDOsMinEkin = 0.0;
314  double m_maxVertexDisplacement = 0.0;
315  double m_timeOffsetCalcVertexX = 0.0;
316  double m_timeOffsetCalcVertexY = 0.0;
317  double m_timeOffsetCalcVertexZ = 0.0;
321  double m_trEfficiencyBarrel = 0.0;
322  double m_trEfficiencyEndCapA = 0.0;
323  double m_trEfficiencyEndCapB = 0.0;
331  bool m_noiseInUnhitStraws = false;
332  bool m_noiseInSimhits = false;
334  bool m_isCTB = false;
336  bool m_killEndCap = false;
337  bool m_killBarrel = false;
338  double m_jitterTimeOffset = 0.0;
339  bool m_doCosmicTimingPit = false;
340  bool m_doCrosstalk = false;
342  unsigned int m_cosmicFlag = 0U;
343  bool m_isOverlay = false;
348  double m_averageNoiseLevel = 0.0;
349  double m_crosstalkNoiseLevel = 0.0;
354  double m_solenoidFieldStrength = 0.0;
356  bool m_useAttenuation = false;
357  double m_attenuationLength = 0.0;
358 
359  double m_trtRangeCutProperty = 0.0;
361  //Now follows infrastructure for handling all the parameters in a robust way:
362 
364  void defineNewVariable(const std::string & name,
365  double * datamember,
366  const std::string & description,
367  const std::string & unitname,
368  double unitval,
369  double lowrange,
370  double highrange);
371 
373  void defineNewUIntVariable(const std::string & name,
374  unsigned int * datamember,
375  const std::string & description,
376  unsigned int lowrange,
377  unsigned int highrange);
378 
380  void defineNewIntVariable(const std::string & name,
381  int * datamember,
382  const std::string & description,
383  int lowrange,
384  int highrange);
385 
387  void defineNewBoolVariable(const std::string & name,
388  bool * datamember,
389  const std::string & description);
390 
393  std::string description;
394  double * directvaraddress{};
395  std::string unitname;
396  double unit{};
397  double okrange_low{};
398  double okrange_high{};
399  double valueSetByUser{};
400  };
401 
404  std::string description;
405  //Two of these are put to null to indicate type:
407  unsigned int * directvaraddress_uint{};
409  int okrange_low{}; int okrange_high{};
411  };
412 
414  std::map <std::string,doubleparameter> m_doubleparMap;
416  std::map <std::string,intboolparameter> m_intboolparMap;
417 
420 };
421 
422 #include "TRTDigSettings.icc"
423 
424 #endif
TRTDigSettings::intboolparameter
Settable parameter, int and bool.
Definition: TRTDigSettings.h:403
TRTDigSettings::m_smearingFactor
double m_smearingFactor
Cluster energy smearing factor.
Definition: TRTDigSettings.h:249
TRTDigSettings::defineNewBoolVariable
void defineNewBoolVariable(const std::string &name, bool *datamember, const std::string &description)
Define new bool variable.
Definition: TRTDigSettings.cxx:397
TRTDigSettings::pileUpSDOsMinEkin
double pileUpSDOsMinEkin() const
Get minimum Ekin for pileup track to enter MC-truth.
TRTDigSettings::getT0FromData
bool getT0FromData() const
TRTDigSettings::timeOffsetCalcVertexZ
double timeOffsetCalcVertexZ() const
Get x value of point where particles are assumed to originate.
TRTDigSettings::doCosmicTimingPit
bool doCosmicTimingPit() const
Cosmics timing corresponding to pit setup?
TRTDigSettings::m_relativeHighThresholdFluctuation
double m_relativeHighThresholdFluctuation
Relative high threshold fluctuation.
Definition: TRTDigSettings.h:353
SGout2dot.alg
alg
Definition: SGout2dot.py:243
TRTDigSettings::m_numberOfBins
unsigned int m_numberOfBins
No.
Definition: TRTDigSettings.h:254
TRTDigSettings::crossTalkNoiseLevelOtherEnd
double crossTalkNoiseLevelOtherEnd() const
TRTDigSettings::m_htT0shiftECBwheels
int m_htT0shiftECBwheels
Definition: TRTDigSettings.h:290
TRTDigSettings::lowThresholdEC
double lowThresholdEC(int strawGasType) const
TRTDigSettings::minDiscriminatorWidth
double minDiscriminatorWidth() const
Get the minimum width of discriminator.
TRTDigSettings::m_trEfficiencyEndCapBArgon
double m_trEfficiencyEndCapBArgon
Transition Radiation efficiency, end cap B, Argon.
Definition: TRTDigSettings.h:326
TRTDigSettings::m_highThresholdECAwheelsKrypton
double m_highThresholdECAwheelsKrypton
High threshold discriminator setting Krypton.
Definition: TRTDigSettings.h:284
TRTDigSettings::killEndCap
bool killEndCap() const
Is end cap killed.
TRTDigSettings::m_averageNoiseLevel
double m_averageNoiseLevel
Average noise level.
Definition: TRTDigSettings.h:348
TRTDigSettings::intboolparameter::description
std::string description
Definition: TRTDigSettings.h:404
TRTDigSettings::timeCorrection
bool timeCorrection() const
Query whether time is corrected for flight and wire propagation delays.
TRTDigSettings::m_ltT0shiftECBwheelsKr
int m_ltT0shiftECBwheelsKr
Definition: TRTDigSettings.h:302
TRTDigSettings::m_highThresholdBarShort
double m_highThresholdBarShort
High threshold discriminator setting.
Definition: TRTDigSettings.h:272
TRTDigSettings::fastElectronicsNoisePulseDistance
double fastElectronicsNoisePulseDistance() const
Get fast electronics noise pulse distance (time)
TRTDigSettings::useMagneticFieldMap
bool useMagneticFieldMap() const
TRTDigSettings::m_killEndCap
bool m_killEndCap
Disable end cap.
Definition: TRTDigSettings.h:336
TRTDigSettings::m_ionisationPotential
double m_ionisationPotential
Mean ionisation potential.
Definition: TRTDigSettings.h:246
TRTDigSettings::m_trEfficiencyEndCapBKrypton
double m_trEfficiencyEndCapBKrypton
Transition Radiation efficiency, end cap B, Krypton.
Definition: TRTDigSettings.h:329
TRTDigSettings::m_lowThresholdBarKrypton
double m_lowThresholdBarKrypton
Low threshold discriminator setting for Krypton mixture.
Definition: TRTDigSettings.h:269
TRTDigSettings::m_highThresholdBarLongKrypton
double m_highThresholdBarLongKrypton
High threshold discriminator setting Krypton.
Definition: TRTDigSettings.h:283
TRTDigSettings::m_trEfficiencyBarrelArgon
double m_trEfficiencyBarrelArgon
Transition Radiation efficiency, barrel, Argon.
Definition: TRTDigSettings.h:324
TRTDigSettings::timeshiftsSymmetricForPhiSectors
bool timeshiftsSymmetricForPhiSectors() const
Query whether time offsets are assumed to be symmetric in phi.
TRTDigSettings::m_useAttenuation
bool m_useAttenuation
Definition: TRTDigSettings.h:356
TRTDigSettings::highThresholdBarShort
double highThresholdBarShort(int strawGasType) const
Get discriminator setting for high threshold.
TRTDigSettings::lengthOfDeadRegion
double lengthOfDeadRegion() const
Get length of dead region at end of straws.
TRTDigSettings::solenoidFieldStrength
double solenoidFieldStrength() const
Get solenoid field strength.
TRTDigSettings::m_discriminatorSettlingTime
double m_discriminatorSettlingTime
Discriminator settling time.
Definition: TRTDigSettings.h:258
TRTDigSettings::m_lowThresholdECKrypton
double m_lowThresholdECKrypton
Low threshold discriminator setting for Krypton mixture.
Definition: TRTDigSettings.h:270
TRTDigSettings::highThresholdBarLong
double highThresholdBarLong(int strawGasType) const
TRTDigSettings::m_doubleparMap
std::map< std::string, doubleparameter > m_doubleparMap
Map of settable parameters (double)
Definition: TRTDigSettings.h:414
TRTDigSettings::m_useMagneticFieldMap
bool m_useMagneticFieldMap
Definition: TRTDigSettings.h:242
TRTDigSettings::digVers
int digVers() const
TRTDigSettings::ltT0shiftECBwheels
int ltT0shiftECBwheels(int strawGasType) const
TRTDigSettings::ltT0shiftBarShort
int ltT0shiftBarShort(int strawGasType) const
T0 for LT.
TRTDigSettings::m_ltT0shiftBarLongAr
int m_ltT0shiftBarLongAr
Definition: TRTDigSettings.h:297
TRTDigSettings::printFlagsForOverrideableParameters
void printFlagsForOverrideableParameters(const std::string &front="") const
Print TRT digitization settings overrideable parameters.
Definition: TRTDigSettings.cxx:281
TRTDigSettings::htT0shiftBarLong
int htT0shiftBarLong() const
TRTDigSettings::addPropertiesForOverrideableParameters
void addPropertiesForOverrideableParameters(Algorithm *alg)
Add properties for overrideable parameters.
Definition: TRTDigSettings.cxx:244
TRTDigSettings::noiseInUnhitStraws
bool noiseInUnhitStraws() const
Query whether simulation of noise in unhit straws.
TRTDigSettings::m_crosstalkNoiseLevel
double m_crosstalkNoiseLevel
Average cross talk noise level.
Definition: TRTDigSettings.h:349
TRTDigSettings::m_slowPeriodicNoisePulseDistance
double m_slowPeriodicNoisePulseDistance
Slow periodic noise pulse distance (time)
Definition: TRTDigSettings.h:346
TRTDigSettings::crossTalkNoiseLevel
double crossTalkNoiseLevel() const
Get average cross talk noise level.
TRTDigSettings::ltT0shiftBarLong
int ltT0shiftBarLong(int strawGasType) const
TRTDigSettings::doubleparameter::unit
double unit
Definition: TRTDigSettings.h:396
TRTDigSettings::intboolparameter::directvaraddress_int
int * directvaraddress_int
Definition: TRTDigSettings.h:406
TRTDigSettings::m_highThresholdBarShortKrypton
double m_highThresholdBarShortKrypton
High threshold discriminator setting Krypton.
Definition: TRTDigSettings.h:282
TRTDigSettings::m_slowPeriodicNoisePulseFraction
double m_slowPeriodicNoisePulseFraction
Slow periodic noise pulse fraction.
Definition: TRTDigSettings.h:347
TRTDigSettings::intboolparameter::okrange_low
int okrange_low
Definition: TRTDigSettings.h:409
TRTDigSettings::relativeLowThresholdFluctuation
double relativeLowThresholdFluctuation() const
Get relative low threshold fluctuations (evt to evt & straw to straw)
TRTDigSettings::m_highThresholdBarLongArgon
double m_highThresholdBarLongArgon
High threshold discriminator setting Argon.
Definition: TRTDigSettings.h:278
TRTDigSettings::defineNewVariable
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.
Definition: TRTDigSettings.cxx:316
TRTDigSettings::jitterTimeOffset
double jitterTimeOffset() const
In cosmics, events not correlated with LHC clock.
TRTDigSettings::m_killBarrel
bool m_killBarrel
Disable barrel.
Definition: TRTDigSettings.h:337
TRTDigSettings::m_electronicsAreAtFarEnd
bool m_electronicsAreAtFarEnd
Electronics assumed at far end of straw.
Definition: TRTDigSettings.h:318
TRTDigSettings::doubleparameter::description
std::string description
Definition: TRTDigSettings.h:393
TRTDigSettings::m_highThresholdECAwheels
double m_highThresholdECAwheels
High threshold discriminator setting.
Definition: TRTDigSettings.h:274
TRTDigSettings::m_pileUpSDOsMinEkin
double m_pileUpSDOsMinEkin
Min.
Definition: TRTDigSettings.h:313
TRTDigSettings::isOverlay
bool isOverlay() const
Get flag used for overlay.
TRTDigSettings::m_propertyNotSetMagicNumber_int
int m_propertyNotSetMagicNumber_int
Definition: TRTDigSettings.h:419
TRTDigSettings::smearingFactor
double smearingFactor(int strawGasType) const
Get smearing factor.
TRTDigSettings::m_trEfficiencyEndCapB
double m_trEfficiencyEndCapB
Transition Radiation efficiency, end cap B.
Definition: TRTDigSettings.h:323
TRTDigSettings::m_numberOfCrossingsBeforeMain
unsigned int m_numberOfCrossingsBeforeMain
For pileup: BCs before main event.
Definition: TRTDigSettings.h:311
TRTDigSettings::m_trEfficiencyBarrel
double m_trEfficiencyBarrel
Transition Radiation efficiency, barrel.
Definition: TRTDigSettings.h:321
TRTDigSettings::intboolparameter::directvaraddress_uint
unsigned int * directvaraddress_uint
Definition: TRTDigSettings.h:407
TRTDigSettings::m_lowThresholdBarArgon
double m_lowThresholdBarArgon
Low threshold discriminator setting for Argon mixture.
Definition: TRTDigSettings.h:266
TRTDigSettings::cosmicFlag
unsigned int cosmicFlag() const
Get flag used for cosmics runs.
TRTDigSettings::averageNoiseLevel
double averageNoiseLevel() const
Get average noise level.
TRTDigSettings::fillDefaults
void fillDefaults(const InDetDD::TRT_DetectorManager *detmgr)
Fill default values into settable variables.
Definition: TRTDigSettings.cxx:419
TRTDigSettings::relativeHighThresholdFluctuation
double relativeHighThresholdFluctuation() const
Get relative high threshold fluctuations (evt to evt & straw to straw)
TRTDigSettings::m_ltT0shiftBarLongKr
int m_ltT0shiftBarLongKr
Definition: TRTDigSettings.h:296
TRTDigSettings::digVersion
unsigned int digVersion() const
TRTDigSettings::trEfficiencyEndCapA
double trEfficiencyEndCapA(int strawGasType) const
Get assumed Transition Radiation efficiency in end caps.
TRTDigSettings::m_storeSDO
unsigned int m_storeSDO
Time window in which to store SDOs.
Definition: TRTDigSettings.h:244
TRTDigSettings::m_isCTB
bool m_isCTB
Data is from CTB (Combined Test Beam)
Definition: TRTDigSettings.h:334
TRTDigSettings::m_timeCorrection
bool m_timeCorrection
Corrrect for flight and wire propagation delays.
Definition: TRTDigSettings.h:309
TRTDigSettings::m_highThresholdECBwheels
double m_highThresholdECBwheels
High threshold discriminator setting.
Definition: TRTDigSettings.h:275
TRTDigSettings::m_ltT0shiftECAwheelsXe
int m_ltT0shiftECAwheelsXe
Definition: TRTDigSettings.h:298
TRTDigSettings::discriminatorDeadTime
double discriminatorDeadTime() const
Get discriminator dead time.
TRTDigSettings::m_ltT0shiftBarShortKr
int m_ltT0shiftBarShortKr
LT T0 shift.
Definition: TRTDigSettings.h:293
TRTDigSettings::m_ionisationPotentialKrypton
double m_ionisationPotentialKrypton
Mean ionisation potential for Krypton mixture.
Definition: TRTDigSettings.h:248
TRTDigSettings::m_propertyNotSetMagicNumber
double m_propertyNotSetMagicNumber
Definition: TRTDigSettings.h:418
TRTDigSettings::m_timeshiftsSymmetricForPhiSectors
bool m_timeshiftsSymmetricForPhiSectors
Time offset assumed phi symmetric.
Definition: TRTDigSettings.h:319
TRTDigSettings::m_smearingFactorKrypton
double m_smearingFactorKrypton
Cluster energy smearing factor for Krypton mixture.
Definition: TRTDigSettings.h:251
TRTDigSettings::m_signalPropagationSpeed
double m_signalPropagationSpeed
Signal propagation time in signal wire.
Definition: TRTDigSettings.h:260
TRTDigSettings::ltT0shiftECAwheels
int ltT0shiftECAwheels(int strawGasType) const
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRTDigSettings::timeOffsetCalcVertexX
double timeOffsetCalcVertexX() const
Get x value of point where particles are assumed to originate.
TRTDigSettings::isCTB
bool isCTB() const
Query whether CTB (Combined Test Beam 2004) flag is set.
TRTDigSettings::attenuationLength
double attenuationLength() const
TRTDigSettings::intboolparameter::valueSetByUser
int valueSetByUser
Definition: TRTDigSettings.h:410
TRTDigSettings::lowThresholdBar
double lowThresholdBar(int strawGasType) const
Get discriminator setting for low threshold.
TRTDigSettings::m_timeOffsetCalcVertexY
double m_timeOffsetCalcVertexY
y-coord.
Definition: TRTDigSettings.h:316
TRTDigSettings::m_minDiscriminatorWidth
double m_minDiscriminatorWidth
Min.
Definition: TRTDigSettings.h:257
TRTDigSettings::m_htT0shiftBarLong
int m_htT0shiftBarLong
HT T0 shift.
Definition: TRTDigSettings.h:288
TRTDigSettings::TRTDigSettings
TRTDigSettings()
Parameters and settings for TRT digitization.
Definition: TRTDigSettings.cxx:42
TRTDigSettings::m_trEfficiencyEndCapAKrypton
double m_trEfficiencyEndCapAKrypton
Transition Radiation efficiency, end cap A, Krypton.
Definition: TRTDigSettings.h:328
TRTDigSettings::m_ltT0shiftECBwheelsAr
int m_ltT0shiftECBwheelsAr
Definition: TRTDigSettings.h:303
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
TRTDigSettings::m_timeInterval
double m_timeInterval
Time interval covered by each digit.
Definition: TRTDigSettings.h:253
TRTDigSettings::intboolparameter::directvaraddress_bool
bool * directvaraddress_bool
Definition: TRTDigSettings.h:408
TRTDigSettings::htT0shiftECAwheels
int htT0shiftECAwheels() const
TRTDigSettings::killBarrel
bool killBarrel() const
Is barrel killed.
TRTDigSettings::highThresholdECAwheels
double highThresholdECAwheels(int strawGasType) const
TRTDigSettings::m_highThresholdECBwheelsArgon
double m_highThresholdECBwheelsArgon
High threshold discriminator setting Argon.
Definition: TRTDigSettings.h:280
TRTDigSettings::m_outerRadiusOfWire
double m_outerRadiusOfWire
Radius of drift wire.
Definition: TRTDigSettings.h:306
TRTDigSettings::m_timeOffsetCalcVertexZ
double m_timeOffsetCalcVertexZ
z-coord.
Definition: TRTDigSettings.h:317
TRTDigSettings::m_highThresholdBarLong
double m_highThresholdBarLong
High threshold discriminator setting.
Definition: TRTDigSettings.h:273
TRTDigSettings::m_trtRangeCutProperty
double m_trtRangeCutProperty
Electrons xenon range cut in TRT simulation
Definition: TRTDigSettings.h:359
TRTDigSettings::innerRadiusOfStraw
double innerRadiusOfStraw() const
Get inner radius of straw.
TRTDigSettings::noiseInSimhits
bool noiseInSimhits() const
Query whether simulation of noise in hit straws.
TRTDigSettings::intboolparameter::okrange_high
int okrange_high
Definition: TRTDigSettings.h:409
TRTDigSettings::m_discriminatorDeadTime
double m_discriminatorDeadTime
Discriminator dead time.
Definition: TRTDigSettings.h:259
TRTDigSettings::m_htT0shiftBarShort
int m_htT0shiftBarShort
Definition: TRTDigSettings.h:287
TRTDigSettings::numberOfBins
unsigned int numberOfBins() const
Get number of time bins used for internal shaping of signal.
TRTDigSettings::trEfficiencyEndCapB
double trEfficiencyEndCapB(int strawGasType) const
TRTDigSettings::m_jitterTimeOffset
double m_jitterTimeOffset
Event time not correlated with LHC clock.
Definition: TRTDigSettings.h:338
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TRTDigSettings::m_relativeLowThresholdFluctuation
double m_relativeLowThresholdFluctuation
Relative low threshold fluctuation.
Definition: TRTDigSettings.h:352
TRTDigSettings::electronicsAreAtFarEnd
bool electronicsAreAtFarEnd() const
Query whether electronics is assumed to be at far end of straw.
TRTDigSettings::m_lowThresholdECArgon
double m_lowThresholdECArgon
Low threshold discriminator setting for Argon mixture.
Definition: TRTDigSettings.h:267
TRTDigSettings::m_highThresholdECAwheelsArgon
double m_highThresholdECAwheelsArgon
High threshold discriminator setting Argon.
Definition: TRTDigSettings.h:279
TRTDigSettings::slowPeriodicNoisePulseDistance
double slowPeriodicNoisePulseDistance() const
Get slow periodic noise pulse distance (time)
TRTDigSettings::numberOfCrossingsBeforeMain
unsigned int numberOfCrossingsBeforeMain() const
Get number of simulated bunch crossings before main event (pile up)
TRTDigSettings::m_trEfficiencyEndCapA
double m_trEfficiencyEndCapA
Transition Radiation efficiency, end cap A.
Definition: TRTDigSettings.h:322
TRTDigSettings::m_highThresholdBarShortArgon
double m_highThresholdBarShortArgon
High threshold discriminator setting Argon.
Definition: TRTDigSettings.h:277
TRTDigSettings::m_crosstalkNoiseLevelOtherEnd
double m_crosstalkNoiseLevelOtherEnd
Average cross talk noise level - other end.
Definition: TRTDigSettings.h:350
TRTDigSettings::processOverrides
void processOverrides()
Overwrite default values by uses values.
Definition: TRTDigSettings.cxx:604
TRTDigSettings::m_ltT0shiftECBwheelsXe
int m_ltT0shiftECBwheelsXe
Definition: TRTDigSettings.h:301
TRTDigSettings::trEfficiencyBarrel
double trEfficiencyBarrel(int strawGasType) const
Get assumed Transition Radiation efficiency in barrel.
TRTDigSettings::m_noiseInUnhitStraws
bool m_noiseInUnhitStraws
Simulate noise in unhit straws.
Definition: TRTDigSettings.h:331
TRTDigSettings::doubleparameter::valueSetByUser
double valueSetByUser
Definition: TRTDigSettings.h:399
TRTDigSettings::m_fastElectronicsNoisePulseDistance
double m_fastElectronicsNoisePulseDistance
Fast electronics noise pulse distance (time)
Definition: TRTDigSettings.h:345
TRTDigSettings::DigSettingsFromCondDB
StatusCode DigSettingsFromCondDB(int m_dig_vers_from_condDB)
Definition: TRTDigSettings.cxx:220
TRTDigSettings::TrtRangeCutProperty
double TrtRangeCutProperty() const
TRTDigSettings.icc
TRTDigSettings::doubleparameter::unitname
std::string unitname
Definition: TRTDigSettings.h:395
InDetDD::TRT_DetectorManager
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Definition: TRT_DetectorManager.h:69
TRTDigSettings::m_noiseInSimhits
bool m_noiseInSimhits
Simulate noise in hit straws.
Definition: TRTDigSettings.h:332
TRTDigSettings::defineNewIntVariable
void defineNewIntVariable(const std::string &name, int *datamember, const std::string &description, int lowrange, int highrange)
Define new int variable.
Definition: TRTDigSettings.cxx:370
TRTDigSettings::m_cosmicFlag
unsigned int m_cosmicFlag
Data is cosmics.
Definition: TRTDigSettings.h:342
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
TRTDigSettings::storeSDO
unsigned int storeSDO() const
TRTDigSettings::timeInterval
double timeInterval() const
Get time interval covered by each digit.
TRTDigSettings::doubleparameter::okrange_high
double okrange_high
Definition: TRTDigSettings.h:398
TRTDigSettings::m_trEfficiencyEndCapAArgon
double m_trEfficiencyEndCapAArgon
Transition Radiation efficiency, end cap A, Argon.
Definition: TRTDigSettings.h:325
TRTDigSettings::defineNewUIntVariable
void defineNewUIntVariable(const std::string &name, unsigned int *datamember, const std::string &description, unsigned int lowrange, unsigned int highrange)
Define new unsigned int variable.
Definition: TRTDigSettings.cxx:343
TRTDigSettings::m_lowThresholdBar
double m_lowThresholdBar
Low threshold discriminator setting.
Definition: TRTDigSettings.h:263
TRTDigSettings::discriminatorSettlingTime
double discriminatorSettlingTime() const
Get discriminator settling time.
AthMessaging.h
TRTDigSettings::m_ltT0shiftBarShortXe
int m_ltT0shiftBarShortXe
Definition: TRTDigSettings.h:292
TRTDigSettings::m_attenuationLength
double m_attenuationLength
Definition: TRTDigSettings.h:357
TRTDigSettings::htT0shiftBarShort
int htT0shiftBarShort() const
T0 shift for HT.
TRTDigSettings::maxVertexDisplacement
double maxVertexDisplacement() const
Get max vertex displacement.
TRTDigSettings::m_doCrosstalk
bool m_doCrosstalk
Crosstalk noise.
Definition: TRTDigSettings.h:340
TRTDigSettings::doubleparameter::okrange_low
double okrange_low
Definition: TRTDigSettings.h:397
TRTDigSettings::print
void print(const std::string &front="") const
Printing of TRT digitization settings.
Definition: TRTDigSettings.cxx:186
TRTDigSettings::m_timeOffsetCalcVertexX
double m_timeOffsetCalcVertexX
x-coord.
Definition: TRTDigSettings.h:315
TRTDigSettings::m_ltT0shiftBarLongXe
int m_ltT0shiftBarLongXe
Definition: TRTDigSettings.h:295
TRTDigSettings::m_ltT0shiftECAwheelsKr
int m_ltT0shiftECAwheelsKr
Definition: TRTDigSettings.h:299
TRTDigSettings::defineVariables
void defineVariables()
Define settable variables.
Definition: TRTDigSettings.cxx:63
TRTDigSettings::initialize
void initialize(const InDetDD::TRT_DetectorManager *detmgr)
Initialize: fill defaults and overwrite by user values where appropriate.
Definition: TRTDigSettings.cxx:52
TRTDigSettings::m_intboolparMap
std::map< std::string, intboolparameter > m_intboolparMap
Map of settable parameters (int & bool)
Definition: TRTDigSettings.h:416
TRTDigSettings::highThresholdECBwheels
double highThresholdECBwheels(int strawGasType) const
TRTDigSettings::m_htT0shiftECAwheels
int m_htT0shiftECAwheels
Definition: TRTDigSettings.h:289
TRTDigSettings::m_smearingFactorArgon
double m_smearingFactorArgon
Cluster energy smearing factor for Argon mixture.
Definition: TRTDigSettings.h:250
TRTDigSettings::useAttenuation
bool useAttenuation() const
TRTDigSettings::m_distanceToTimeFactor
double m_distanceToTimeFactor
Fudge factor: time to distance.
Definition: TRTDigSettings.h:261
TRTDigSettings::m_isOverlay
bool m_isOverlay
Doing overlay.
Definition: TRTDigSettings.h:343
TRTDigSettings
Class containing parameters and settings used by TRT digitization.
Definition: TRTDigSettings.h:35
TRTDigSettings::outerRadiusOfWire
double outerRadiusOfWire() const
Get radius of signal wire.
TRTDigSettings::m_highThresholdECBwheelsKrypton
double m_highThresholdECBwheelsKrypton
High threshold discriminator setting Krypton.
Definition: TRTDigSettings.h:285
TRTDigSettings::timeOffsetCalcVertexY
double timeOffsetCalcVertexY() const
Get y value of point where particles are assumed to originate.
TRTDigSettings::signalPropagationSpeed
double signalPropagationSpeed() const
Get wire signal propagation speed.
TRTDigSettings::m_maxVertexDisplacement
double m_maxVertexDisplacement
Max.
Definition: TRTDigSettings.h:314
TRTDigSettings::distanceToTimeFactor
double distanceToTimeFactor() const
Get "distanceToTimeFactor" (fugde factor)
TRTDigSettings::numberOfBinsInEncodingBin
unsigned int numberOfBinsInEncodingBin() const
Get number of internal time bins corresponding to one low threshold bit.
TRTDigSettings::doCrosstalk
bool doCrosstalk() const
Switch on crosstalk noise based on Cosmic 08 measurements.
TRTDigSettings::m_lowThresholdEC
double m_lowThresholdEC
Low threshold discriminator setting.
Definition: TRTDigSettings.h:264
TRTDigSettings::m_ltT0shiftBarShortAr
int m_ltT0shiftBarShortAr
Definition: TRTDigSettings.h:294
TRTDigSettings::m_numberOfBinsInEncodingBin
unsigned int m_numberOfBinsInEncodingBin
No.
Definition: TRTDigSettings.h:255
TRTDigSettings::m_trEfficiencyBarrelKrypton
double m_trEfficiencyBarrelKrypton
Transition Radiation efficiency, barrel, Krypton.
Definition: TRTDigSettings.h:327
TRTDigSettings::m_digversion
unsigned int m_digversion
Definition: TRTDigSettings.h:241
TRTDigSettings::m_innerRadiusOfStraw
double m_innerRadiusOfStraw
Inner radius of straw.
Definition: TRTDigSettings.h:305
TRTDigSettings::m_ionisationPotentialArgon
double m_ionisationPotentialArgon
Mean ionisation potential for Argon mixture.
Definition: TRTDigSettings.h:247
TRTDigSettings::m_getT0FromData
bool m_getT0FromData
Definition: TRTDigSettings.h:243
TRTDigSettings::m_lengthOfDeadRegion
double m_lengthOfDeadRegion
Length of dead region at straw end.
Definition: TRTDigSettings.h:307
TRTDigSettings::doubleparameter
Settable parameter, double.
Definition: TRTDigSettings.h:392
TRTDigSettings::doubleparameter::directvaraddress
double * directvaraddress
Definition: TRTDigSettings.h:394
TRTDigSettings::slowPeriodicNoisePulseFraction
double slowPeriodicNoisePulseFraction() const
Get slow periodic noise pulse fraction.
TRTDigSettings::ionisationPotential
double ionisationPotential(int strawGasType) const
Get ionisation potential.
TRTDigSettings::m_ltT0shiftECAwheelsAr
int m_ltT0shiftECAwheelsAr
Definition: TRTDigSettings.h:300
TRTDigSettings::htT0shiftECBwheels
int htT0shiftECBwheels() const
TRTDigSettings::m_doCosmicTimingPit
bool m_doCosmicTimingPit
Cosmics pit setup.
Definition: TRTDigSettings.h:339
description
std::string description
glabal timer - how long have I taken so far?
Definition: hcg.cxx:88
TRTDigSettings::m_solenoidFieldStrength
double m_solenoidFieldStrength
Solenoid field strength.
Definition: TRTDigSettings.h:354