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