Classes | |
struct | ParamBlock |
Public Member Functions | |
template<typename T > | |
auto_ptr< edmNew::DetSetVector < T > > | cleanup (const edmNew::DetSetVector< T > &oldClusters, const std::vector< uint8_t > &isGood, reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices *oldRefs) |
HLTTrackClusterRemoverNew (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~HLTTrackClusterRemoverNew () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef edm::ContainerMask < edmNew::DetSetVector < SiPixelCluster > > | PixelMaskContainer |
typedef edm::ContainerMask < edmNew::DetSetVector < SiStripCluster > > | StripMaskContainer |
Private Member Functions | |
template<typename T > | |
std::auto_ptr < edmNew::DetSetVector< T > > | cleanup (const edmNew::DetSetVector< T > &oldClusters, const std::vector< uint8_t > &isGood, reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices *oldRefs) |
void | mergeOld (reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices &oldRefs) |
void | process (const TrackingRecHit *hit, float chi2, const TrackerGeometry *tg) |
void | process (const OmniClusterRef &cluRef, uint32_t subdet) |
void | readPSet (const edm::ParameterSet &iConfig, const std::string &name, int id1=-1, int id2=-1, int id3=-1, int id4=-1, int id5=-1, int id6=-1) |
Private Attributes | |
std::vector< bool > | collectedPixels_ |
std::vector< bool > | collectedRegStrips_ |
bool | doPixel_ |
bool | doPixelChargeCheck_ |
bool | doStrip_ |
bool | doStripChargeCheck_ |
bool | doTracks_ |
bool | makeProducts_ |
bool | mergeOld_ |
edm::EDGetTokenT < PixelMaskContainer > | oldPxlMaskToken_ |
edm::EDGetTokenT < StripMaskContainer > | oldStrMaskToken_ |
ParamBlock | pblocks_ [NumberOfParamBlocks] |
edm::EDGetTokenT < edmNew::DetSetVector < SiPixelCluster > > | pixelClusters_ |
std::vector< uint8_t > | pixels |
edm::ProductID | pixelSourceProdID |
edm::EDGetTokenT < edmNew::DetSetVector < SiStripCluster > > | stripClusters_ |
std::vector< uint8_t > | strips |
edm::ProductID | stripSourceProdID |
edm::EDGetTokenT< std::vector < Trajectory > > | trajectories_ |
Static Private Attributes | |
static const unsigned int | NumberOfParamBlocks = 6 |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 39 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 68 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 69 of file HLTTrackClusterRemoverNew.cc.
HLTTrackClusterRemoverNew::HLTTrackClusterRemoverNew | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 126 of file HLTTrackClusterRemoverNew.cc.
References doPixel_, doPixelChargeCheck_, doStrip_, doStripChargeCheck_, doTracks_, edm::hlt::Exception, edm::ParameterSet::exists(), lumiContext::fill, edm::ParameterSet::getParameter(), i, mergeOld_, NumberOfParamBlocks, oldPxlMaskToken_, oldStrMaskToken_, pblocks_, pixelClusters_, readPSet(), stripClusters_, and trajectories_.
HLTTrackClusterRemoverNew::~HLTTrackClusterRemoverNew | ( | ) |
Definition at line 192 of file HLTTrackClusterRemoverNew.cc.
|
private |
auto_ptr<edmNew::DetSetVector<T> > HLTTrackClusterRemoverNew::cleanup | ( | const edmNew::DetSetVector< T > & | oldClusters, |
const std::vector< uint8_t > & | isGood, | ||
reco::ClusterRemovalInfo::Indices & | refs, | ||
const reco::ClusterRemovalInfo::Indices * | oldRefs | ||
) |
Definition at line 207 of file HLTTrackClusterRemoverNew.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::end(), cmsHarvester::index, mergeOld(), convertSQLitetoXML_cfg::output, and edmNew::DetSetVector< T >::size().
|
private |
|
inlineprivate |
Definition at line 263 of file HLTTrackClusterRemoverNew.cc.
References assert(), SiPixelRecHit::cluster(), collectedPixels_, cond::rpcobgas::detid, doPixel_, doStrip_, edm::hlt::Exception, TrackingRecHit::geographicalId(), TrackerGeometry::geomDetSubDetector(), edm::Ref< C, T, F >::id(), GeomDetEnumerators::isTrackerPixel(), edm::Ref< C, T, F >::key(), HLTTrackClusterRemoverNew::ParamBlock::maxSize_, SiStripMatchedRecHit2D::monoClusterRef(), NumberOfParamBlocks, TrackerSingleRecHit::omniClusterRef(), ProjectedSiStripRecHit2D::originalHit(), pblocks_, pixelSourceProdID, DetId::rawId(), SiStripMatchedRecHit2D::stereoClusterRef(), and DetId::subdetId().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), produce(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
inlineprivate |
Definition at line 247 of file HLTTrackClusterRemoverNew.cc.
References assert(), collectedRegStrips_, OmniClusterRef::id(), OmniClusterRef::key(), and stripSourceProdID.
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 346 of file HLTTrackClusterRemoverNew.cc.
References HLT_25ns14e33_v1_cff::clusters, collectedPixels_, collectedRegStrips_, prof2calltree::count, cond::rpcobgas::detid, doPixel_, doStrip_, doStripChargeCheck_, edm::EventSetup::get(), edm::Event::getByToken(), i, edm::HandleBase::id(), TrackingRecHit::isValid(), LogDebug, Trajectory::measurements(), mergeOld_, oldPxlMaskToken_, oldStrMaskToken_, pblocks_, HLT_25ns14e33_v1_cff::pixelClusters, pixelClusters_, pixelSourceProdID, process(), edm::ESHandle< class >::product(), edm::Event::put(), HLT_25ns14e33_v1_cff::stripClusters, stripClusters_, stripSourceProdID, DetId::subdetId(), HLT_25ns14e33_v1_cff::trajectories, and trajectories_.
|
private |
Definition at line 108 of file HLTTrackClusterRemoverNew.cc.
References edm::ParameterSet::exists(), lumiContext::fill, and edm::ParameterSet::getParameter().
Referenced by HLTTrackClusterRemoverNew().
|
private |
Definition at line 98 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 97 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 65 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), process(), and produce().
|
private |
Definition at line 96 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew().
|
private |
Definition at line 65 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), process(), and produce().
|
private |
Definition at line 96 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 64 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew().
|
private |
Definition at line 95 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 66 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
staticprivate |
Definition at line 62 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and process().
|
private |
Definition at line 72 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 73 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 77 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), process(), and produce().
|
private |
Definition at line 70 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 81 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 82 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 71 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 81 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 82 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 74 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().