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 
15 
17 public:
18  explicit MeasurementTrackerEventProducer(const edm::ParameterSet& iConfig);
20 
21  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
22 
23 private:
24  void produce(edm::Event&, const edm::EventSetup&) override;
25 
26 protected:
27  void updatePixels(const edm::Event&,
28  PxMeasurementDetSet& thePxDets,
29  std::vector<bool>& pixelClustersToSkip,
30  const TrackerGeometry& trackerGeom,
31  const edm::EventSetup& iSetup) const;
32  void updateStrips(const edm::Event&, StMeasurementDetSet& theStDets, std::vector<bool>& stripClustersToSkip) const;
33  void updatePhase2OT(const edm::Event&, Phase2OTMeasurementDetSet& thePh2OTDets) const;
34  //FIXME:: going to be updated soon
35  void updateStacks(const edm::Event&, Phase2OTMeasurementDetSet& theStDets) const {};
36 
37  void getInactiveStrips(const edm::Event& event, std::vector<uint32_t>& rawInactiveDetIds) const;
38 
45 
46  std::vector<edm::EDGetTokenT<DetIdCollection>> theInactivePixelDetectorLabels;
47  std::vector<edm::EDGetTokenT<PixelFEDChannelCollection>> theBadPixelFEDChannelsLabels;
49  std::vector<edm::EDGetTokenT<DetIdCollection>> theInactiveStripDetectorLabels;
50 
53  bool isPhase2;
54 };
55 
56 #endif
MeasurementTrackerEventProducer::theStripClusterMask
edm::EDGetTokenT< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > theStripClusterMask
Definition: MeasurementTrackerEventProducer.h:44
ContainerMask.h
MeasurementTrackerEventProducer::thePh2OTClusterLabel
edm::EDGetTokenT< edmNew::DetSetVector< Phase2TrackerCluster1D > > thePh2OTClusterLabel
Definition: MeasurementTrackerEventProducer.h:42
MeasurementTrackerEventProducer::theInactivePixelDetectorLabels
std::vector< edm::EDGetTokenT< DetIdCollection > > theInactivePixelDetectorLabels
Definition: MeasurementTrackerEventProducer.h:46
edm::EDGetTokenT
Definition: EDGetToken.h:33
TkMeasurementDetSet.h
PixelFEDChannel.h
EDProducer.h
SiPixelFedCablingMap.h
Phase2OTMeasurementDetSet
Definition: TkMeasurementDetSet.h:433
MeasurementTrackerEventProducer::thePixelClusterMask
edm::EDGetTokenT< edm::ContainerMask< edmNew::DetSetVector< SiPixelCluster > > > thePixelClusterMask
Definition: MeasurementTrackerEventProducer.h:43
MeasurementTrackerEventProducer::theInactiveStripDetectorLabels
std::vector< edm::EDGetTokenT< DetIdCollection > > theInactiveStripDetectorLabels
Definition: MeasurementTrackerEventProducer.h:49
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:19
MeasurementTrackerEventProducer::measurementTrackerLabel_
std::string measurementTrackerLabel_
Definition: MeasurementTrackerEventProducer.h:39
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
edm::stream::EDProducer
Definition: EDProducer.h:38
MeasurementTrackerEventProducer::updateStacks
void updateStacks(const edm::Event &, Phase2OTMeasurementDetSet &theStDets) const
Definition: MeasurementTrackerEventProducer.h:35
MeasurementTrackerEventProducer::pixelCablingMapLabel_
std::string pixelCablingMapLabel_
Definition: MeasurementTrackerEventProducer.h:48
MeasurementTrackerEventProducer::isPhase2
bool isPhase2
Definition: MeasurementTrackerEventProducer.h:53
edm::EventSetup
Definition: EventSetup.h:57
MeasurementTrackerEventProducer
Definition: MeasurementTrackerEventProducer.h:16
MeasurementTrackerEventProducer::theBadPixelFEDChannelsLabels
std::vector< edm::EDGetTokenT< PixelFEDChannelCollection > > theBadPixelFEDChannelsLabels
Definition: MeasurementTrackerEventProducer.h:47
MeasurementTrackerEventProducer::thePixelClusterLabel
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > thePixelClusterLabel
Definition: MeasurementTrackerEventProducer.h:40
MeasurementTrackerEventProducer::theStripClusterLabel
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > theStripClusterLabel
Definition: MeasurementTrackerEventProducer.h:41
Frameworkfwd.h
ParameterSet.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
DetIdCollection.h
MeasurementTrackerEventProducer::switchOffPixelsIfEmpty_
bool switchOffPixelsIfEmpty_
Definition: MeasurementTrackerEventProducer.h:52
MeasurementTrackerEventProducer::selfUpdateSkipClusters_
bool selfUpdateSkipClusters_
Definition: MeasurementTrackerEventProducer.h:51
TrackerGeometry
Definition: TrackerGeometry.h:14