EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
MPGDTrackerDigiConfig.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2022 - 2025 Whitney Armstrong, Wouter Deconinck, Sylvester Joosten, Dmitry Romanov, Yann Bedfer
3
4#pragma once
5
6#include <DD4hep/DD4hepUnits.h>
7
8namespace eicrecon {
9
11 // sub-systems should overwrite their own (see "detectors/MPGD/MPGD.cc")
12
13 // Readout identifiers for tagging 1st and 2nd coord. of 2D-strip readout
14 std::string readout{""};
15
16 // - MPGD digitization parameters should come in pairs: one parameter per
17 // strip coordinate.
18 // - "MPGDTrackerDigi" is not only digitization but also simulation. Which
19 // latter also relies on parameters. This time, a priori, one and only one
20 // for the whole detector.
21 // => So that typically, one gets a set of 1(simulation) + 2(digitization) = 3
22 // parameters in all.
23 // E.g.: The parametrization of EDep -> amplitude of digit would be:
24 // Detector gain (1 simulation parameter)
25 // \times
26 // Charge Sharing \times Electronics amplification (2 digitization parameters, one per coordinate).
27 // - Applying the simulation parameter to both coordinates imprints a
28 // correlation between the two.
29 // - Here we simplify. With some justification at times: e.g. timing is
30 // dominated by primary electron => To first approximation, one and same
31 // "timeResolution" for both coordinates..
32
33 double gain = 10000;
34 std::array<double, 2> stripResolutions = {150 * dd4hep::um, 150 * dd4hep::um};
35 std::array<int, 2> stripNumbers = {1024, 1024}; // per module
36 // NB: be aware of thresholds in npsim! E.g. https://github.com/eic/npsim/pull/9/files
37 double threshold = 0 * dd4hep::keV;
38 double timeResolution = 8; // what units???
39};
40
41} // namespace eicrecon
-client
Definition CalorimeterClusterRecoCoG.cc:37
Definition MPGDTrackerDigiConfig.h:10
std::array< double, 2 > stripResolutions
Definition MPGDTrackerDigiConfig.h:34
double threshold
Definition MPGDTrackerDigiConfig.h:37
double timeResolution
Definition MPGDTrackerDigiConfig.h:38
std::array< int, 2 > stripNumbers
Definition MPGDTrackerDigiConfig.h:35
double gain
Definition MPGDTrackerDigiConfig.h:33
std::string readout
Definition MPGDTrackerDigiConfig.h:14