CMS 3D CMS Logo

MeasurementTrackerEventProducer.h
Go to the documentation of this file.
1 #ifndef MeasurementTrackerEventProducer_h
2 #define MeasurementTrackerEventProducer_h
3 // user include files
6 
8 
16 
18 public:
19  explicit MeasurementTrackerEventProducer(const edm::ParameterSet& iConfig);
21 
22  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
23 
24 private:
25  void produce(edm::Event&, const edm::EventSetup&) override;
26 
27 protected:
28  void updatePixels(const edm::Event&,
29  PxMeasurementDetSet& thePxDets,
30  std::vector<bool>& pixelClustersToSkip,
31  const TrackerGeometry& trackerGeom,
32  const edm::EventSetup& iSetup) const;
33  void updateStrips(const edm::Event&, StMeasurementDetSet& theStDets, std::vector<bool>& stripClustersToSkip) const;
34  void updatePhase2OT(const edm::Event&, Phase2OTMeasurementDetSet& thePh2OTDets) const;
35  //FIXME:: going to be updated soon
36  void updateStacks(const edm::Event&, Phase2OTMeasurementDetSet& theStDets) const {};
37 
38  void getInactiveStrips(const edm::Event& event, std::vector<uint32_t>& rawInactiveDetIds) const;
39 
48 
49  std::vector<edm::EDGetTokenT<DetIdCollection>> theInactivePixelDetectorLabels;
50  std::vector<edm::EDGetTokenT<PixelFEDChannelCollection>> theBadPixelFEDChannelsLabels;
52  std::vector<edm::EDGetTokenT<DetIdCollection>> theInactiveStripDetectorLabels;
53 
56  bool isPhase2_;
58 };
59 
60 #endif
MeasurementTrackerEventProducer::theStripClusterMask
edm::EDGetTokenT< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > theStripClusterMask
Definition: MeasurementTrackerEventProducer.h:47
ContainerMask.h
MeasurementTrackerEventProducer::thePh2OTClusterLabel
edm::EDGetTokenT< edmNew::DetSetVector< Phase2TrackerCluster1D > > thePh2OTClusterLabel
Definition: MeasurementTrackerEventProducer.h:43
MeasurementTrackerEventProducer::theInactivePixelDetectorLabels
std::vector< edm::EDGetTokenT< DetIdCollection > > theInactivePixelDetectorLabels
Definition: MeasurementTrackerEventProducer.h:49
MeasurementTrackerEventProducer::isPhase2_
bool isPhase2_
Definition: MeasurementTrackerEventProducer.h:56
edm::EDGetTokenT
Definition: EDGetToken.h:33
TkMeasurementDetSet.h
PixelFEDChannel.h
EDProducer.h
SiPixelFedCablingMap.h
MeasurementTrackerEventProducer::thePh2OTVectorHitsLabel
edm::EDGetTokenT< VectorHitCollection > thePh2OTVectorHitsLabel
Definition: MeasurementTrackerEventProducer.h:44
Phase2OTMeasurementDetSet
Definition: TkMeasurementDetSet.h:433
MeasurementTrackerEventProducer::thePixelClusterMask
edm::EDGetTokenT< edm::ContainerMask< edmNew::DetSetVector< SiPixelCluster > > > thePixelClusterMask
Definition: MeasurementTrackerEventProducer.h:46
MeasurementTrackerEventProducer::theInactiveStripDetectorLabels
std::vector< edm::EDGetTokenT< DetIdCollection > > theInactiveStripDetectorLabels
Definition: MeasurementTrackerEventProducer.h:52
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
dso_hidden
#define dso_hidden
Definition: Visibility.h:12
PxMeasurementDetSet
Definition: TkMeasurementDetSet.h:323
StMeasurementDetSet
Definition: TkMeasurementDetSet.h:138
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MeasurementTrackerEventProducer::~MeasurementTrackerEventProducer
~MeasurementTrackerEventProducer() override
Definition: MeasurementTrackerEventProducer.h:20
MeasurementTrackerEventProducer::measurementTrackerLabel_
std::string measurementTrackerLabel_
Definition: MeasurementTrackerEventProducer.h:40
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::stream::EDProducer
Definition: EDProducer.h:38
MeasurementTrackerEventProducer::updateStacks
void updateStacks(const edm::Event &, Phase2OTMeasurementDetSet &theStDets) const
Definition: MeasurementTrackerEventProducer.h:36
MeasurementTrackerEventProducer::pixelCablingMapLabel_
std::string pixelCablingMapLabel_
Definition: MeasurementTrackerEventProducer.h:51
edm::EventSetup
Definition: EventSetup.h:58
MeasurementTrackerEventProducer
Definition: MeasurementTrackerEventProducer.h:17
MeasurementTrackerEventProducer::theBadPixelFEDChannelsLabels
std::vector< edm::EDGetTokenT< PixelFEDChannelCollection > > theBadPixelFEDChannelsLabels
Definition: MeasurementTrackerEventProducer.h:50
MeasurementTrackerEventProducer::thePixelClusterLabel
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > thePixelClusterLabel
Definition: MeasurementTrackerEventProducer.h:41
MeasurementTrackerEventProducer::theStripClusterLabel
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > theStripClusterLabel
Definition: MeasurementTrackerEventProducer.h:42
Frameworkfwd.h
MeasurementTrackerEventProducer::thePh2OTVectorHitsRejLabel
edm::EDGetTokenT< VectorHitCollection > thePh2OTVectorHitsRejLabel
Definition: MeasurementTrackerEventProducer.h:45
ParameterSet.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
MeasurementTrackerEventProducer::useVectorHits_
bool useVectorHits_
Definition: MeasurementTrackerEventProducer.h:57
DetIdCollection.h
MeasurementTrackerEventProducer::switchOffPixelsIfEmpty_
bool switchOffPixelsIfEmpty_
Definition: MeasurementTrackerEventProducer.h:55
VectorHit.h
MeasurementTrackerEventProducer::selfUpdateSkipClusters_
bool selfUpdateSkipClusters_
Definition: MeasurementTrackerEventProducer.h:54
TrackerGeometry
Definition: TrackerGeometry.h:14