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
#ifndef DataFormats_ParticleFlowReco_PFSimParticleFwd_h
#define DataFormats_ParticleFlowReco_PFSimParticleFwd_h
#include <vector>
#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/Common/interface/RefVector.h"
#include "DataFormats/Common/interface/RefProd.h"

namespace reco {
  class PFSimParticle;

  /// collection of PFSimParticle objects
  typedef std::vector<PFSimParticle> PFSimParticleCollection;

  /// persistent reference to PFSimParticle objects
  typedef edm::Ref<PFSimParticleCollection> PFSimParticleRef;

  /// reference to PFSimParticle collection
  typedef edm::RefProd<PFSimParticleCollection> PFSimParticleRefProd;

  /// vector of references to PFSimParticle objects all in the same collection
  typedef edm::RefVector<PFSimParticleCollection> PFSimParticleRefVector;

  /// iterator over a vector of references to PFSimParticle objects
  typedef PFSimParticleRefVector::iterator pfSimParticle_iterator;
}  // namespace reco

#endif