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

#ifndef HFEMClusterShapeAssociation_h
#define HFEMClusterShapeAssociation_h

#include <vector>
#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/Common/interface/RefVector.h"
#include "DataFormats/EgammaReco/interface/HFEMClusterShapeFwd.h"
#include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
#include "DataFormats/Common/interface/AssociationMap.h"

namespace reco {

  // association map
  typedef edm::AssociationMap<edm::OneToOne<SuperClusterCollection, HFEMClusterShapeCollection> >
      HFEMClusterShapeAssociationCollection;

  typedef HFEMClusterShapeAssociationCollection::value_type HFEMClusterShapeAssociation;

  /// reference to an object in a collection of SeedMap objects
  typedef edm::Ref<HFEMClusterShapeAssociationCollection> HFEMClusterShapeAssociationRef;

  /// reference to a collection of SeedMap objects
  typedef edm::RefProd<HFEMClusterShapeAssociationCollection> HFEMClusterShapeAssociationRefProd;

  /// vector of references to objects in the same colletion of SeedMap objects
  typedef edm::RefVector<HFEMClusterShapeAssociationCollection> HFEMClusterShapeAssociationRefVector;

}  // namespace reco

#endif