|
| HLTPixelAsymmetryFilter (const edm::ParameterSet &) |
|
| ~HLTPixelAsymmetryFilter () 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) |
|
Definition at line 52 of file HLTPixelAsymmetryFilter.h.
Implements HLTFilter.
Definition at line 50 of file HLTPixelAsymmetryFilter.cc.
References accept(), trigger::TriggerFilterObjectWithRefs::addCollectionTag(), Reference_intrackfit_cff::barrel, begin, bmincharge_, clus_thresh_, DEFINE_FWK_MODULE, end, makeMuonMisalignmentScenario::endcap, PixelEndcapName::halfCylinder(), mps_fire::i, inputTag_, inputToken_, LogDebug, PixelEndcapName::mI, min_asym_, PixelEndcapName::mO, PixelEndcapName::pI, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::pO, position, HLTFilter::saveTags(), and DetId::subdetId().
63 unsigned int clusterSize = clusterColl->dataSize();
64 LogDebug(
"") <<
"Number of clusters accepted: " << clusterSize;
66 bool accept = (clusterSize >= 2);
68 if (!accept)
return accept;
70 double asym_pix_1 = -1;
71 double asym_pix_2 = -1;
73 int n_clus[3] = {0,0,0};
74 double e_clus[3] = {0.,0.,0.};
80 uint32_t detid = DSViter->id();
104 if (detpos<0)
continue;
111 e_clus[detpos]+=iter->charge();
116 for (
int i=0;
i<3;++
i)
119 e_clus[
i] /= n_clus[
i];
125 if (e_clus[0]+e_clus[2] != 0)
127 asym_pix_1 = e_clus[0]/(e_clus[0]+e_clus[2]);
128 asym_pix_2 = e_clus[2]/(e_clus[0]+e_clus[2]);
135 bool pkam_1 = (asym_pix_1 <= max_asym_ && asym_pix_1 >=
min_asym_);
136 bool pkam_2 = (asym_pix_2 <= max_asym_ && asym_pix_2 >=
min_asym_);
138 if (pkam_1 || pkam_2)
return accept;
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > inputToken_
data_type const * const_iterator
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
static int position[264][3]
HalfCylinder halfCylinder() const