Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-06-26 07:05:38

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 namespace eicrecon {
0010 
0011   struct CalorimeterHitRecoConfig {
0012 
0013     // digitization settings
0014     unsigned int             capADC{1};
0015     double                   dyRangeADC{1};
0016     unsigned int             pedMeanADC{0};
0017     double                   pedSigmaADC{0};
0018     double                   resolutionTDC{1};
0019     double                   corrMeanScale{1};
0020 
0021     // zero suppression
0022     double                   thresholdFactor{0};
0023     double                   thresholdValue{0};
0024 
0025     // sampling fraction
0026     std::string              sampFrac{"1.0"};
0027 
0028     // readout fields
0029     std::string              readout{""};
0030     std::string              layerField{""};
0031     std::string              sectorField{""};
0032 
0033     // name of detelment or fields to find the local detector (for global->local transform)
0034     // if nothing is provided, the lowest level DetElement (from cellID) will be used
0035     std::string              localDetElement{""};
0036     std::vector<std::string> localDetFields{};
0037     std::string              maskPos{""};
0038     std::vector<std::string> maskPosFields{};
0039   };
0040 
0041 } // eicrecon