forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFT0DigParam.h
More file actions
56 lines (48 loc) · 2.71 KB
/
FT0DigParam.h
File metadata and controls
56 lines (48 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
/// \file FT0DigParam.h
/// \brief Configurable digitization parameters
#ifndef ALICEO2_FT0_DIG_PARAM
#define ALICEO2_FT0_DIG_PARAM
#include "FT0Base/Geometry.h"
#include "CommonUtils/ConfigurableParamHelper.h"
namespace o2::ft0
{
struct FT0DigParam : o2::conf::ConfigurableParamHelper<FT0DigParam> {
float mBunchWidth = 25; // ns
float mChannelWidthInverse = 0.076804916; // channel width in ps inverse
float mMCPs = Geometry::Nchannels; // number of MCPs
float mCFD_trsh = 3.; // [mV]
float mAmp_trsh = 100; // [ph.e]
float mAmpRecordLow = -4; // integrate charge from
float mAmpRecordUp = 15; // to [ns]
float hitTimeOffsetA = 0; ///< hit time offset on the A side [ns]
float hitTimeOffsetC = 0; ///< hit time offset on the C side [ns]
int mtrg_central_trh = 40; // Tclu units (40 for pp and 1433 for PbPb in Run3)
int mtrg_semicentral_trh = 20; // Tclu units (20 for pp and 35 for PbPb in Run3)
float mMip_in_V = 7; // MIP to mV
float mPe_in_mip = 0.004; // invserse Np.e. in MIP 1./250.
float mCfdShift = 1.66; // ns
float mCFDShiftPos = 1.47; // shift positive part of CFD signal; distance between 0.3 of max amplitude to max
float mCFDdeadTime = 15.6; // ns
float mCharge2amp = 0.22;
float mNoiseVar = 0.1; // noise level
float mNoisePeriod = 1 / 0.9; // GHz low frequency noise period;
short mTime_trg_gate = 153; // #channels as in TCM as in Pilot beams ('OR gate' setting in TCM tab in ControlServer)
short mTime_trg_vertex_gate = 100; // #channels as in TCM as in Pilot beams ('OR gate' setting in TCM tab in ControlServer)
float mAmpThresholdForReco = 5; // only channels with amplitude higher will participate in calibration and collision time: 0.3 MIP
short mTimeThresholdForReco = 1000; // only channels with time below will participate in calibration and collision time
float mMV_2_Nchannels = 2.; // amplitude channel 7 mV ->14channels
float mMV_2_NchannelsInverse = 0.5; // inverse amplitude channel 7 mV ->14channels (nowhere used)
O2ParamDef(FT0DigParam, "FT0DigParam");
};
} // namespace o2::ft0
#endif