|
| L1TJetsMatching (const edm::ParameterSet &) |
|
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
|
| ~L1TJetsMatching () override=default |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
EDProducer & | operator= (const EDProducer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
bool | wantsStreamLuminosityBlocks () const noexcept final |
|
bool | wantsStreamRuns () const noexcept final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDProducerBase () 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 |
|
std::vector< bool > const & | recordProvenanceList () 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) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~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 |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDProducerBase | ModuleType |
|
template<typename T > |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
template<Transition Tr = Transition::Event> |
auto | produces (std::string instanceName) noexcept |
| declare what type of product will make and with which optional label More...
|
|
template<Transition B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<BranchType B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces () |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<Transition Tr = Transition::Event> |
auto | produces () noexcept |
|
ProducesCollector | producesCollector () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
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) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
template<typename T>
class L1TJetsMatching< T >
RecoTauTag/HLTProducers/interface/L1TJetsMatching.h Description: Matching L1 to PF/Calo Jets. Used for HLT_VBF paths. Matches PF/Calo Jets to L1 jets from the dedicated seed Adds selection criteria to the leading/subleading jets as well as the maximum dijet mass Separates collections of PF/Calo jets into two categories
Definition at line 52 of file L1TJetsMatching.h.
template<typename T >
std::tuple< std::vector< T >, std::vector< T >, std::vector< T > > L1TJetsMatching< T >::categoriseVBFPlus2CentralJets |
( |
const std::vector< T > & |
pfMatchedJets, |
|
|
double |
pt1, |
|
|
double |
pt2, |
|
|
double |
pt3, |
|
|
double |
Mjj |
|
) |
| const |
|
private |
Definition at line 122 of file L1TJetsMatching.h.
References mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, dqmiolumiharvest::j, particlelevel_cff::Mjj, or, convertSQLitetoXML_cfg::output, DiDispStaMuonMonitor_cfi::pt, HLT_2024v14_cff::pt1, and HLT_2024v14_cff::pt2.
124 std::tuple<std::vector<T>, std::vector<T>, std::vector<T>>
output;
129 if (pfMatchedJets.size() > 1) {
130 for (
unsigned int i = 0;
i < pfMatchedJets.size() - 1;
i++) {
131 const T& myJet1 = (pfMatchedJets)[
i];
133 for (
unsigned int j =
i + 1;
j < pfMatchedJets.size();
j++) {
134 const T& myJet2 = (pfMatchedJets)[
j];
136 const double m2jj_test = (myJet1.p4() + myJet2.p4()).M2();
138 if (m2jj_test > m2jj) {
146 const T& myJet1 = (pfMatchedJets)[
i1];
147 const T& myJet2 = (pfMatchedJets)[
i2];
148 const double M2jj = (
Mjj >= 0. ?
Mjj *
Mjj : -1.);
150 std::vector<T> vec4jets;
152 std::vector<T> vec5jets;
154 std::vector<T> vec6jets;
156 if (pfMatchedJets.size() > 3) {
157 if ((m2jj > M2jj) && (myJet1.pt() >= pt3) && (myJet2.pt() >
pt2)) {
158 vec4jets.push_back(myJet1);
159 vec4jets.push_back(myJet2);
161 for (
unsigned int i = 0;
i < pfMatchedJets.size();
i++) {
162 if (vec4jets.size() > 3)
166 vec4jets.push_back(pfMatchedJets[
i]);
170 if ((m2jj > M2jj) && (myJet1.pt() <
pt1) && (myJet1.pt() < pt3) && (myJet1.pt() >
pt2) &&
171 (myJet2.pt() >
pt2)) {
173 std::vector<unsigned int> idx_jets;
174 idx_jets.reserve(pfMatchedJets.size() - 2);
176 for (
unsigned int i = 0;
i < pfMatchedJets.size();
i++) {
179 if (pfMatchedJets[
i].
pt() >
pt2) {
180 idx_jets.push_back(
i);
183 if (idx_jets.size() == 3) {
184 vec5jets.push_back(myJet1);
185 vec5jets.push_back(myJet2);
186 vec5jets.push_back(pfMatchedJets[idx_jets[0]]);
187 vec5jets.push_back(pfMatchedJets[idx_jets[1]]);
188 vec5jets.push_back(pfMatchedJets[idx_jets[2]]);
190 }
else if (idx_jets.size() > 3) {
191 vec6jets.push_back(myJet1);
192 vec6jets.push_back(myJet2);
193 vec6jets.push_back(pfMatchedJets[idx_jets[0]]);
194 vec6jets.push_back(pfMatchedJets[idx_jets[1]]);
195 vec6jets.push_back(pfMatchedJets[idx_jets[2]]);
196 vec6jets.push_back(pfMatchedJets[idx_jets[3]]);
201 output = std::make_tuple(vec4jets, vec5jets, vec6jets);
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or