Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:16

0001 #ifndef ElectronEPcombinator_H
0002 #define ElectronEPcombinator_H
0003 
0004 #include "EgammaAnalysis/ElectronTools/interface/SimpleElectron.h"
0005 #include <cstdio>
0006 #include <cmath>
0007 
0008 class ElectronEPcombinator {
0009 public:
0010   ElectronEPcombinator() {}
0011   void combine(SimpleElectron& electron);
0012   void setCombinationMode(int mode) { mode_ = mode; }
0013 
0014 private:
0015   SimpleElectron electron_;
0016   void computeEPcombination();
0017   double combinedMomentum_;
0018   double combinedMomentumError_;
0019   double scEnergy_;
0020   double scEnergyError_;
0021   double trackerMomentum_;
0022   double trackerMomentumError_;
0023   int elClass_;
0024   int mode_;
0025 };
0026 
0027 #endif