15 produces<reco::HFEMClusterShapeCollection>();
16 produces<reco::BasicClusterCollection>();
17 produces<reco::SuperClusterCollection>();
18 produces<reco::HFEMClusterShapeAssociationCollection>();
51 ShapeHandle=e.
put(retdata1);
52 SupHandle=e.
put(retdata2);
53 for (
unsigned int i=0;
i < ShapeHandle->size();
i++){
virtual void produce(edm::Event &e, edm::EventSetup const &iSetup)
T getParameter(std::string const &) const
void clusterize(const HFRecHitCollection &hf, const CaloGeometry &geom, reco::HFEMClusterShapeCollection &clusters, reco::SuperClusterCollection &SuperClusters)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< HFEMClusterShape > HFEMClusterShapeCollection
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
HFEMClusterProducer(edm::ParameterSet const &conf)
edm::AssociationMap< edm::OneToOne< SuperClusterCollection, HFEMClusterShapeCollection > > HFEMClusterShapeAssociationCollection
ESHandle< TrackerGeometry > geometry
void setup(double minTowerEnergy, double seedThreshold, double maximumSL, double m_maximumRenergy, bool usePMTflag, bool usePulseflag, bool forcePulseFlagMC, int correctionSet)