Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-06-29 07:05:54

0001 // Subject to the terms in the LICENSE file found in the top-level directory.
0002 //
0003 
0004 #pragma once
0005 
0006 #include <string>
0007 #include <vector>
0008 #include <Evaluator/DD4hepUnits.h>
0009 
0010 namespace eicrecon {
0011 
0012     struct CalorimeterClusterRecoCoGConfig {
0013 
0014         std::string energyWeight;
0015 
0016         double sampFrac = 1.;
0017         double logWeightBase = 3.6;
0018 
0019         //optional:  have the log weight base depend on the energy
0020         //  logWeightBaseCoeffs[0]+logWeightBaseCoeffs[1]*l+logWeightBaseCoeffs[2]*l*l + ...
0021         // where l = log(cl.getEnergy()/logWeightBase_Eref)
0022         // If this is empty, use the logWeightBase parameter for backwards compatibility.
0023         std::vector<double> logWeightBaseCoeffs{};
0024         double logWeightBase_Eref = 50 * dd4hep::MeV;
0025 
0026         // Constrain the cluster position eta to be within
0027         // the eta of the contributing hits. This is useful to avoid edge effects
0028         // for endcaps.
0029         bool enableEtaBounds = false;
0030 
0031     };
0032 
0033 } // eicrecon