Skip to content

Commit 26582a6

Browse files
committed
ITS: digiparams make print func virtual
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent 543e4d9 commit 26582a6

File tree

1 file changed

+10
-10
lines changed
  • Detectors/ITSMFT/common/simulation/include/ITSMFTSimulation

1 file changed

+10
-10
lines changed

Detectors/ITSMFT/common/simulation/include/ITSMFTSimulation/DigiParams.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,18 @@ class DigiParams
9696
const SignalShape& getSignalShape() const { return mSignalShape; }
9797
SignalShape& getSignalShape() { return (SignalShape&)mSignalShape; }
9898

99-
void print() const;
99+
virtual void print() const;
100100

101101
private:
102102
static constexpr double infTime = 1e99;
103-
bool mIsContinuous = false; ///< flag for continuous simulation
104-
float mNoisePerPixel = 1.e-8; ///< ALPIDE Noise per chip
105-
int mROFrameLengthInBC = 0; ///< ROF length in BC for continuos mode
106-
float mROFrameLength = 0; ///< length of RO frame in ns
107-
float mStrobeDelay = 0.; ///< strobe start (in ns) wrt ROF start
108-
float mStrobeLength = 0; ///< length of the strobe in ns (sig. over threshold checked in this window only)
109-
double mTimeOffset = -2 * infTime; ///< time offset (in seconds!) to calculate ROFrame from hit time
110-
int mROFrameBiasInBC = 0; ///< misalignment of the ROF start in BC
103+
bool mIsContinuous = false; ///< flag for continuous simulation
104+
float mNoisePerPixel = 1.e-8; ///< ALPIDE Noise per chip
105+
int mROFrameLengthInBC = 0; ///< ROF length in BC for continuos mode
106+
float mROFrameLength = 0; ///< length of RO frame in ns
107+
float mStrobeDelay = 0.; ///< strobe start (in ns) wrt ROF start
108+
float mStrobeLength = 0; ///< length of the strobe in ns (sig. over threshold checked in this window only)
109+
double mTimeOffset = -2 * infTime; ///< time offset (in seconds!) to calculate ROFrame from hit time
110+
int mROFrameBiasInBC = 0; ///< misalignment of the ROF start in BC
111111
int mChargeThreshold = 150; ///< charge threshold in Nelectrons
112112
int mMinChargeToAccount = 15; ///< minimum charge contribution to account
113113
int mNSimSteps = 7; ///< number of steps in response simulation
@@ -125,7 +125,7 @@ class DigiParams
125125
float mROFrameLengthInv = 0; ///< inverse length of RO frame in ns
126126
float mNSimStepsInv = 0; ///< its inverse
127127

128-
ClassDefNV(DigiParams, 2);
128+
ClassDef(DigiParams, 3);
129129
};
130130
} // namespace itsmft
131131
} // namespace o2

0 commit comments

Comments
 (0)