Skip to content

Commit b800f38

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

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ struct FT0DigParam : o2::conf::ConfigurableParamHelper<FT0DigParam> {
3131
float mAmpRecordUp = 15; // to [ns]
3232
float hitTimeOffsetA = 0; ///< hit time offset on the A side [ns]
3333
float hitTimeOffsetC = 0; ///< hit time offset on the C side [ns]
34-
int mtrg_central_trh = 1433.; // Tclu units
35-
int mtrg_semicentral_trh = 35.; // Tclu units
34+
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)
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 = 8; // trigger Nchannels paramter
73-
float InnerRingsChargeLevel = 0; // InnerRingsChargeLevel, Tclu
74-
float OuterRingsChargeLevel = 0; // TcluOuterRingsChargeLevel, Tclu
75-
float ChargeLevel = 10; // ChargeLevel, Tclu
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
7676

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

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +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-
isAOut = nSignalOuter > FV0DigParam::Instance().NchannelsLevel; // 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
313315
isTotalCharge = 0.125 * totalChargeAllRing > 2 * FV0DigParam::Instance().ChargeLevel;
314316

315317
Triggers triggers;

0 commit comments

Comments
 (0)