Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-02 08:32:51

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2023 Wouter Deconinck
0003 
0004 #pragma once
0005 
0006 #include <string>
0007 #include <vector>
0008 
0009 #include <Evaluator/DD4hepUnits.h>
0010 #include <edm4eic/unit_system.h>
0011 
0012 namespace eicrecon {
0013 
0014 struct CalorimeterHitDigiConfig {
0015 
0016   std::vector<double> eRes;
0017   double tRes;
0018 
0019   // single hit energy deposition threshold
0020   double threshold{1.0 * dd4hep::keV};
0021 
0022   // readout settings
0023   std::string readoutType{"simple"};
0024   double lightYield{0. / edm4eic::unit::GeV};
0025   double photonDetectionEfficiency{0.0}; // (light collection efficiency) x (quantum efficiency)
0026   unsigned long long numEffectiveSipmPixels{0};
0027 
0028   // digitization settings
0029   unsigned int capADC{1};
0030   double capTime{1000}; // dynamic range in ns
0031   double dyRangeADC{1};
0032   unsigned int pedMeanADC{0};
0033   double pedSigmaADC{0};
0034   double resolutionTDC{1};
0035   std::string corrMeanScale{"1.0"};
0036 
0037   // signal sums
0038   std::string readout{""};
0039   std::vector<std::string> fields{};
0040 };
0041 
0042 } // namespace eicrecon