File indexing completed on 2024-04-06 11:59:46
0001 #ifndef USERCODE_SHALLOWTOOLS_SHALLOWTOOLS
0002 #define USERCODE_SHALLOWTOOLS_SHALLOWTOOLS
0003
0004 #include "FWCore/Framework/interface/Frameworkfwd.h"
0005 #include "DataFormats/Common/interface/DetSetVectorNew.h"
0006 #include "DataFormats/TrackReco/interface/Track.h"
0007 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
0008 #include "DataFormats/Common/interface/DetSetVectorNew.h"
0009 #include "FWCore/Utilities/interface/EDGetToken.h"
0010
0011 class StripGeomDetUnit;
0012 class MagneticField;
0013 class SiStripLorentzAngle;
0014 class Event;
0015 namespace edm {
0016 class InputTag;
0017 }
0018
0019 namespace shallow {
0020
0021 typedef std::map<std::pair<uint32_t, uint16_t>, unsigned int> CLUSTERMAP;
0022
0023 CLUSTERMAP make_cluster_map(const edm::Event&, const edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster> >&);
0024 LocalVector drift(const StripGeomDetUnit*, const MagneticField&, const SiStripLorentzAngle&);
0025 int findTrackIndex(const edm::Handle<edm::View<reco::Track> >& h, const reco::Track* t);
0026
0027 }
0028
0029 #endif