Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:46

0001 #ifndef SHALLOW_TRACKCLUSTERS_PRODUCER
0002 #define SHALLOW_TRACKCLUSTERS_PRODUCER
0003 
0004 #include "FWCore/Framework/interface/stream/EDProducer.h"
0005 #include "FWCore/Framework/interface/Frameworkfwd.h"
0006 #include "FWCore/Utilities/interface/InputTag.h"
0007 #include "DataFormats/Common/interface/DetSetVectorNew.h"
0008 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
0009 #include "DataFormats/TrackReco/interface/Track.h"
0010 #include "TrackingTools/PatternTools/interface/TrajTrackAssociation.h"
0011 #include "MagneticField/Engine/interface/MagneticField.h"
0012 #include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
0013 #include "CondFormats/SiStripObjects/interface/SiStripLorentzAngle.h"
0014 #include "CondFormats/DataRecord/interface/SiStripLorentzAngleRcd.h"
0015 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
0016 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
0017 #include "CalibTracker/Records/interface/SiStripDependentRecords.h"
0018 
0019 class ShallowTrackClustersProducer : public edm::stream::EDProducer<> {
0020 public:
0021   explicit ShallowTrackClustersProducer(const edm::ParameterSet &);
0022 
0023 private:
0024   const edm::EDGetTokenT<edm::View<reco::Track> > tracks_token_;
0025   const edm::EDGetTokenT<TrajTrackAssociationCollection> association_token_;
0026   const edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster> > clusters_token_;
0027   const edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> geomToken_;
0028   const edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> magFieldToken_;
0029   const edm::ESGetToken<SiStripLorentzAngle, SiStripLorentzAngleDepRcd> laToken_;
0030   std::string Suffix;
0031   std::string Prefix;
0032 
0033   void produce(edm::Event &, const edm::EventSetup &) override;
0034 };
0035 #endif