Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ struct FV0DigParam : o2::conf::ConfigurableParamHelper<FV0DigParam> {
short mTimeThresholdForReco = 1000; // only channels with time below will participate in calibration and collision time
int NchannelsLevel = 8; // trigger Nchannels paramter
float InnerRingsChargeLevel = 0; // InnerRingsChargeLevel, Tclu
float OuterRingsChargeLevel = 0; //TcluOuterRingsChargeLevel, Tclu
float ChargeLevel = 10; //ChargeLevel, Tclu

float OuterRingsChargeLevel = 0; // TcluOuterRingsChargeLevel, Tclu
float ChargeLevel = 10; // ChargeLevel, Tclu

O2ParamDef(FV0DigParam, "FV0DigParam");
};
Expand Down
7 changes: 4 additions & 3 deletions Detectors/FIT/FV0/simulation/src/Digitizer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,10 @@ void Digitizer::storeBC(const BCCache& bc,
bool isA, isNchannels, isAIn, isAOut, isTotalCharge;
isA = nTrgFiredCells > 0;
isNchannels = nTrgFiredCells > FV0DigParam::Instance().NchannelsLevel;
isAIn = nSignalInner > FV0DigParam::Instance().;NchannelsLevel // ring 1,2 and 3
isAOut = nSignalOuter > FV0DigParam::Instance().NchannelsLevel; // ring 4 and 5
isTotalCharge = 0.125*totalChargeAllRing > 2*FV0DigParam::Instance().ChargeLevel;
isAIn = nSignalInner > FV0DigParam::Instance().;
NchannelsLevel // ring 1,2 and 3
isAOut = nSignalOuter > FV0DigParam::Instance().NchannelsLevel; // ring 4 and 5
isTotalCharge = 0.125 * totalChargeAllRing > 2 * FV0DigParam::Instance().ChargeLevel;

Triggers triggers;
const int unusedCharge = o2::fit::Triggers::DEFAULT_AMP;
Expand Down
Loading