@@ -132,32 +132,6 @@ class PFEGammaAlgo {
132
132
eetops_ = eetops;
133
133
}
134
134
135
- void setGBRForest (const GBRForest *LCorrForest,
136
- const GBRForest *GCorrForest,
137
- const GBRForest *ResForest
138
- )
139
- {
140
- ReaderLC_=LCorrForest;
141
- ReaderGC_=GCorrForest;
142
- ReaderRes_=ResForest;
143
- }
144
-
145
- void setGBRForest (
146
- const GBRForest *LCorrForestEB,
147
- const GBRForest *LCorrForestEE,
148
- const GBRForest *GCorrForestBarrel,
149
- const GBRForest *GCorrForestEndcapHr9,
150
- const GBRForest *GCorrForestEndcapLr9,
151
- const GBRForest *PFEcalResolution
152
- )
153
- {
154
- ReaderLCEB_=LCorrForestEB;
155
- ReaderLCEE_=LCorrForestEE;
156
- ReaderGCEB_=GCorrForestBarrel;
157
- ReaderGCEEhR9_=GCorrForestEndcapHr9;
158
- ReaderGCEElR9_=GCorrForestEndcapLr9;
159
- ReaderRes_=PFEcalResolution;
160
- }
161
135
void setnPU (int nVtx){
162
136
nVtx_=nVtx;
163
137
}
@@ -171,9 +145,7 @@ class PFEGammaAlgo {
171
145
172
146
// check candidate validity
173
147
bool isEGValidCandidate (const reco::PFBlockRef& blockRef,
174
- std::vector< bool >& active
175
- // std::auto_ptr< reco::PFCandidateCollection > &pfElectronCandidates_
176
- ){
148
+ std::vector< bool >& active){
177
149
RunPFEG (blockRef,active);
178
150
return (egCandidate_.size ()>0 );
179
151
};
@@ -271,8 +243,7 @@ class PFEGammaAlgo {
271
243
void linkRefinableObjectConvSecondaryKFsToSecondaryKFs (ProtoEGObject&);
272
244
void linkRefinableObjectSecondaryKFsToECAL (ProtoEGObject&);
273
245
// helper function for above
274
- const PFClusterElement*
275
- linkKFTrackToECAL (const PFKFFlaggedElement&, ProtoEGObject&);
246
+ void linkKFTrackToECAL (const PFKFFlaggedElement&, ProtoEGObject&);
276
247
277
248
// refining steps doing the ECAL -> track piece
278
249
// this is the factorization of the old PF photon algo stuff
@@ -417,22 +388,6 @@ class PFEGammaAlgo {
417
388
bool EvaluateSingleLegMVA (const reco::PFBlockRef& blockref,
418
389
const reco::Vertex& primaryvtx,
419
390
unsigned int track_index);
420
-
421
- double ClustersPhiRMS (const std::vector<reco::CaloCluster>& PFClusters,
422
- float PFPhoPhi) const ;
423
- float EvaluateLCorrMVA (const reco::PFClusterRef& clusterRef );
424
- float EvaluateGCorrMVA (const reco::PFCandidate&,
425
- const std::vector<reco::CaloCluster>& PFClusters) ;
426
- float EvaluateResMVA (const reco::PFCandidate& ,
427
- const std::vector<reco::CaloCluster>& PFClusters ) ;
428
-
429
- void EarlyConversion (
430
- // std::auto_ptr< reco::PFCandidateCollection >
431
- // &pfElectronCandidates_,
432
- const std::vector<reco::PFCandidate>&
433
- tempElectronCandidates,
434
- const reco::PFBlockElementSuperCluster* sc
435
- );
436
391
};
437
392
438
393
#endif
0 commit comments