|
bool | hltFilter (edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override |
|
| HLTJetHbbFilter (const edm::ParameterSet &) |
|
| ~HLTJetHbbFilter () 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) |
|
|
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) |
|
template<typename T>
class HLTJetHbbFilter< T >
See header file for documentation
- Author
- Ann Wang
This class is an HLTFilter (-> EDFilter) implementing a two b-jet invariant mass requirement Based on HLTJetSortedVBFFilter
- Author
- Ann Wang, Javier Duarte
Definition at line 39 of file HLTJetHbbFilter.h.
Implements HLTFilter.
Definition at line 100 of file HLTJetHbbFilter.cc.
References accept(), trigger::TriggerFilterObjectWithRefs::addCollectionTag(), trigger::TriggerRefsCollections::addObject(), SoftLeptonByDistance_cfi::distance, HLTJetHbbFilter< T >::findCSV(), HLTJetHbbFilter< T >::inputJets_, fwrapper::jets, HLTJetHbbFilter< T >::m_theJetsToken, HLTJetHbbFilter< T >::m_theJetTagsToken, HLTJetHbbFilter< T >::maxetab_, HLTJetHbbFilter< T >::maxmbb_, HLTJetHbbFilter< T >::maxptbb_, HLTJetHbbFilter< T >::maxtag_, HLTJetHbbFilter< T >::minmbb_, HLTJetHbbFilter< T >::minptb1_, HLTJetHbbFilter< T >::minptb2_, HLTJetHbbFilter< T >::minptbb_, HLTJetHbbFilter< T >::mintag1_, HLTJetHbbFilter< T >::mintag2_, HLTFilter::moduleLabel(), eostools::move(), HLTFilter::saveTags(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::size(), mathSSE::sqrt(), trigger::TriggerMET, HLTJetHbbFilter< T >::triggerType_, and extraflags_cff::vtx.
105 using namespace reco;
108 typedef vector<T> TCollection;
125 if (jetTags->
size()<2)
return false;
128 double pxjet1 = -99.;
129 double pyjet1 = -99.;
130 double pzjet1 = -99.;
131 double ptjet1 = -99.;
132 double etajet1 = -99.;
135 double pxjet2 = -99.;
136 double pyjet2 = -99.;
137 double pzjet2 = -99.;
138 double ptjet2 = -99.;
139 double etajet2 = -99.;
142 for (
auto jet1=jets->begin(); (jet1!=jets->end()); ++jet1) {
143 tag1 =
findCSV(jet1, *jetTags);
145 for (
auto jet2=(jet1+1); (jet2!=jets->end()); ++jet2) {
146 tag2 =
findCSV(jet2, *jetTags);
148 ejet1 = jet1->energy();
153 etajet1 = jet1->eta();
155 ejet2 = jet2->energy();
160 etajet2 = jet2->eta();
167 double ptbb =
sqrt( (pxjet1 + pxjet2) * (pxjet1 + pxjet2) +
168 (pyjet1 + pyjet2) * (pyjet1 + pyjet2) );
172 double mbb =
sqrt( (ejet1 + ejet2) * (ejet1 + ejet2) -
173 (pxjet1 + pxjet2) * (pxjet1 + pxjet2) -
174 (pyjet1 + pyjet2) * (pyjet1 + pyjet2) -
175 (pzjet1 + pzjet2) * (pzjet1 + pzjet2) );
180 TRef ref1 = TRef(jets,
distance(jets->begin(),jet1));
181 TRef ref2 = TRef(jets,
distance(jets->begin(),jet2));
192 csvObject->push_back(csvTags);
static float findCSV(const typename std::vector< T >::const_iterator &jet, const reco::JetTagCollection &jetTags)
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
std::vector< reco::MET > METCollection
collection of MET objects
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
const std::string * moduleLabel() const
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
math::XYZTLorentzVector LorentzVector
Lorentz vector.
edm::EDGetTokenT< std::vector< T > > m_theJetsToken
edm::EDGetTokenT< reco::JetTagCollection > m_theJetTagsToken
math::XYZPoint Point
point in the space