Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef EgammaReco_PhotonFwd_h
0002 #define EgammaReco_PhotonFwd_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 Photon;
0010 
0011   /// collectin of Photon objects
0012   typedef std::vector<Photon> PhotonCollection;
0013 
0014   /// reference to an object in a collection of Photon objects
0015   typedef edm::Ref<PhotonCollection> PhotonRef;
0016 
0017   /// reference to a collection of Photon objects
0018   typedef edm::RefProd<PhotonCollection> PhotonRefProd;
0019 
0020   /// vector of objects in the same collection of Photon objects
0021   typedef edm::RefVector<PhotonCollection> PhotonRefVector;
0022 
0023   /// iterator over a vector of reference to Photon objects
0024   typedef PhotonRefVector::iterator photon_iterator;
0025 }  // namespace reco
0026 
0027 #endif