Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38

#ifndef EgammaReco_GsfElectronFwd_h
#define EgammaReco_GsfElectronFwd_h

#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/Common/interface/RefProd.h"
#include "DataFormats/Common/interface/RefVector.h"
#include <vector>

#include "DataFormats/EgammaCandidates/interface/GsfElectron.h"

namespace reco {

  class GsfElectron;

  /// collection of GsfElectron objects
  typedef std::vector<GsfElectron> GsfElectronCollection;
  //typedef GsfElectronCollection PixelMatchGsfElectronCollection ;

  /// reference to an object in a collection of GsfElectron objects
  typedef edm::Ref<GsfElectronCollection> GsfElectronRef;
  //typedef GsfElectronRef PixelMatchGsfElectronRef ;

  /// reference to a collection of GsfElectron objects
  typedef edm::RefProd<GsfElectronCollection> GsfElectronRefProd;
  //typedef GsfElectronRefProd PixelMatchGsfElectronRefProd ;

  /// vector of objects in the same collection of GsfElectron objects
  typedef edm::RefVector<GsfElectronCollection> GsfElectronRefVector;
  //typedef GsfElectronRefVector PixelMatchGsfElectronRefVector ;

  /// iterator over a vector of reference to GsfElectron objects
  typedef GsfElectronRefVector::iterator GsfElectron_iterator;
  //typedef GsfElectron_iterator PixelMatchGsfElectron_iterator ;

}  // namespace reco

#endif