EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
EICROCDigitizationConfig.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2024 Souvik Paul
3
4#pragma once
5
6#include <edm4eic/unit_system.h>
7
8namespace eicrecon {
9
11 int adc_bit = 8;
12 int tdc_bit = 10;
13 // total number of TDC/ADC values
14 // Since digitizer starts at zero, max ADC value = adc_range - 1
15 // Similar for TDC
16 int adc_range = std::pow(2, adc_bit);
17 int tdc_range = std::pow(2, tdc_bit);
18
19 double t_thres = -1; // in ADC unit;
20 // period of the sensor clock. Time internal to sensor will all be digitized to integer multiple
21 // of tInterval
22 double tMax = 25 * edm4eic::unit::ns; // 25 ns is the period of 40MHz EIC clock
23};
24
25} // namespace eicrecon
-client
Definition CalorimeterClusterRecoCoG.cc:37
Definition EICROCDigitizationConfig.h:10
int tdc_bit
Definition EICROCDigitizationConfig.h:12
double t_thres
Definition EICROCDigitizationConfig.h:19
int adc_range
Definition EICROCDigitizationConfig.h:16
double tMax
Definition EICROCDigitizationConfig.h:22
int tdc_range
Definition EICROCDigitizationConfig.h:17
int adc_bit
Definition EICROCDigitizationConfig.h:11