77 double threshSeedBarrel =
80 double threshPtBarrel =
82 double threshPtSeedBarrel =
85 double threshCleanBarrel =
87 std::vector<double> minS4S1CleanBarrel =
88 iConfig.
getParameter< std::vector<double> >(
"minS4S1_Clean_Barrel");
92 double threshSeedEndcap =
95 double threshPtEndcap =
97 double threshPtSeedEndcap =
100 double threshCleanEndcap =
102 std::vector<double> minS4S1CleanEndcap =
103 iConfig.
getParameter< std::vector<double> >(
"minS4S1_Clean_Endcap");
105 double threshDoubleSpikeBarrel =
106 iConfig.
getParameter<
double>(
"thresh_DoubleSpike_Barrel");
107 double minS6S2DoubleSpikeBarrel =
108 iConfig.
getParameter<
double>(
"minS6S2_DoubleSpike_Barrel");
109 double threshDoubleSpikeEndcap =
110 iConfig.
getParameter<
double>(
"thresh_DoubleSpike_Endcap");
111 double minS6S2DoubleSpikeEndcap =
112 iConfig.
getParameter<
double>(
"minS6S2_DoubleSpike_Endcap");
120 int posCalcNCrystal =
126 bool useCornerCells =
129 bool cleanRBXandHPDs =
160 std::string poscalctype = PositionCalcType__PFPositionCalc;
164 if( poscalctype == PositionCalcType__EGPositionCalc ) {
169 }
else if( poscalctype == PositionCalcType__EGPositionFormula) {
175 }
else if( poscalctype == PositionCalcType__PFPositionCalc) {
179 <<
"You have not chosen a valid position calculation type,"
180 <<
" please choose from \""
181 << PositionCalcType__EGPositionCalc <<
"\", \""
182 << PositionCalcType__EGPositionFormula <<
"\", or \""
183 << PositionCalcType__PFPositionCalc <<
"\"!";
187 double posCalcP1 = threshBarrel<threshEndcap ? threshBarrel:threshEndcap;
221 if( produces_eeps ) {
228 produces_eeps =
false;
230 produces<reco::PFCluster::EEtoPSAssociation>();
237 produces<reco::PFClusterCollection>();
238 produces<reco::PFRecHitCollection>(
"Cleaned");
void setThreshCleanBarrel(double thresh)
set barrel clean threshold
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void setThreshDoubleSpikeEndcap(double thresh)
set endcap thresholds for double spike cleaning
edm::InputTag inputTagPFRecHits_
void setShowerSigma(double sigma)
set shower sigma for
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
void setPositionCalcType(const PositionCalcType &t)
void setPosCalcP1(double p1)
set p1 for position calculation
std::shared_ptr< PFEnergyCalibration > pfEnergyCalibration_
static void setDepthCorParameters(int mode, double a, double b, double ap, double bp)
void setPosCalcNCrystal(int n)
set number of crystals for position calculation (-1 all,5, or 9)
void setThreshSeedBarrel(double thresh)
set barrel seed threshold
void setS6S2DoubleSpikeEndcap(double cut)
void setThreshBarrel(double thresh)
setters -------------------------------------------------——
void setUseCornerCells(bool usecornercells)
activate use of cells with a common corner to build topo-clusters
PFClusterAlgo clusterAlgo_
clustering algorithm
void setThreshPtSeedBarrel(double thresh)
void setThreshSeedEndcap(double thresh)
set endcap seed threshold
const CaloGeometryRecord * geom
void setNNeighbours(int n)
set number of neighbours for
edm::InputTag inputTagPFClustersPS_
void setS4S1CleanBarrel(const std::vector< double > &coeffs)
void setThreshPtSeedEndcap(double thresh)
void setThreshPtEndcap(double thresh)
void setThreshEndcap(double thresh)
set endcap threshold
void setThreshDoubleSpikeBarrel(double thresh)
set endcap thresholds for double spike cleaning
ParameterSet const & getParameterSet(std::string const &) const
void setThreshPtBarrel(double thresh)
bool applyCrackCorrections_
void setCleanRBXandHPDs(bool cleanRBXandHPDs)
Activate cleaning of HCAL RBX's and HPD's.
void setS6S2DoubleSpikeBarrel(double cut)
double threshPFClusterES_
void setS4S1CleanEndcap(const std::vector< double > &coeffs)
void setThreshCleanEndcap(double thresh)
set endcap clean threshold
void setPosCalcW0(double w0)
void setEGammaPosCalc(const edm::ParameterSet &conf)