@@ -37,7 +37,7 @@ class LCToCPAssociatorEDProducerT : public edm::global::EDProducer<> {
3737 explicit LCToCPAssociatorEDProducerT (const edm::ParameterSet &);
3838 ~LCToCPAssociatorEDProducerT () override = default ;
3939
40- static void fillDescriptions (edm::ConfigurationDescriptions &descriptions);
40+ // static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
4141
4242 static void fillDescriptions (edm::ConfigurationDescriptions &descriptions);
4343
@@ -60,7 +60,8 @@ LCToCPAssociatorEDProducerT<CLUSTER>::LCToCPAssociatorEDProducerT(const edm::Par
6060
6161 CPCollectionToken_ = consumes<CaloParticleCollection>(pset.getParameter <edm::InputTag>(" label_cp" ));
6262 LCCollectionToken_ = consumes<CLUSTER>(label_lc);
63- associatorToken_ = consumes<ticl::LayerClusterToCaloParticleAssociatorT<CLUSTER>>(pset.getParameter <edm::InputTag>(" associator" ));
63+ associatorToken_ =
64+ consumes<ticl::LayerClusterToCaloParticleAssociatorT<CLUSTER>>(pset.getParameter <edm::InputTag>(" associator" ));
6465}
6566
6667//
@@ -95,7 +96,7 @@ void LCToCPAssociatorEDProducerT<CLUSTER>::produce(edm::StreamID,
9596 // Protection against missing cluster collection
9697 if (!LCCollection.isValid ()) {
9798 edm::LogWarning (" LCToCPAssociatorEDProducerT" )
98- << " CaloCluster collection with label " << label_lc << " is unavailable. Producing empty associations." ;
99+ << " CaloCluster collection with label " << label_lc << " is unavailable. Producing empty associations." ;
99100
100101 // Return empty collections
101102 auto emptyRecSimColl = std::make_unique<ticl::RecoToSimCollectionT<CLUSTER>>();
@@ -120,6 +121,7 @@ void LCToCPAssociatorEDProducerT<CLUSTER>::produce(edm::StreamID,
120121 iEvent.put (std::move (str));
121122}
122123
124+ template <typename CLUSTER>
123125void LCToCPAssociatorEDProducerT<CLUSTER>::fillDescriptions(edm::ConfigurationDescriptions &descriptions) {
124126 edm::ParameterSetDescription desc;
125127 desc.add <edm::InputTag>(" label_cp" , edm::InputTag (" mix" , " MergedCaloTruth" ));
0 commit comments