1 #ifndef RecoTracker_MeasurementDet_OnDemandMeasurementTracker_H
2 #define RecoTracker_MeasurementDet_OnDemandMeasurementTracker_H
11 #include<unordered_map>
23 int stripQualityFlags,
24 int stripQualityDebugFlags,
27 int pixelQualityFlags,
28 int pixelQualityDebugFlags,
30 bool isRegional=
false);
43 std::auto_ptr< RefGetter > & )
const;
84 typedef std::vector<std::pair<SiStripRegionCabling::ElementIndex, std::vector<DetODContainer::const_iterator> > >
RegionalMap;
89 DetODContainer::iterator * alreadyFound=0)
const;
92 std::string
dumpCluster(
const std::vector<SiStripCluster> ::const_iterator &
begin,
const std::vector<SiStripCluster> ::const_iterator&
end)
const;
93 std::string
dumpRegion(std::pair<unsigned int,unsigned int> indexes,
95 bool stayUnpacked =
false)
const;
OnDemandMeasurementTracker(const edm::ParameterSet &conf, const PixelClusterParameterEstimator *pixelCPE, const StripClusterParameterEstimator *stripCPE, const SiStripRecHitMatcher *hitMatcher, const TrackerGeometry *trackerGeom, const GeometricSearchTracker *geometricSearchTracker, const SiStripQuality *stripQuality, int stripQualityFlags, int stripQualityDebugFlags, const SiPixelQuality *pixelQuality, const SiPixelFedCabling *pixelCabling, int pixelQualityFlags, int pixelQualityDebugFlags, const SiStripRegionCabling *stripRegionCabling, bool isRegional=false)
constructor
RegionalMap region_mapping
edm::Handle< edm::LazyGetter< SiStripCluster > > theLazyGetterH
bool PixelOnDemand_
internal flag to do pixel on demand (not configurable) false by default
std::unordered_map< unsigned int, DetODStatus > DetODContainer
edm::Handle< edm::RefGetter< SiStripCluster > > theRefGetterH
the handle is retrieved from the event to make reference to cluster in it
std::vector< std::pair< SiStripRegionCabling::ElementIndex, std::vector< DetODContainer::const_iterator > > > RegionalMap
mapping of elementIndex -> iterator to the DetODMap: to know what are the regions that needs to be de...
void update(const edm::Event &) const
MeasurementTracker overloaded function.
const SiStripRegionCabling * theStripRegionCabling
the cabling region tool to update a RefGetter
std::string dumpCluster(const std::vector< SiStripCluster >::const_iterator &begin, const std::vector< SiStripCluster >::const_iterator &end) const
some printouts, exclusively under LogDebug
edm::LazyGetter< SiStripCluster > LazyGetter
std::vector< uint32_t > theRawInactiveStripDetIds
edm::Handle< edm::ContainerMask< edm::LazyGetter< SiStripCluster > > > theStripClusterMask
edm::RefGetter< SiStripCluster > RefGetter
DetODContainer theDetODMap
mapping of detid -> MeasurementDet+flags+region_range
bool StayPacked_
internal flag to avoid unpacking things with LogDebug on
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
DetODStatus(MeasurementDet *m)
bool StripOnDemand_
internal flag to do strip on demand (not configurable) true by default
std::string category_
log category
a class that holds flags, region_range (in RefGetter) for a given MeasurementDet
virtual ~OnDemandMeasurementTracker()
destructor
void updateStrips(const edm::Event &event) const
void assign(const TkStripMeasurementDet *csmdet, DetODContainer::iterator *alreadyFound=0) const
assigne the cluster iterator to the TkStipMeasurementDet (const_cast in the way)
std::pair< unsigned int, unsigned int > region_range
std::string dumpRegion(std::pair< unsigned int, unsigned int > indexes, const RefGetter &theGetter, bool stayUnpacked=false) const
virtual const MeasurementDet * idToDet(const DetId &id) const
MeasurementDetSystem interface.
void define(const edm::Handle< edm::LazyGetter< SiStripCluster > > &, std::auto_ptr< RefGetter > &) const
OnDemandMeasurementTracker specific function to be called to define the region in the RefGetter accor...
const GeometricSearchTracker * geometricSearchTracker() const