Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-10-16 05:06:39

0001 #ifndef SimCalorimetry_HGCalAssociatorProducers_LCToTSAssociatorProducer_h
0002 #define SimCalorimetry_HGCalAssociatorProducers_LCToTSAssociatorProducer_h
0003 
0004 // Author: Felice Pantaleo, felice.pantaleo@cern.ch 06/2024
0005 
0006 // user include files
0007 #include "FWCore/Framework/interface/global/EDProducer.h"
0008 #include "FWCore/Framework/interface/Event.h"
0009 #include "FWCore/Framework/interface/MakerMacros.h"
0010 #include "FWCore/Framework/interface/ESHandle.h"
0011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0012 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0013 #include "FWCore/Utilities/interface/EDGetToken.h"
0014 #include "DataFormats/HGCalReco/interface/Trackster.h"
0015 #include "DataFormats/CaloRecHit/interface/CaloCluster.h"
0016 #include "SimDataFormats/Associations/interface/TICLAssociationMap.h"
0017 
0018 class LCToTSAssociatorProducer : public edm::global::EDProducer<> {
0019 public:
0020   explicit LCToTSAssociatorProducer(const edm::ParameterSet &);
0021   ~LCToTSAssociatorProducer() override;
0022 
0023   static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
0024 
0025 private:
0026   void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override;
0027 
0028   edm::EDGetTokenT<std::vector<reco::CaloCluster>> LCCollectionToken_;
0029   edm::EDGetTokenT<std::vector<ticl::Trackster>> tracksterCollectionToken_;
0030 };
0031 
0032 #endif