|
| HLTPixelClusterShapeFilter (const edm::ParameterSet &) |
|
| ~HLTPixelClusterShapeFilter () override |
|
| HLTFilter (const edm::ParameterSet &config) |
|
int | module (edm::Event const &) const |
|
const std::string * | moduleLabel () const |
|
int | path (edm::Event const &) const |
|
const std::string * | pathName (edm::Event const &) const |
|
std::pair< int, int > | pmid (edm::Event const &) const |
|
bool | saveTags () const |
|
| ~HLTFilter () override |
|
| EDFilter ()=default |
|
bool | hasAbilityToProduceInLumis () const final |
|
bool | hasAbilityToProduceInRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsStreamLuminosityBlocks () const final |
|
bool | wantsStreamRuns () const final |
|
| EDFilterBase () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDFilterBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDFilterBase | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
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) |
|
Implements HLTFilter.
Definition at line 99 of file HLTPixelClusterShapeFilter.cc.
References accept(), trigger::TriggerFilterObjectWithRefs::addCollectionTag(), clusterPars_, clusterTrunc_, edmNew::DetSetVector< T >::data(), MillePedeFileConverter_cfg::e, edm::EventSetup::get(), getContainedHits(), hfClusterShapes_cfi::hits, mps_fire::i, triggerObjects_cff::id, TrackerGeometry::idToDet(), inputTag_, inputToken_, createfilelist::int, PixelTopology::isItEdgePixelInX(), PixelTopology::isItEdgePixelInY(), edm::HandleBase::isValid(), maxZ_, minZ_, nhits, nhitsTrunc_, digitizers_cfi::pixel, PixelSubdetector::PixelBarrel, funct::pow(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), HLTPixelClusterShapeFilter::VertexHit::r, HLTFilter::saveTags(), PixelGeomDetUnit::specificTopology(), GeomDet::toGlobal(), HLTPixelClusterShapeFilter::VertexHit::w, hit::x, hit::y, HLTPixelClusterShapeFilter::VertexHit::z, hit::z, and zStep_.
122 std::vector<VertexHit> vhits;
123 for(
auto const &
hit : hits->
data()) {
133 std::vector<SiPixelCluster::Pixel> pixels(
hit.cluster()->pixels());
134 bool pixelOnEdge =
false;
135 for(std::vector<SiPixelCluster::Pixel>::const_iterator
pixel = pixels.begin();
137 int pixelX =
pixel->x;
138 int pixelY =
pixel->y;
149 hit.localPosition().
y(),
150 hit.localPosition().
z());
155 vh.w =
hit.cluster()->sizeY();
161 int nhits = 0, nhits_max = 0;
162 double chi = 0, chi_max = 1
e+9;
167 if(nhits > nhits_max) {
171 if(nhits >= nhits_max && chi < chi_max) {
178 int nbest=0, nminus=0, nplus=0;
183 double clusVtxQual=0.0;
184 if ((nminus+nplus)> 0)
185 clusVtxQual = (2.0*nbest)/(nminus+nplus);
187 clusVtxQual = 1000.0;
201 if (clusVtxQual < polyCut) accept =
false;
Point3DBase< Scalar, LocalTag > LocalPoint
virtual bool isItEdgePixelInX(int ixbin) const =0
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
virtual bool isItEdgePixelInY(int iybin) const =0
int getContainedHits(const std::vector< VertexHit > &hits, double z0, double &chi) const
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
edm::EDGetTokenT< SiPixelRecHitCollection > inputToken_
std::vector< double > clusterPars_
data_type const * data(size_t cell) const
T const * product() const
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
const TrackerGeomDet * idToDet(DetId) const override
T const * product() const
Power< A, B >::type pow(const A &a, const B &b)