Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:56

0001 #include "RecoEgamma/EgammaIsolationAlgos/interface/EgammaTowerIsolation.h"
0002 #include "DataFormats/RecoCandidate/interface/RecoCandidate.h"
0003 
0004 int main() {
0005   CaloTowerCollection towers;
0006 
0007   float cutEx[2]{1.f, 2.f}, cutIn[2]{0.5f, 0.5f};
0008   EgammaTowerIsolationNew<2> iso(cutEx, cutIn, towers);
0009 
0010   reco::SuperCluster cand;
0011   EgammaTowerIsolationNew<2>::Sum sum;
0012   iso.compute(
0013       true, sum, cand, static_cast<CaloTowerDetId const*>(nullptr), static_cast<CaloTowerDetId const*>(nullptr));
0014 
0015   return 0;
0016 }