114 bool useConvBremPFRecTracks = iConfig.
getParameter<
bool>(
"useConvBremPFRecTracks");
120 produces<reco::PFBlockCollection>();
128 std::vector<double> DPtovPtCut
129 = iConfig.
getParameter<std::vector<double> >(
"pf_DPtoverPt_Cut");
130 if (DPtovPtCut.size()!=5)
132 edm::LogError(
"MisConfiguration")<<
" vector pf_DPtoverPt_Cut has to be of size 5";
136 std::vector<unsigned> NHitCut
137 = iConfig.
getParameter<std::vector<unsigned> >(
"pf_NHit_Cut");
138 if (NHitCut.size()!=5)
140 edm::LogError(
"MisConfiguration")<<
" vector pf_NHit_Cut has to be of size 5";
147 int nuclearInteractionsPurity
148 = iConfig.
getParameter<
unsigned>(
"nuclearInteractionsPurity");
151 std::vector<double> EGPhotonSelectionCuts ;
154 EGPhotonSelectionCuts = iConfig.
getParameter<std::vector<double> >(
"PhotonSelectionCuts");
158 if (nuclearInteractionsPurity > 3 || nuclearInteractionsPurity < 1) {
159 nuclearInteractionsPurity = 1;
160 edm::LogInfo(
"PFBlockProducer") <<
"NI purity not properly implemented. Set it to the strongest level " << nuclearInteractionsPurity << endl;
162 vector<string> securityLevel;
163 securityLevel.push_back(
"isNucl"); securityLevel.push_back(
"isNucl && isNuclLoose"); securityLevel.push_back(
"isNucl && isNuclLoose && isNuclKink");
164 edm::LogInfo(
"PFBlockProducer") <<
"NI interactions are corrected in PFlow for " << securityLevel[nuclearInteractionsPurity-1].c_str() << endl;
170 useConvBremPFRecTracks,
172 nuclearInteractionsPurity,
174 EGPhotonSelectionCuts,
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::InputTag inputTagPFNuclear_
edm::InputTag inputTagPFClustersECAL_
edm::InputTag inputTagPFConversions_
edm::InputTag inputTagPFClusterAssociationEBEE_
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::InputTag inputTagPFClustersHO_
edm::InputTag inputTagPFClustersPS_
edm::InputTag inputTagRecTracks_
bool useV0_
switch on/off V0
edm::InputTag inputTagPFClustersHFEM_
edm::InputTag inputTagPFClustersHCAL_
edm::InputTag inputTagSCBarrel_
edm::InputTag inputTagGsfRecTracks_
PFBlockAlgo pfBlockAlgo_
Particle flow block algorithm.
bool usePFatHLT_
Particle Flow at HLT ?
void setDebug(bool debug)
sets debug printout flag
edm::InputTag inputTagPFClustersHFHAD_
edm::InputTag inputTagRecMuons_
bool useEGPhotons_
use EG photons ?
bool superClusterMatchByRef_
bool useSuperClusters_
use SuperClusters ?
edm::InputTag inputTagConvBremGsfRecTracks_
bool useConvBremGsfTracks_
switch on/off Conversions Brem Recovery
edm::InputTag inputTagPFV0_
bool useKDTreeTrackEcalLinker_
bool useNuclear_
use NuclearInteractions ?
edm::InputTag inputTagEGPhotons_
void setUseOptimization(bool useKDTreeTrackEcalLinker)
void setParameters(std::vector< double > &DPtovPtCut, std::vector< unsigned > &NHitCut, bool useConvBremPFRecTracks, bool useIterTracking, int nuclearInteractionsPurity, bool useEGPhotons, std::vector< double > &photonSelectionCuts, bool useSuperClusters, bool superClusterMatchByRef)
edm::InputTag inputTagSCEndcap_
bool useConversions_
switch on/off Conversions