CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Static Private Attributes
FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter > Class Template Reference
Inheritance diagram for FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >:
FSQ::BaseHandler

Public Member Functions

void analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, const edm::TriggerResults &triggerResults, const edm::TriggerNames &triggerNames, float weight) override
 
void book (DQMStore::IBooker &booker) override
 
template<class T >
int count (const edm::Event &iEvent, InputTag &input, StringCutObjectSelector< T > &sel, float weight)
 
void fillSingleObjectPlots (const TInputCandidateType &cand, float weight)
 
std::vector< std::string > findPathAndFilter (const HLTConfigProvider &hltConfig)
 
void getAndStoreTokens (edm::ConsumesCollector &&iC) override
 
template<>
void getAndStoreTokens (edm::ConsumesCollector &&iC)
 
template<>
void getAndStoreTokens (edm::ConsumesCollector &&iC)
 
template<>
void getAndStoreTokens (edm::ConsumesCollector &&iC)
 
template<>
void getAndStoreTokens (edm::ConsumesCollector &&iC)
 
std::vector< TOutputCandidateType > getBestCombination (std::vector< TOutputCandidateType > &cands)
 
void getFilteredCands (TInputCandidateType *, std::vector< TOutputCandidateType > &cands, const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, float weight)
 
template<>
void getFilteredCands (reco::Candidate::LorentzVector *, std::vector< reco::Candidate::LorentzVector > &cands, const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, float weight)
 
template<>
void getFilteredCands (reco::Track *, std::vector< int > &cands, const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, float weight)
 
template<>
void getFilteredCands (reco::GenParticle *, std::vector< int > &cands, const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, float weight)
 
template<>
void getFilteredCands (reco::Track *, std::vector< int > &cands, const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, float weight)
 
template<>
void getFilteredCands (reco::PFJet *, std::vector< reco::PFJet > &cands, const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, float weight)
 
template<>
void getFilteredCands (reco::Candidate::LorentzVector *, std::vector< int > &cands, const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, float weight)
 
template<>
void getFilteredCands (trigger::TriggerObject *, std::vector< trigger::TriggerObject > &cands, const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, float weight)
 
 HandlerTemplate (const edm::ParameterSet &iConfig, triggerExpression::Data &eventCache)
 
 ~HandlerTemplate () override=default
 
- Public Member Functions inherited from FSQ::BaseHandler
 BaseHandler ()
 
 BaseHandler (const edm::ParameterSet &iConfig, triggerExpression::Data &eventCache)
 
virtual ~BaseHandler ()=default
 

Private Attributes

int m_combinedObjectDimension
 
std::vector< edm::ParameterSetm_combinedObjectDrawables
 
StringCutObjectSelector< std::vector< TOutputCandidateType > > m_combinedObjectSelection
 
StringObjectFunction< std::vector< TOutputCandidateType > > m_combinedObjectSortFunction
 
std::string m_dqmhistolabel
 
std::string m_filterPartialName
 
edm::InputTag m_input
 
bool m_isSetup
 
std::string m_pathPartialName
 
std::map< std::string, std::shared_ptr< StringObjectFunction< std::vector< TOutputCandidateType > > > > m_plottersCombinedObject
 
std::map< std::string, std::shared_ptr< StringObjectFunction< TInputCandidateType > > > m_plottersSingleObject
 
std::map< std::string, int > m_plotterType
 
std::vector< edm::ParameterSetm_singleObjectDrawables
 
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
 
std::map< std::string, edm::EDGetTokenm_tokens
 

Static Private Attributes

static const int CombinedObjectPlotter = 1
 
static const int SingleObjectPlotter = 0
 xxx More...
 

Additional Inherited Members

- Public Types inherited from FSQ::BaseHandler
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
- Public Attributes inherited from FSQ::BaseHandler
std::string m_dirname
 
triggerExpression::Datam_eventCache
 
std::unique_ptr< triggerExpression::Evaluatorm_expression
 
std::map< std::string, MonitorElement * > m_histos
 
edm::ParameterSet m_pset
 
std::set< std::string > m_usedPaths
 

Detailed Description

template<class TInputCandidateType, class TOutputCandidateType, SpecialFilters filter = None>
class FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >

Definition at line 104 of file FSQDiJetAve.cc.

Constructor & Destructor Documentation

◆ HandlerTemplate()

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::HandlerTemplate ( const edm::ParameterSet iConfig,
triggerExpression::Data eventCache 
)
inline

Definition at line 129 of file FSQDiJetAve.cc.

References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.

130  : BaseHandler(iConfig, eventCache),
131  m_singleObjectSelection(iConfig.getParameter<std::string>("singleObjectsPreselection")),
132  m_combinedObjectSelection(iConfig.getParameter<std::string>("combinedObjectSelection")),
133  m_combinedObjectSortFunction(iConfig.getParameter<std::string>("combinedObjectSortCriteria")) {
134  std::string type = iConfig.getParameter<std::string>("handlerType");
135  if (type != "FromHLT") {
136  m_input = iConfig.getParameter<edm::InputTag>("inputCol");
137  }
138 
139  m_dqmhistolabel = iConfig.getParameter<std::string>("dqmhistolabel");
141  iConfig.getParameter<std::string>("partialFilterName"); // std::string find is used to match filter
142  m_pathPartialName = iConfig.getParameter<std::string>("partialPathName");
143  m_combinedObjectDimension = iConfig.getParameter<int>("combinedObjectDimension");
144  m_combinedObjectDrawables = iConfig.getParameter<std::vector<edm::ParameterSet> >("combinedObjectDrawables");
145  m_singleObjectDrawables = iConfig.getParameter<std::vector<edm::ParameterSet> >("singleObjectDrawables");
146  m_isSetup = false;
147  }
std::vector< edm::ParameterSet > m_combinedObjectDrawables
Definition: FSQDiJetAve.cc:122
std::string m_filterPartialName
Definition: FSQDiJetAve.cc:108
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::vector< edm::ParameterSet > m_singleObjectDrawables
Definition: FSQDiJetAve.cc:123
StringObjectFunction< std::vector< TOutputCandidateType > > m_combinedObjectSortFunction
Definition: FSQDiJetAve.cc:114
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
std::string m_pathPartialName
Definition: FSQDiJetAve.cc:107
std::string m_dqmhistolabel
Definition: FSQDiJetAve.cc:106
StringCutObjectSelector< std::vector< TOutputCandidateType > > m_combinedObjectSelection
Definition: FSQDiJetAve.cc:113
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:112

◆ ~HandlerTemplate()

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::~HandlerTemplate ( )
overridedefault

Member Function Documentation

◆ analyze()

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
void FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTConfigProvider hltConfig,
const trigger::TriggerEvent trgEvent,
const edm::TriggerResults triggerResults,
const edm::TriggerNames triggerNames,
float  weight 
)
inlineoverridevirtual

Implements FSQ::BaseHandler.

Definition at line 294 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, newFWLiteAna::found, HltComparatorCreateWorkflow::hltConfig, mps_fire::i, iEvent, L1TEGammaOffline_cfi::triggerNames, and heppy_batch::val.

300  {
301  size_t found = 0;
302  for (size_t i = 0; i < triggerNames.size(); ++i) {
303  auto itUsedPaths = m_usedPaths.begin();
304  for (; itUsedPaths != m_usedPaths.end(); ++itUsedPaths) {
305  if (triggerNames.triggerName(i).find(*itUsedPaths) != std::string::npos) {
306  ++found;
307  break;
308  }
309  }
310 
311  if (found == m_usedPaths.size())
312  break;
313  }
314  if (found != m_usedPaths.size()) {
315  edm::LogInfo("FSQDiJetAve") << "One of requested paths not found, skipping event";
316  return;
317  }
319  m_expression->init(*m_eventCache);
320  }
321  if (not(*m_expression)(*m_eventCache))
322  return;
323 
324  /*
325  std::vector<std::string> pathAndFilter = findPathAndFilter(hltConfig);
326 
327  std::string pathFullName = pathAndFilter[0];
328  if (pathFullName == "") {
329  return;
330  }
331  unsigned indexNum = triggerNames.triggerIndex(pathFullName);
332  if(indexNum >= triggerNames.size()){
333  edm::LogError("FSQDiJetAve") << "Problem determining trigger index for " << pathFullName << " " << m_pathPartialName;
334  }
335  if (!triggerResults.accept(indexNum)) return;*/
336 
337  std::vector<TOutputCandidateType> cands;
338  getFilteredCands((TInputCandidateType*)nullptr, cands, iEvent, iSetup, hltConfig, trgEvent, weight);
339 
340  if (cands.empty())
341  return;
342 
343  std::vector<TOutputCandidateType> bestCombinationFromCands = getBestCombination(cands);
344  if (bestCombinationFromCands.empty())
345  return;
346 
347  // plot
348  std::map<std::string, MonitorElement*>::iterator it, itE;
349  it = m_histos.begin();
350  itE = m_histos.end();
351  for (; it != itE; ++it) {
352  if (m_plotterType[it->first] != CombinedObjectPlotter)
353  continue;
354  float val = (*m_plottersCombinedObject[it->first])(bestCombinationFromCands);
355  it->second->Fill(val, weight);
356  }
357  }
Definition: weight.py:1
static const int CombinedObjectPlotter
Definition: FSQDiJetAve.cc:120
std::map< std::string, MonitorElement * > m_histos
Definition: FSQDiJetAve.cc:93
std::vector< TOutputCandidateType > getBestCombination(std::vector< TOutputCandidateType > &cands)
Definition: FSQDiJetAve.cc:359
int iEvent
Definition: GenABIO.cc:224
std::map< std::string, int > m_plotterType
Definition: FSQDiJetAve.cc:121
std::set< std::string > m_usedPaths
Definition: FSQDiJetAve.cc:94
void getFilteredCands(TInputCandidateType *, std::vector< TOutputCandidateType > &cands, const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTConfigProvider &hltConfig, const trigger::TriggerEvent &trgEvent, float weight)
Definition: FSQDiJetAve.cc:228
Log< level::Info, false > LogInfo
std::unique_ptr< triggerExpression::Evaluator > m_expression
Definition: FSQDiJetAve.cc:90
triggerExpression::Data * m_eventCache
Definition: FSQDiJetAve.cc:91
std::map< std::string, std::shared_ptr< StringObjectFunction< std::vector< TOutputCandidateType > > > > m_plottersCombinedObject
Definition: FSQDiJetAve.cc:116

◆ book()

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
void FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::book ( DQMStore::IBooker booker)
inlineoverridevirtual

Implements FSQ::BaseHandler.

Definition at line 149 of file FSQDiJetAve.cc.

References trigObjTnPSource_cfi::bins, dqm::implementation::IBooker::book1D(), EcalMonitorTask_cff::func, HltBtagPostValidation_cff::histoName, mps_fire::i, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and DQMOfflineHeavyIons_cff::todo.

149  {
150  if (!m_isSetup) {
151  booker.setCurrentFolder(m_dirname);
152  m_isSetup = true;
153  std::vector<std::vector<edm::ParameterSet>*> todo(2, (std::vector<edm::ParameterSet>*)nullptr);
156  for (size_t ti = 0; ti < todo.size(); ++ti) {
157  for (size_t i = 0; i < todo[ti]->size(); ++i) {
158  std::string histoName = m_dqmhistolabel + "_" + todo[ti]->at(i).template getParameter<std::string>("name");
159  std::string expression = todo[ti]->at(i).template getParameter<std::string>("expression");
160  int bins = todo[ti]->at(i).template getParameter<int>("bins");
161  double rangeLow = todo[ti]->at(i).template getParameter<double>("min");
162  double rangeHigh = todo[ti]->at(i).template getParameter<double>("max");
163  m_histos[histoName] = booker.book1D(histoName, histoName, bins, rangeLow, rangeHigh);
164  m_plotterType[histoName] = ti;
165  if (ti == CombinedObjectPlotter) {
168  std::shared_ptr<StringObjectFunction<std::vector<TOutputCandidateType> > >(func);
169  } else {
170  auto* func = new StringObjectFunction<TInputCandidateType>(expression);
171  m_plottersSingleObject[histoName] = std::shared_ptr<StringObjectFunction<TInputCandidateType> >(func);
172  }
173  }
174  }
175  }
176  }
std::vector< edm::ParameterSet > m_combinedObjectDrawables
Definition: FSQDiJetAve.cc:122
std::vector< edm::ParameterSet > m_singleObjectDrawables
Definition: FSQDiJetAve.cc:123
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
static const int CombinedObjectPlotter
Definition: FSQDiJetAve.cc:120
static const int SingleObjectPlotter
xxx
Definition: FSQDiJetAve.cc:119
std::map< std::string, MonitorElement * > m_histos
Definition: FSQDiJetAve.cc:93
std::string m_dqmhistolabel
Definition: FSQDiJetAve.cc:106
std::map< std::string, int > m_plotterType
Definition: FSQDiJetAve.cc:121
std::map< std::string, std::shared_ptr< StringObjectFunction< TInputCandidateType > > > m_plottersSingleObject
Definition: FSQDiJetAve.cc:117
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
std::string m_dirname
Definition: FSQDiJetAve.cc:92
std::map< std::string, std::shared_ptr< StringObjectFunction< std::vector< TOutputCandidateType > > > > m_plottersCombinedObject
Definition: FSQDiJetAve.cc:116

◆ count()

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
template<class T >
int FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::count ( const edm::Event iEvent,
InputTag input,
StringCutObjectSelector< T > &  sel,
float  weight 
)
inline

Definition at line 188 of file FSQDiJetAve.cc.

References mps_fire::i, iEvent, input, edm::HandleBase::isValid(), singleTopDQM_cfi::preselection, runTheMatrix::ret, EgammaValidation_Wenu_cff::sel, and mps_merge::weight.

188  {
189  int ret = 0;
190  Handle<std::vector<T> > hIn;
191  iEvent.getByToken(m_tokens[input.encode()], hIn);
192  if (!hIn.isValid()) {
193  edm::LogError("FSQDiJetAve") << "product not found: " << input.encode();
194  return -1; // return nonsense value
195  }
196  for (size_t i = 0; i < hIn->size(); ++i) {
197  bool preselection = sel(hIn->at(i));
198  if (preselection) {
199  fillSingleObjectPlots(hIn->at(i), weight);
200  ret += 1;
201  }
202  }
203  return ret;
204  }
ret
prodAgent to be discontinued
Log< level::Error, false > LogError
static std::string const input
Definition: EdmProvDump.cc:50
int iEvent
Definition: GenABIO.cc:224
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:207
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126
bool isValid() const
Definition: HandleBase.h:70
preselection
PRESELECTION

◆ fillSingleObjectPlots()

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
void FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::fillSingleObjectPlots ( const TInputCandidateType &  cand,
float  weight 
)
inline

Definition at line 207 of file FSQDiJetAve.cc.

References heppy_batch::val.

207  {
208  std::map<std::string, MonitorElement*>::iterator it, itE;
209  it = m_histos.begin();
210  itE = m_histos.end();
211  for (; it != itE; ++it) {
212  if (m_plotterType[it->first] != SingleObjectPlotter)
213  continue;
214  float val = (*m_plottersSingleObject[it->first])(cand);
215  it->second->Fill(val, weight);
216  }
217  }
Definition: weight.py:1
static const int SingleObjectPlotter
xxx
Definition: FSQDiJetAve.cc:119
std::map< std::string, MonitorElement * > m_histos
Definition: FSQDiJetAve.cc:93
std::map< std::string, int > m_plotterType
Definition: FSQDiJetAve.cc:121
std::map< std::string, std::shared_ptr< StringObjectFunction< TInputCandidateType > > > m_plottersSingleObject
Definition: FSQDiJetAve.cc:117

◆ findPathAndFilter()

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::vector<std::string> FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::findPathAndFilter ( const HLTConfigProvider hltConfig)
inline

Definition at line 252 of file FSQDiJetAve.cc.

References HltComparatorCreateWorkflow::hltConfig, mps_fire::i, HerwigMaxPtPartonFilter_cfi::moduleLabel, runTheMatrix::ret, and AlCaHLTBitMon_QueryRunRegistry::string.

252  {
253  std::vector<std::string> ret(2, "");
254  std::string filterFullName = "";
255  std::string pathFullName = "";
256  std::vector<std::string> filtersForThisPath;
257  //int pathIndex = -1;
258  int numPathMatches = 0;
259  int numFilterMatches = 0;
260  for (size_t i = 0; i < hltConfig.size(); ++i) {
261  if (hltConfig.triggerName(i).find(m_pathPartialName) == std::string::npos)
262  continue;
263  pathFullName = hltConfig.triggerName(i);
264  //pathIndex = i;
265  ++numPathMatches;
266  std::vector<std::string> moduleLabels = hltConfig.moduleLabels(i);
267  for (auto& moduleLabel : moduleLabels) {
268  if ("EDFilter" == hltConfig.moduleEDMType(moduleLabel)) {
269  filtersForThisPath.push_back(moduleLabel);
270  if (moduleLabel.find(m_filterPartialName) != std::string::npos) {
271  filterFullName = moduleLabel;
272  ++numFilterMatches;
273  }
274  }
275  }
276  }
277 
278  // LogWarning or LogError?
279  if (numPathMatches != 1) {
280  edm::LogInfo("FSQDiJetAve") << "Problem: found " << numPathMatches << " paths matching " << m_pathPartialName
281  << std::endl;
282  return ret;
283  }
284  ret[0] = pathFullName;
285  if (numFilterMatches != 1) {
286  edm::LogError("FSQDiJetAve") << "Problem: found " << numFilterMatches << " filter matching "
287  << m_filterPartialName << " in path " << m_pathPartialName << std::endl;
288  return ret;
289  }
290  ret[1] = filterFullName;
291  return ret;
292  }
std::string m_filterPartialName
Definition: FSQDiJetAve.cc:108
ret
prodAgent to be discontinued
Log< level::Error, false > LogError
std::string m_pathPartialName
Definition: FSQDiJetAve.cc:107
Log< level::Info, false > LogInfo

◆ getAndStoreTokens() [1/5]

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
void FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
inlineoverridevirtual

Implements FSQ::BaseHandler.

Definition at line 177 of file FSQDiJetAve.cc.

References edm::InputTag::encode().

177  {
178  edm::EDGetTokenT<std::vector<TInputCandidateType> > tok = iC.consumes<std::vector<TInputCandidateType> >(m_input);
180  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126

◆ getAndStoreTokens() [2/5]

Implements FSQ::BaseHandler.

Definition at line 437 of file FSQDiJetAve.cc.

438  {
441  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126

◆ getAndStoreTokens() [3/5]

template<>
void FSQ::HandlerTemplate< reco::Track, int, BestVertexMatching >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
virtual

Implements FSQ::BaseHandler.

Definition at line 505 of file FSQDiJetAve.cc.

References edm::InputTag::encode().

505  {
506  edm::EDGetTokenT<std::vector<reco::Track> > tok = iC.consumes<std::vector<reco::Track> >(m_input);
508 
509  edm::InputTag lVerticesTag = m_pset.getParameter<edm::InputTag>("vtxCollection");
511  m_tokens[lVerticesTag.encode()] = edm::EDGetToken(tok2);
512  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::string encode() const
Definition: InputTag.cc:159
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:95

◆ getAndStoreTokens() [4/5]

template<>
void FSQ::HandlerTemplate< reco::PFJet, reco::PFJet, ApplyJEC >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
virtual

Implements FSQ::BaseHandler.

Definition at line 596 of file FSQDiJetAve.cc.

References edm::InputTag::encode().

596  {
597  edm::EDGetTokenT<std::vector<reco::PFJet> > tok = iC.consumes<std::vector<reco::PFJet> >(m_input);
599 
600  edm::InputTag jetCorTag = m_pset.getParameter<edm::InputTag>("PFJetCorLabel");
602  m_tokens[jetCorTag.encode()] = edm::EDGetToken(jetcortoken);
603  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:95

◆ getAndStoreTokens() [5/5]

template<>
void FSQ::HandlerTemplate< reco::Candidate::LorentzVector, int >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
virtual

Implements FSQ::BaseHandler.

Definition at line 645 of file FSQDiJetAve.cc.

645  {
648  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126

◆ getBestCombination()

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::vector<TOutputCandidateType> FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::getBestCombination ( std::vector< TOutputCandidateType > &  cands)
inline

Definition at line 359 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, HLT_2023v12_cff::distance, mps_fire::i, jetUpdater_cfi::sort, and tier0::unique().

359  {
360  int columnSize = cands.size();
361  std::vector<int> currentCombination(m_combinedObjectDimension, 0);
362  std::vector<int> bestCombination(m_combinedObjectDimension, -1);
363 
364  int maxCombinations = 1;
365  int cnt = 0;
366  while (cnt < m_combinedObjectDimension) {
367  cnt += 1;
368  maxCombinations *= columnSize;
369  }
370 
371  cnt = 0;
372  float bestCombinedCandVal = -1;
373  while (cnt < maxCombinations) {
374  cnt += 1;
375 
376  // 1. Check if current combination contains duplicates
377  std::vector<int> currentCombinationCopy(currentCombination);
378  std::vector<int>::iterator it;
379  std::sort(currentCombinationCopy.begin(), currentCombinationCopy.end());
380  it = std::unique(currentCombinationCopy.begin(), currentCombinationCopy.end());
381  currentCombinationCopy.resize(std::distance(currentCombinationCopy.begin(), it));
382  bool duplicatesPresent = currentCombination.size() != currentCombinationCopy.size();
383  // 2. If no duplicates found -
384  // - check if current combination passes the cut
385  // - rank current combination
386  if (!duplicatesPresent) { // no duplicates, we can consider this combined object
387  std::vector<TOutputCandidateType> currentCombinationFromCands;
388  currentCombinationFromCands.reserve(m_combinedObjectDimension);
389  for (int i = 0; i < m_combinedObjectDimension; ++i) {
390  currentCombinationFromCands.push_back(cands.at(currentCombination.at(i)));
391  }
392  bool isOK = m_combinedObjectSelection(currentCombinationFromCands);
393  if (isOK) {
394  float curVal = m_combinedObjectSortFunction(currentCombinationFromCands);
395  // FIXME
396  if (curVal < 0) {
397  edm::LogError("FSQDiJetAve")
398  << "Problem: ranking function returned negative value: " << curVal << std::endl;
399  } else if (curVal > bestCombinedCandVal) {
400  //std::cout << curVal << " " << bestCombinedCandVal << std::endl;
401  bestCombinedCandVal = curVal;
402  bestCombination = currentCombination;
403  }
404  }
405  }
406  // 3. Prepare next combination to test
407  // note to future self: less error prone method with modulo
408  currentCombination.at(m_combinedObjectDimension - 1) += 1; // increase last number
409  int carry = 0;
410  for (int i = m_combinedObjectDimension - 1; i >= 0;
411  --i) { // iterate over all numbers, check if we are out of range
412  currentCombination.at(i) += carry;
413  carry = 0;
414  if (currentCombination.at(i) >= columnSize) {
415  carry = 1;
416  currentCombination.at(i) = 0;
417  }
418  }
419  } // combinations loop ends
420 
421  std::vector<TOutputCandidateType> bestCombinationFromCands;
422  if (!bestCombination.empty() && bestCombination.at(0) >= 0) {
423  for (int i = 0; i < m_combinedObjectDimension; ++i) {
424  bestCombinationFromCands.push_back(cands.at(bestCombination.at(i)));
425  }
426  }
427  return bestCombinationFromCands;
428  }
StringObjectFunction< std::vector< TOutputCandidateType > > m_combinedObjectSortFunction
Definition: FSQDiJetAve.cc:114
Log< level::Error, false > LogError
StringCutObjectSelector< std::vector< TOutputCandidateType > > m_combinedObjectSelection
Definition: FSQDiJetAve.cc:113
def unique(seq, keepstr=True)
Definition: tier0.py:24

◆ getFilteredCands() [1/8]

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
void FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::getFilteredCands ( TInputCandidateType *  ,
std::vector< TOutputCandidateType > &  cands,
const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTConfigProvider hltConfig,
const trigger::TriggerEvent trgEvent,
float  weight 
)
inline

Definition at line 228 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, edm::InputTag::encode(), mps_fire::i, iEvent, edm::HandleBase::isValid(), singleTopDQM_cfi::preselection, and mps_merge::weight.

234  {
236  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
237 
238  if (!hIn.isValid()) {
239  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
240  return;
241  }
242 
243  for (size_t i = 0; i < hIn->size(); ++i) {
244  bool preselection = m_singleObjectSelection(hIn->at(i));
245  if (preselection) {
246  fillSingleObjectPlots(hIn->at(i), weight);
247  cands.push_back(hIn->at(i));
248  }
249  }
250  }
std::string encode() const
Definition: InputTag.cc:159
Log< level::Error, false > LogError
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
int iEvent
Definition: GenABIO.cc:224
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:207
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:112
bool isValid() const
Definition: HandleBase.h:70
preselection
PRESELECTION

◆ getFilteredCands() [2/8]

template<>
void FSQ::HandlerTemplate< reco::Candidate::LorentzVector, reco::Candidate::LorentzVector >::getFilteredCands ( reco::Candidate::LorentzVector ,
std::vector< reco::Candidate::LorentzVector > &  cands,
const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTConfigProvider hltConfig,
const trigger::TriggerEvent trgEvent,
float  weight 
)

Definition at line 443 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, mps_fire::i, iEvent, edm::HandleBase::isValid(), singleTopDQM_cfi::preselection, and mps_merge::weight.

450  {
452  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
453  if (!hIn.isValid()) {
454  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
455  return;
456  }
457  for (auto const& i : *hIn) {
459  if (preselection) {
461  cands.push_back(i.p4());
462  }
463  }
464  }
std::string encode() const
Definition: InputTag.cc:159
Log< level::Error, false > LogError
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
int iEvent
Definition: GenABIO.cc:224
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:207
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:112
bool isValid() const
Definition: HandleBase.h:70
preselection
PRESELECTION

◆ getFilteredCands() [3/8]

template<>
void FSQ::HandlerTemplate< reco::Track, int >::getFilteredCands ( reco::Track ,
std::vector< int > &  cands,
const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTConfigProvider hltConfig,
const trigger::TriggerEvent trgEvent,
float  weight 
)

Definition at line 473 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, and iEvent.

480  {
481  cands.clear();
482  cands.push_back(count<reco::Track>(iEvent, m_input, m_singleObjectSelection, weight));
483  }
Definition: weight.py:1
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
int iEvent
Definition: GenABIO.cc:224
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:112

◆ getFilteredCands() [4/8]

template<>
void FSQ::HandlerTemplate< reco::GenParticle, int >::getFilteredCands ( reco::GenParticle ,
std::vector< int > &  cands,
const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTConfigProvider hltConfig,
const trigger::TriggerEvent trgEvent,
float  weight 
)

Definition at line 485 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, and iEvent.

492  {
493  cands.clear();
494  cands.push_back(count<reco::GenParticle>(iEvent, m_input, m_singleObjectSelection, weight));
495  }
Definition: weight.py:1
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
int iEvent
Definition: GenABIO.cc:224
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:112

◆ getFilteredCands() [5/8]

template<>
void FSQ::HandlerTemplate< reco::Track, int, BestVertexMatching >::getFilteredCands ( reco::Track ,
std::vector< int > &  cands,
const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTConfigProvider hltConfig,
const trigger::TriggerEvent trgEvent,
float  weight 
)

Definition at line 515 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, edm::InputTag::encode(), mps_fire::i, iEvent, edm::HandleBase::isValid(), bphysicsOniaDQM_cfi::vertex, and AlignmentTracksFromVertexSelector_cfi::vertices.

522  {
523  // this is not elegant, but should be thread safe
524  static const edm::InputTag lVerticesTag = m_pset.getParameter<edm::InputTag>("vtxCollection");
525  static const int lMinNDOF = m_pset.getParameter<int>("minNDOF"); //7
526  static const double lMaxZ = m_pset.getParameter<double>("maxZ"); // 15
527  static const double lMaxDZ = m_pset.getParameter<double>("maxDZ"); // 0.12
528  static const double lMaxDZ2dzsigma = m_pset.getParameter<double>("maxDZ2dzsigma"); // 3
529  static const double lMaxDXY = m_pset.getParameter<double>("maxDXY"); // 0.12
530  static const double lMaxDXY2dxysigma = m_pset.getParameter<double>("maxDXY2dxysigma"); // 3
531 
532  cands.clear();
533  cands.push_back(0);
534 
536  iEvent.getByToken(m_tokens[lVerticesTag.encode()], vertices);
537 
538  math::XYZPoint vtxPoint(0.0, 0.0, 0.0);
539  double vzErr = 0.0, vxErr = 0.0, vyErr = 0.0;
540 
541  // take first vertex passing the criteria
542  bool vtxfound = false;
543  for (const auto& vertex : *vertices) {
544  if (vertex.ndof() < lMinNDOF)
545  continue;
546  if (fabs(vertex.z()) > lMaxZ)
547  continue;
548 
549  vtxPoint = vertex.position();
550  vzErr = vertex.zError();
551  vxErr = vertex.xError();
552  vyErr = vertex.yError();
553  vtxfound = true;
554  break;
555  }
556  if (!vtxfound)
557  return;
558 
560  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
561  if (!hIn.isValid()) {
562  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
563  return;
564  }
565 
566  for (auto const& i : *hIn) {
568  continue;
569 
570  double absdz = fabs(i.dz(vtxPoint));
571  if (absdz > lMaxDZ)
572  continue; // TODO...
573 
574  // double absdxy = fabs(-1. * i.dxy(vtxPoint));
575  double absdxy = fabs(i.dxy(vtxPoint));
576  if (absdxy > lMaxDXY)
577  continue;
578 
579  double dzsigma2 = i.dzError() * i.dzError() + vzErr * vzErr;
580  if (absdz * absdz > lMaxDZ2dzsigma * lMaxDZ2dzsigma * dzsigma2)
581  continue;
582 
583  double dxysigma2 = i.dxyError() * i.dxyError() + vxErr * vyErr;
584  if (absdxy * absdxy > lMaxDXY2dxysigma * lMaxDXY2dxysigma * dxysigma2)
585  continue;
586 
587  cands.at(0) += 1;
588  } //loop over tracks
589  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::string encode() const
Definition: InputTag.cc:159
Log< level::Error, false > LogError
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
int iEvent
Definition: GenABIO.cc:224
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:112
bool isValid() const
Definition: HandleBase.h:70
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:95

◆ getFilteredCands() [6/8]

template<>
void FSQ::HandlerTemplate< reco::PFJet, reco::PFJet, ApplyJEC >::getFilteredCands ( reco::PFJet ,
std::vector< reco::PFJet > &  cands,
const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTConfigProvider hltConfig,
const trigger::TriggerEvent trgEvent,
float  weight 
)

Definition at line 606 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, edm::InputTag::encode(), mps_fire::i, iEvent, edm::HandleBase::isValid(), singleTopDQM_cfi::preselection, and L1EGammaClusterEmuProducer_cfi::scale.

613  {
614  cands.clear();
615  static const edm::InputTag jetCorTag = m_pset.getParameter<edm::InputTag>("PFJetCorLabel");
617  iEvent.getByToken(m_tokens[jetCorTag.encode()], pfcorrector);
618 
620  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
621 
622  if (!hIn.isValid()) {
623  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
624  return;
625  }
626 
627  for (auto const& i : *hIn) {
628  double scale = pfcorrector->correction(i);
629  reco::PFJet newPFJet(scale * i.p4(), i.vertex(), i.getSpecific(), i.getJetConstituents());
630 
631  bool preselection = m_singleObjectSelection(newPFJet);
632  if (preselection) {
633  fillSingleObjectPlots(newPFJet, weight);
634  cands.push_back(newPFJet);
635  }
636  }
637  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::string encode() const
Definition: InputTag.cc:159
Definition: weight.py:1
Log< level::Error, false > LogError
Jets made from PFObjects.
Definition: PFJet.h:20
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
int iEvent
Definition: GenABIO.cc:224
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:207
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:112
bool isValid() const
Definition: HandleBase.h:70
preselection
PRESELECTION
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:95

◆ getFilteredCands() [7/8]

template<>
void FSQ::HandlerTemplate< reco::Candidate::LorentzVector, int >::getFilteredCands ( reco::Candidate::LorentzVector ,
std::vector< int > &  cands,
const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTConfigProvider hltConfig,
const trigger::TriggerEvent trgEvent,
float  weight 
)

Definition at line 650 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, mps_fire::i, iEvent, edm::HandleBase::isValid(), singleTopDQM_cfi::preselection, and mps_merge::weight.

657  {
658  cands.clear();
659  cands.push_back(0);
660 
662  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
663  if (!hIn.isValid()) {
664  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
665  return;
666  }
667  for (auto const& i : *hIn) {
669  if (preselection) {
671  cands.at(0) += 1;
672  }
673  }
674  }
std::string encode() const
Definition: InputTag.cc:159
Log< level::Error, false > LogError
edm::InputTag m_input
Definition: FSQDiJetAve.cc:125
int iEvent
Definition: GenABIO.cc:224
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:207
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:126
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:112
bool isValid() const
Definition: HandleBase.h:70
preselection
PRESELECTION

◆ getFilteredCands() [8/8]

template<>
void FSQ::HandlerTemplate< trigger::TriggerObject, trigger::TriggerObject >::getFilteredCands ( trigger::TriggerObject ,
std::vector< trigger::TriggerObject > &  cands,
const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTConfigProvider hltConfig,
const trigger::TriggerEvent trgEvent,
float  weight 
)

Definition at line 681 of file FSQDiJetAve.cc.

References HLT_2023v12_cff::cands, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), HltComparatorCreateWorkflow::hltConfig, EgHLTOfflineClient_cfi::hltTag, singleTopDQM_cfi::preselection, LaserDQM_cfg::process, trigger::TriggerEvent::sizeFilters(), AlCaHLTBitMon_QueryRunRegistry::string, and trigger::TriggerEvent::usedProcessName().

688  {
689  // 1. Find matching path. Inside matchin path find matching filter
690  std::string filterFullName = findPathAndFilter(hltConfig)[1];
691  if (filterFullName.empty()) {
692  return;
693  }
694 
695  // 2. Fetch HLT objects saved by selected filter. Save those fullfilling preselection
696  // objects are saved in cands variable
697  const std::string& process = trgEvent.usedProcessName(); // broken?
698  edm::InputTag hltTag(filterFullName, "", process);
699 
700  const int hltIndex = trgEvent.filterIndex(hltTag);
701  if (hltIndex >= trgEvent.sizeFilters()) {
702  edm::LogInfo("FSQDiJetAve") << "Cannot determine hlt index for |" << filterFullName << "|" << process;
703  return;
704  }
705 
706  const trigger::TriggerObjectCollection& toc(trgEvent.getObjects());
707  const trigger::Keys& khlt = trgEvent.filterKeys(hltIndex);
708 
709  auto kj = khlt.begin();
710 
711  for (; kj != khlt.end(); ++kj) {
712  bool preselection = m_singleObjectSelection(toc[*kj]);
713  if (preselection) {
714  fillSingleObjectPlots(toc[*kj], weight);
715  cands.push_back(toc[*kj]);
716  }
717  }
718  }
const Keys & filterKeys(trigger::size_type index) const
Definition: TriggerEvent.h:118
trigger::size_type sizeFilters() const
Definition: TriggerEvent.h:146
std::vector< std::string > findPathAndFilter(const HLTConfigProvider &hltConfig)
Definition: FSQDiJetAve.cc:252
Definition: weight.py:1
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:207
const TriggerObjectCollection & getObjects() const
Definition: TriggerEvent.h:101
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
Definition: TriggerObject.h:75
Log< level::Info, false > LogInfo
trigger::size_type filterIndex(const edm::InputTag &filterTag) const
find index of filter in data-member vector from filter tag
Definition: TriggerEvent.h:132
std::vector< size_type > Keys
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:112
const std::string & usedProcessName() const
getters
Definition: TriggerEvent.h:98
preselection
PRESELECTION

Member Data Documentation

◆ CombinedObjectPlotter

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
const int FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::CombinedObjectPlotter = 1
staticprivate

Definition at line 120 of file FSQDiJetAve.cc.

◆ m_combinedObjectDimension

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
int FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_combinedObjectDimension
private

Definition at line 110 of file FSQDiJetAve.cc.

◆ m_combinedObjectDrawables

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::vector<edm::ParameterSet> FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_combinedObjectDrawables
private

Definition at line 122 of file FSQDiJetAve.cc.

◆ m_combinedObjectSelection

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
StringCutObjectSelector<std::vector<TOutputCandidateType> > FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_combinedObjectSelection
private

Definition at line 113 of file FSQDiJetAve.cc.

◆ m_combinedObjectSortFunction

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
StringObjectFunction<std::vector<TOutputCandidateType> > FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_combinedObjectSortFunction
private

Definition at line 114 of file FSQDiJetAve.cc.

◆ m_dqmhistolabel

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::string FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_dqmhistolabel
private

Definition at line 106 of file FSQDiJetAve.cc.

◆ m_filterPartialName

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::string FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_filterPartialName
private

Definition at line 108 of file FSQDiJetAve.cc.

◆ m_input

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
edm::InputTag FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_input
private

Definition at line 125 of file FSQDiJetAve.cc.

◆ m_isSetup

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
bool FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_isSetup
private

Definition at line 124 of file FSQDiJetAve.cc.

◆ m_pathPartialName

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::string FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_pathPartialName
private

Definition at line 107 of file FSQDiJetAve.cc.

◆ m_plottersCombinedObject

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::map<std::string, std::shared_ptr<StringObjectFunction<std::vector<TOutputCandidateType> > > > FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_plottersCombinedObject
private

Definition at line 116 of file FSQDiJetAve.cc.

◆ m_plottersSingleObject

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::map<std::string, std::shared_ptr<StringObjectFunction<TInputCandidateType> > > FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_plottersSingleObject
private

Definition at line 117 of file FSQDiJetAve.cc.

◆ m_plotterType

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::map<std::string, int> FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_plotterType
private

Definition at line 121 of file FSQDiJetAve.cc.

◆ m_singleObjectDrawables

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::vector<edm::ParameterSet> FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_singleObjectDrawables
private

Definition at line 123 of file FSQDiJetAve.cc.

◆ m_singleObjectSelection

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
StringCutObjectSelector<TInputCandidateType> FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_singleObjectSelection
private

Definition at line 112 of file FSQDiJetAve.cc.

◆ m_tokens

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
std::map<std::string, edm::EDGetToken> FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::m_tokens
private

Definition at line 126 of file FSQDiJetAve.cc.

◆ SingleObjectPlotter

template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
const int FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::SingleObjectPlotter = 0
staticprivate

xxx

Definition at line 119 of file FSQDiJetAve.cc.