EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
CalorimeterClusterRecoCoGConfig.h
Go to the documentation of this file.
1// Subject to the terms in the LICENSE file found in the top-level directory.
2//
3
4#pragma once
5
6#include <string>
7#include <vector>
8#include <Evaluator/DD4hepUnits.h>
9
10namespace eicrecon {
11
13
14 std::string energyWeight;
15
16 double sampFrac = 1.;
17 double logWeightBase = 3.6;
18
19 //optional: have the log weight base depend on the energy
20 // logWeightBaseCoeffs[0]+logWeightBaseCoeffs[1]*l+logWeightBaseCoeffs[2]*l*l + ...
21 // where l = log(cl.getEnergy()/logWeightBase_Eref)
22 // If this is empty, use the logWeightBase parameter for backwards compatibility.
23 std::vector<double> logWeightBaseCoeffs{};
24 double logWeightBase_Eref = 50 * dd4hep::MeV;
25
26 // Constrain the cluster position eta to be within
27 // the eta of the contributing hits. This is useful to avoid edge effects
28 // for endcaps.
29 bool enableEtaBounds = false;
30};
31
32} // namespace eicrecon
-client
Definition CalorimeterClusterRecoCoG.cc:37
Definition CalorimeterClusterRecoCoGConfig.h:12
double logWeightBase
Definition CalorimeterClusterRecoCoGConfig.h:17
bool enableEtaBounds
Definition CalorimeterClusterRecoCoGConfig.h:29
double sampFrac
Definition CalorimeterClusterRecoCoGConfig.h:16
std::vector< double > logWeightBaseCoeffs
Definition CalorimeterClusterRecoCoGConfig.h:23
std::string energyWeight
Definition CalorimeterClusterRecoCoGConfig.h:14
double logWeightBase_Eref
Definition CalorimeterClusterRecoCoGConfig.h:24