Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-08 07:40:57

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2026 Derek Anderson
0003 
0004 #pragma once
0005 
0006 #include <DD4hep/DD4hepUnits.h>
0007 
0008 namespace eicrecon {
0009 
0010 struct TrackClusterSubtractorConfig {
0011 
0012   ///! fraction of track energy to subtract
0013   double energyFractionToSubtract = 1.0;
0014 
0015   ///! default PDG code to use for mass in track
0016   ///! energy calculation
0017   int32_t defaultPDG = 211;
0018 
0019   ///! index of surface to use for measuring momentum
0020   ///! as defined in the CalorimeterTrackProjections
0021   ///! collection; see the TrackPropagation algorithm
0022   ///! for implementation details
0023   uint8_t surfaceToUse = 1;
0024 
0025   ///! turn on/off checking against resolutions
0026   bool doNSigmaCut = false;
0027 
0028   ///! max no. of sigma to be consistent w/ zero
0029   uint32_t nSigmaMax = 1;
0030 
0031   ///! track momentum resolution to use
0032   double trackResolution = 1.0 * dd4hep::GeV;
0033 
0034   ///! calorimeter energy resolution to use
0035   double calorimeterResolution = 1.0 * dd4hep::GeV;
0036 
0037 }; // end TrackClusterSubtractorConfig
0038 
0039 } // namespace eicrecon