Skip to content

Commit 4725b5e

Browse files
author
Szymon Pulawski
committed
Defould trigger settings set for pp. PbPb will be sent via parameters
1 parent b800f38 commit 4725b5e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Detectors/FIT/FT0/base/include/FT0Base/FT0DigParam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct FT0DigParam : o2::conf::ConfigurableParamHelper<FT0DigParam> {
3232
float hitTimeOffsetA = 0; ///< hit time offset on the A side [ns]
3333
float hitTimeOffsetC = 0; ///< hit time offset on the C side [ns]
3434
int mtrg_central_trh = 40; // Tclu units (40 for pp and 1433 for PbPb in Run3)
35-
int mtrg_semicentral_trh = 20; // Tclu units (20 for pp and 35 for PbPb in Run3)
35+
int mtrg_semicentral_trh = 20; // Tclu units (20 for pp and 35 for PbPb in Run3)
3636

3737
float mMip_in_V = 7; // MIP to mV
3838
float mPe_in_mip = 0.004; // invserse Np.e. in MIP 1./250.

Detectors/FIT/FV0/simulation/include/FV0Simulation/FV0DigParam.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ struct FV0DigParam : o2::conf::ConfigurableParamHelper<FV0DigParam> {
6969
uint8_t defaultChainQtc = 0x48; // only 2 flags are set by default in simulation: kIsCFDinADCgate and kIsEventInTVDC
7070
float mAmpThresholdForReco = 24; // only channels with amplitude higher will participate in calibration and collision time
7171
short mTimeThresholdForReco = 1000; // only channels with time below will participate in calibration and collision time
72-
int NchannelsLevel = 2; // trigger Nchannels paramter
73-
float InnerChargeLevel = 4; // InnerRingsChargeLevel, Tclu
74-
float OuterChargeLevel = 4; // OuterRingsChargeLevel, Tclu
75-
float ChargeLevel = 8; // ChargeLevel, Tclu
72+
int NchannelsLevel = 2; // trigger Nchannels
73+
float InnerChargeLevel = 4; // InnerRingsChargeLevel
74+
float OuterChargeLevel = 4; // OuterRingsChargeLevel
75+
float ChargeLevel = 8; // ChargeLevel
7676

7777
O2ParamDef(FV0DigParam, "FV0DigParam");
7878
};

Detectors/FIT/FV0/simulation/src/Digitizer.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,10 @@ void Digitizer::storeBC(const BCCache& bc,
308308
bool isA, isNchannels, isAIn, isAOut, isTotalCharge;
309309
isA = nTrgFiredCells > 0;
310310
isNchannels = nTrgFiredCells > FV0DigParam::Instance().NchannelsLevel;
311-
//isAIn = nSignalInner > FV0DigParam::Instance().NchannelsLevel; // ring 1,2 and 3
312-
isAIn = 0.125*totalChargeInnerRing > 2*FV0DigParam::Instance().InnerChargeLevel; // ring 1,2 and 3
313-
//isAOut = nSignalOuter > FV0DigParam::Instance().NchannelsLevel; // ring 4 and 5
314-
isAOut = 0.125*totalChargeOuterRing > 2*FV0DigParam::Instance().OuterChargeLevel; // ring 4 and 5
311+
// isAIn = nSignalInner > FV0DigParam::Instance().NchannelsLevel; // ring 1,2 and 3
312+
isAIn = 0.125 * totalChargeInnerRing > 2 * FV0DigParam::Instance().InnerChargeLevel; // ring 1,2 and 3
313+
// isAOut = nSignalOuter > FV0DigParam::Instance().NchannelsLevel; // ring 4 and 5
314+
isAOut = 0.125 * totalChargeOuterRing > 2 * FV0DigParam::Instance().OuterChargeLevel; // ring 4 and 5
315315
isTotalCharge = 0.125 * totalChargeAllRing > 2 * FV0DigParam::Instance().ChargeLevel;
316316

317317
Triggers triggers;

0 commit comments

Comments
 (0)