Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:18

0001 #ifndef EgammaReco_ElectronFwd_h
0002 #define EgammaReco_ElectronFwd_h
0003 #include <vector>
0004 #include "DataFormats/Common/interface/Ref.h"
0005 #include "DataFormats/Common/interface/RefProd.h"
0006 #include "DataFormats/Common/interface/RefVector.h"
0007 
0008 namespace reco {
0009   class Electron;
0010 
0011   /// collectin of Electron objects
0012   typedef std::vector<Electron> ElectronCollection;
0013 
0014   /// reference to an object in a collection of Electron objects
0015   typedef edm::Ref<ElectronCollection> ElectronRef;
0016 
0017   /// reference to a collection of Electron objects
0018   typedef edm::RefProd<ElectronCollection> ElectronRefProd;
0019 
0020   /// vector of objects in the same collection of Electron objects
0021   typedef edm::RefVector<ElectronCollection> ElectronRefVector;
0022 
0023   /// iterator over a vector of reference to Electron objects
0024   typedef ElectronRefVector::iterator electron_iterator;
0025 }  // namespace reco
0026 
0027 #endif