CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::EDGetToken
m_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::Evaluator
m_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 109 of file FSQDiJetAve.cc.

Constructor & Destructor Documentation

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 134 of file FSQDiJetAve.cc.

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

135  : BaseHandler(iConfig, eventCache),
136  m_singleObjectSelection(iConfig.getParameter<std::string>("singleObjectsPreselection")),
137  m_combinedObjectSelection(iConfig.getParameter<std::string>("combinedObjectSelection")),
138  m_combinedObjectSortFunction(iConfig.getParameter<std::string>("combinedObjectSortCriteria")) {
139  std::string type = iConfig.getParameter<std::string>("handlerType");
140  if (type != "FromHLT") {
141  m_input = iConfig.getParameter<edm::InputTag>("inputCol");
142  }
143 
144  m_dqmhistolabel = iConfig.getParameter<std::string>("dqmhistolabel");
146  iConfig.getParameter<std::string>("partialFilterName"); // std::string find is used to match filter
147  m_pathPartialName = iConfig.getParameter<std::string>("partialPathName");
148  m_combinedObjectDimension = iConfig.getParameter<int>("combinedObjectDimension");
149  m_combinedObjectDrawables = iConfig.getParameter<std::vector<edm::ParameterSet> >("combinedObjectDrawables");
150  m_singleObjectDrawables = iConfig.getParameter<std::vector<edm::ParameterSet> >("singleObjectDrawables");
151  m_isSetup = false;
152  }
std::vector< edm::ParameterSet > m_combinedObjectDrawables
Definition: FSQDiJetAve.cc:127
std::string m_filterPartialName
Definition: FSQDiJetAve.cc:113
std::vector< edm::ParameterSet > m_singleObjectDrawables
Definition: FSQDiJetAve.cc:128
StringObjectFunction< std::vector< TOutputCandidateType > > m_combinedObjectSortFunction
Definition: FSQDiJetAve.cc:119
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
std::string m_pathPartialName
Definition: FSQDiJetAve.cc:112
std::string m_dqmhistolabel
Definition: FSQDiJetAve.cc:111
StringCutObjectSelector< std::vector< TOutputCandidateType > > m_combinedObjectSelection
Definition: FSQDiJetAve.cc:118
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:117
template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::~HandlerTemplate ( )
overridedefault

Member Function Documentation

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 299 of file FSQDiJetAve.cc.

References HLT_FULL_cff::cands, newFWLiteAna::found, mps_fire::i, edm::TriggerNames::size(), edm::TriggerNames::triggerName(), and hgcalPerformanceValidation::val.

305  {
306  size_t found = 0;
307  for (size_t i = 0; i < triggerNames.size(); ++i) {
308  auto itUsedPaths = m_usedPaths.begin();
309  for (; itUsedPaths != m_usedPaths.end(); ++itUsedPaths) {
310  if (triggerNames.triggerName(i).find(*itUsedPaths) != std::string::npos) {
311  ++found;
312  break;
313  }
314  }
315 
316  if (found == m_usedPaths.size())
317  break;
318  }
319  if (found != m_usedPaths.size()) {
320  edm::LogInfo("FSQDiJetAve") << "One of requested paths not found, skipping event";
321  return;
322  }
324  m_expression->init(*m_eventCache);
325  }
326  if (not(*m_expression)(*m_eventCache))
327  return;
328 
329  /*
330  std::vector<std::string> pathAndFilter = findPathAndFilter(hltConfig);
331 
332  std::string pathFullName = pathAndFilter[0];
333  if (pathFullName == "") {
334  return;
335  }
336  unsigned indexNum = triggerNames.triggerIndex(pathFullName);
337  if(indexNum >= triggerNames.size()){
338  edm::LogError("FSQDiJetAve") << "Problem determining trigger index for " << pathFullName << " " << m_pathPartialName;
339  }
340  if (!triggerResults.accept(indexNum)) return;*/
341 
342  std::vector<TOutputCandidateType> cands;
343  getFilteredCands((TInputCandidateType*)nullptr, cands, iEvent, iSetup, hltConfig, trgEvent, weight);
344 
345  if (cands.empty())
346  return;
347 
348  std::vector<TOutputCandidateType> bestCombinationFromCands = getBestCombination(cands);
349  if (bestCombinationFromCands.empty())
350  return;
351 
352  // plot
353  std::map<std::string, MonitorElement*>::iterator it, itE;
354  it = m_histos.begin();
355  itE = m_histos.end();
356  for (; it != itE; ++it) {
357  if (m_plotterType[it->first] != CombinedObjectPlotter)
358  continue;
359  float val = (*m_plottersCombinedObject[it->first])(bestCombinationFromCands);
360  it->second->Fill(val, weight);
361  }
362  }
std::size_t size() const
Definition: TriggerNames.cc:59
static const int CombinedObjectPlotter
Definition: FSQDiJetAve.cc:125
std::map< std::string, MonitorElement * > m_histos
Definition: FSQDiJetAve.cc:98
std::vector< TOutputCandidateType > getBestCombination(std::vector< TOutputCandidateType > &cands)
Definition: FSQDiJetAve.cc:364
std::map< std::string, int > m_plotterType
Definition: FSQDiJetAve.cc:126
std::set< std::string > m_usedPaths
Definition: FSQDiJetAve.cc:99
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:233
Log< level::Info, false > LogInfo
std::unique_ptr< triggerExpression::Evaluator > m_expression
Definition: FSQDiJetAve.cc:95
std::string const & triggerName(unsigned int index) const
Definition: TriggerNames.cc:50
int weight
Definition: histoStyle.py:51
triggerExpression::Data * m_eventCache
Definition: FSQDiJetAve.cc:96
std::map< std::string, std::shared_ptr< StringObjectFunction< std::vector< TOutputCandidateType > > > > m_plottersCombinedObject
Definition: FSQDiJetAve.cc:121
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 154 of file FSQDiJetAve.cc.

References dqm::implementation::IBooker::book1D(), cms::cuda::func, mps_fire::i, dqm::implementation::NavigatorBase::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

154  {
155  if (!m_isSetup) {
156  booker.setCurrentFolder(m_dirname);
157  m_isSetup = true;
158  std::vector<std::vector<edm::ParameterSet>*> todo(2, (std::vector<edm::ParameterSet>*)nullptr);
161  for (size_t ti = 0; ti < todo.size(); ++ti) {
162  for (size_t i = 0; i < todo[ti]->size(); ++i) {
163  std::string histoName = m_dqmhistolabel + "_" + todo[ti]->at(i).template getParameter<std::string>("name");
164  std::string expression = todo[ti]->at(i).template getParameter<std::string>("expression");
165  int bins = todo[ti]->at(i).template getParameter<int>("bins");
166  double rangeLow = todo[ti]->at(i).template getParameter<double>("min");
167  double rangeHigh = todo[ti]->at(i).template getParameter<double>("max");
168  m_histos[histoName] = booker.book1D(histoName, histoName, bins, rangeLow, rangeHigh);
169  m_plotterType[histoName] = ti;
170  if (ti == CombinedObjectPlotter) {
172  m_plottersCombinedObject[histoName] =
173  std::shared_ptr<StringObjectFunction<std::vector<TOutputCandidateType> > >(func);
174  } else {
175  auto* func = new StringObjectFunction<TInputCandidateType>(expression);
176  m_plottersSingleObject[histoName] = std::shared_ptr<StringObjectFunction<TInputCandidateType> >(func);
177  }
178  }
179  }
180  }
181  }
std::vector< edm::ParameterSet > m_combinedObjectDrawables
Definition: FSQDiJetAve.cc:127
std::vector< edm::ParameterSet > m_singleObjectDrawables
Definition: FSQDiJetAve.cc:128
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t Func __host__ __device__ V int Func func
static const int CombinedObjectPlotter
Definition: FSQDiJetAve.cc:125
static const int SingleObjectPlotter
xxx
Definition: FSQDiJetAve.cc:124
std::map< std::string, MonitorElement * > m_histos
Definition: FSQDiJetAve.cc:98
std::string m_dqmhistolabel
Definition: FSQDiJetAve.cc:111
std::map< std::string, int > m_plotterType
Definition: FSQDiJetAve.cc:126
std::map< std::string, std::shared_ptr< StringObjectFunction< TInputCandidateType > > > m_plottersSingleObject
Definition: FSQDiJetAve.cc:122
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:97
std::map< std::string, std::shared_ptr< StringObjectFunction< std::vector< TOutputCandidateType > > > > m_plottersCombinedObject
Definition: FSQDiJetAve.cc:121
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 193 of file FSQDiJetAve.cc.

References edm::InputTag::encode(), edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), tauCleaner_cfi::preselection, runTheMatrix::ret, EgammaValidation_Wenu_cff::sel, and histoStyle::weight.

193  {
194  int ret = 0;
195  Handle<std::vector<T> > hIn;
196  iEvent.getByToken(m_tokens[input.encode()], hIn);
197  if (!hIn.isValid()) {
198  edm::LogError("FSQDiJetAve") << "product not found: " << input.encode();
199  return -1; // return nonsense value
200  }
201  for (size_t i = 0; i < hIn->size(); ++i) {
202  bool preselection = sel(hIn->at(i));
203  if (preselection) {
204  fillSingleObjectPlots(hIn->at(i), weight);
205  ret += 1;
206  }
207  }
208  return ret;
209  }
tuple ret
prodAgent to be discontinued
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
Log< level::Error, false > LogError
std::string encode() const
Definition: InputTag.cc:159
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:212
tuple preselection
string added as general entry for modeul definition here and use in tauTools.py
bool isValid() const
Definition: HandleBase.h:70
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
int weight
Definition: histoStyle.py:51
template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
void FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::fillSingleObjectPlots ( const TInputCandidateType &  cand,
float  weight 
)
inline

Definition at line 212 of file FSQDiJetAve.cc.

References hgcalPerformanceValidation::val.

212  {
213  std::map<std::string, MonitorElement*>::iterator it, itE;
214  it = m_histos.begin();
215  itE = m_histos.end();
216  for (; it != itE; ++it) {
217  if (m_plotterType[it->first] != SingleObjectPlotter)
218  continue;
219  float val = (*m_plottersSingleObject[it->first])(cand);
220  it->second->Fill(val, weight);
221  }
222  }
static const int SingleObjectPlotter
xxx
Definition: FSQDiJetAve.cc:124
std::map< std::string, MonitorElement * > m_histos
Definition: FSQDiJetAve.cc:98
std::map< std::string, int > m_plotterType
Definition: FSQDiJetAve.cc:126
std::map< std::string, std::shared_ptr< StringObjectFunction< TInputCandidateType > > > m_plottersSingleObject
Definition: FSQDiJetAve.cc:122
int weight
Definition: histoStyle.py:51
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 257 of file FSQDiJetAve.cc.

References mps_fire::i, HLTConfigProvider::moduleEDMType(), HLTConfigProvider::moduleLabels(), runTheMatrix::ret, HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, and HLTConfigProvider::triggerName().

257  {
258  std::vector<std::string> ret(2, "");
259  std::string filterFullName = "";
260  std::string pathFullName = "";
261  std::vector<std::string> filtersForThisPath;
262  //int pathIndex = -1;
263  int numPathMatches = 0;
264  int numFilterMatches = 0;
265  for (size_t i = 0; i < hltConfig.size(); ++i) {
266  if (hltConfig.triggerName(i).find(m_pathPartialName) == std::string::npos)
267  continue;
268  pathFullName = hltConfig.triggerName(i);
269  //pathIndex = i;
270  ++numPathMatches;
271  std::vector<std::string> moduleLabels = hltConfig.moduleLabels(i);
272  for (auto& moduleLabel : moduleLabels) {
273  if ("EDFilter" == hltConfig.moduleEDMType(moduleLabel)) {
274  filtersForThisPath.push_back(moduleLabel);
275  if (moduleLabel.find(m_filterPartialName) != std::string::npos) {
276  filterFullName = moduleLabel;
277  ++numFilterMatches;
278  }
279  }
280  }
281  }
282 
283  // LogWarning or LogError?
284  if (numPathMatches != 1) {
285  edm::LogInfo("FSQDiJetAve") << "Problem: found " << numPathMatches << " paths matching " << m_pathPartialName
286  << std::endl;
287  return ret;
288  }
289  ret[0] = pathFullName;
290  if (numFilterMatches != 1) {
291  edm::LogError("FSQDiJetAve") << "Problem: found " << numFilterMatches << " filter matching "
292  << m_filterPartialName << " in path " << m_pathPartialName << std::endl;
293  return ret;
294  }
295  ret[1] = filterFullName;
296  return ret;
297  }
unsigned int size() const
number of trigger paths in trigger table
tuple ret
prodAgent to be discontinued
std::string m_filterPartialName
Definition: FSQDiJetAve.cc:113
const std::string & triggerName(unsigned int triggerIndex) const
const std::string moduleEDMType(const std::string &module) const
C++ base class name of module.
Log< level::Error, false > LogError
std::string m_pathPartialName
Definition: FSQDiJetAve.cc:112
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
Log< level::Info, false > LogInfo
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 182 of file FSQDiJetAve.cc.

182  {
183  edm::EDGetTokenT<std::vector<TInputCandidateType> > tok = iC.consumes<std::vector<TInputCandidateType> >(m_input);
185  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131

Implements FSQ::BaseHandler.

Definition at line 442 of file FSQDiJetAve.cc.

443  {
446  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
template<>
void FSQ::HandlerTemplate< reco::Track, int, BestVertexMatching >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
virtual

Implements FSQ::BaseHandler.

Definition at line 510 of file FSQDiJetAve.cc.

References edm::InputTag::encode().

510  {
511  edm::EDGetTokenT<std::vector<reco::Track> > tok = iC.consumes<std::vector<reco::Track> >(m_input);
513 
514  edm::InputTag lVerticesTag = m_pset.getParameter<edm::InputTag>("vtxCollection");
516  m_tokens[lVerticesTag.encode()] = edm::EDGetToken(tok2);
517  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:100
template<>
void FSQ::HandlerTemplate< reco::PFJet, reco::PFJet, ApplyJEC >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
virtual

Implements FSQ::BaseHandler.

Definition at line 602 of file FSQDiJetAve.cc.

References edm::InputTag::encode().

602  {
603  edm::EDGetTokenT<std::vector<reco::PFJet> > tok = iC.consumes<std::vector<reco::PFJet> >(m_input);
605 
606  edm::InputTag jetCorTag = m_pset.getParameter<edm::InputTag>("PFJetCorLabel");
608  m_tokens[jetCorTag.encode()] = edm::EDGetToken(jetcortoken);
609  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:100
template<>
void FSQ::HandlerTemplate< reco::Candidate::LorentzVector, int >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
virtual

Implements FSQ::BaseHandler.

Definition at line 651 of file FSQDiJetAve.cc.

651  {
654  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
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 364 of file FSQDiJetAve.cc.

References HLT_FULL_cff::distance, mps_fire::i, and tier0::unique().

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

References edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), tauCleaner_cfi::preselection, and histoStyle::weight.

239  {
241  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
242 
243  if (!hIn.isValid()) {
244  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
245  return;
246  }
247 
248  for (size_t i = 0; i < hIn->size(); ++i) {
249  bool preselection = m_singleObjectSelection(hIn->at(i));
250  if (preselection) {
251  fillSingleObjectPlots(hIn->at(i), weight);
252  cands.push_back(hIn->at(i));
253  }
254  }
255  }
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
Log< level::Error, false > LogError
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:212
tuple preselection
string added as general entry for modeul definition here and use in tauTools.py
bool isValid() const
Definition: HandleBase.h:70
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:117
int weight
Definition: histoStyle.py:51
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 448 of file FSQDiJetAve.cc.

References edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), tauCleaner_cfi::preselection, and histoStyle::weight.

455  {
457  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
458  if (!hIn.isValid()) {
459  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
460  return;
461  }
462  for (auto const& i : *hIn) {
464  if (preselection) {
466  cands.push_back(i.p4());
467  }
468  }
469  }
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
Log< level::Error, false > LogError
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:212
tuple preselection
string added as general entry for modeul definition here and use in tauTools.py
bool isValid() const
Definition: HandleBase.h:70
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:117
int weight
Definition: histoStyle.py:51
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 478 of file FSQDiJetAve.cc.

485  {
486  cands.clear();
487  cands.push_back(count<reco::Track>(iEvent, m_input, m_singleObjectSelection, weight));
488  }
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:117
int weight
Definition: histoStyle.py:51
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 490 of file FSQDiJetAve.cc.

497  {
498  cands.clear();
499  cands.push_back(count<reco::GenParticle>(iEvent, m_input, m_singleObjectSelection, weight));
500  }
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:117
int weight
Definition: histoStyle.py:51
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 520 of file FSQDiJetAve.cc.

References PVValHelper::dxy, PVValHelper::dz, edm::InputTag::encode(), edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), mathSSE::sqrt(), and beam_dqm_sourceclient-live_cfg::vertices.

527  {
528  // this is not elegant, but should be thread safe
529  static const edm::InputTag lVerticesTag = m_pset.getParameter<edm::InputTag>("vtxCollection");
530  static const int lMinNDOF = m_pset.getParameter<int>("minNDOF"); //7
531  static const double lMaxZ = m_pset.getParameter<double>("maxZ"); // 15
532  static const double lMaxDZ = m_pset.getParameter<double>("maxDZ"); // 0.12
533  static const double lMaxDZ2dzsigma = m_pset.getParameter<double>("maxDZ2dzsigma"); // 3
534  static const double lMaxDXY = m_pset.getParameter<double>("maxDXY"); // 0.12
535  static const double lMaxDXY2dxysigma = m_pset.getParameter<double>("maxDXY2dxysigma"); // 3
536 
537  cands.clear();
538  cands.push_back(0);
539 
541  iEvent.getByToken(m_tokens[lVerticesTag.encode()], vertices);
542 
543  //double bestvz=-999.9, bestvx=-999.9, bestvy=-999.9;
544 
545  double dxy, dz, dzsigma, dxysigma;
546  math::XYZPoint vtxPoint(0.0, 0.0, 0.0);
547  double vzErr = 0.0, vxErr = 0.0, vyErr = 0.0;
548 
549  // take first vertex passing the criteria
550  int bestVtx = -1;
551  for (size_t i = 0; i < vertices->size(); ++i) {
552  if (vertices->at(i).ndof() < lMinNDOF)
553  continue;
554  if (fabs(vertices->at(i).z()) > lMaxZ)
555  continue;
556 
557  vtxPoint = vertices->at(i).position();
558  vzErr = vertices->at(i).zError();
559  vxErr = vertices->at(i).xError();
560  vyErr = vertices->at(i).yError();
561  bestVtx = i;
562  break;
563  }
564  if (bestVtx < 0)
565  return;
566  // const reco::Vertex & vtx = vertices->at(bestVtx);
567 
569  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
570  if (!hIn.isValid()) {
571  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
572  return;
573  }
574 
575  for (auto const& i : *hIn) {
577  continue;
578  dxy = 0.0, dz = 0.0, dxysigma = 0.0, dzsigma = 0.0;
579  dxy = -1. * i.dxy(vtxPoint);
580  dz = i.dz(vtxPoint);
581  dxysigma = sqrt(i.dxyError() * i.dxyError() + vxErr * vyErr);
582  dzsigma = sqrt(i.dzError() * i.dzError() + vzErr * vzErr);
583 
584  if (fabs(dz) > lMaxDZ)
585  continue; // TODO...
586  if (fabs(dz / dzsigma) > lMaxDZ2dzsigma)
587  continue;
588  if (fabs(dxy) > lMaxDXY)
589  continue;
590  if (fabs(dxy / dxysigma) > lMaxDXY2dxysigma)
591  continue;
592 
593  cands.at(0) += 1;
594  } //loop over tracks
595  }
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
Log< level::Error, false > LogError
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
T sqrt(T t)
Definition: SSEVec.h:19
bool isValid() const
Definition: HandleBase.h:70
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:117
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:100
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 612 of file FSQDiJetAve.cc.

References edm::InputTag::encode(), edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), tauCleaner_cfi::preselection, and pileupReCalc_HLTpaths::scale.

619  {
620  cands.clear();
621  static const edm::InputTag jetCorTag = m_pset.getParameter<edm::InputTag>("PFJetCorLabel");
623  iEvent.getByToken(m_tokens[jetCorTag.encode()], pfcorrector);
624 
626  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
627 
628  if (!hIn.isValid()) {
629  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
630  return;
631  }
632 
633  for (auto const& i : *hIn) {
634  double scale = pfcorrector->correction(i);
635  reco::PFJet newPFJet(scale * i.p4(), i.vertex(), i.getSpecific(), i.getJetConstituents());
636 
637  bool preselection = m_singleObjectSelection(newPFJet);
638  if (preselection) {
639  fillSingleObjectPlots(newPFJet, weight);
640  cands.push_back(newPFJet);
641  }
642  }
643  }
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
Log< level::Error, false > LogError
Jets made from PFObjects.
Definition: PFJet.h:20
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:212
tuple preselection
string added as general entry for modeul definition here and use in tauTools.py
bool isValid() const
Definition: HandleBase.h:70
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:117
int weight
Definition: histoStyle.py:51
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:100
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 656 of file FSQDiJetAve.cc.

References edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), tauCleaner_cfi::preselection, and histoStyle::weight.

663  {
664  cands.clear();
665  cands.push_back(0);
666 
668  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
669  if (!hIn.isValid()) {
670  edm::LogError("FSQDiJetAve") << "product not found: " << m_input.encode();
671  return;
672  }
673  for (auto const& i : *hIn) {
675  if (preselection) {
677  cands.at(0) += 1;
678  }
679  }
680  }
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
Log< level::Error, false > LogError
std::string encode() const
Definition: InputTag.cc:159
edm::InputTag m_input
Definition: FSQDiJetAve.cc:130
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:212
tuple preselection
string added as general entry for modeul definition here and use in tauTools.py
bool isValid() const
Definition: HandleBase.h:70
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:131
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:117
int weight
Definition: histoStyle.py:51
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 687 of file FSQDiJetAve.cc.

References trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), tauCleaner_cfi::preselection, LaserDQM_cfg::process, trigger::TriggerEvent::sizeFilters(), AlCaHLTBitMon_QueryRunRegistry::string, and trigger::TriggerEvent::usedProcessName().

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

Member Data Documentation

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

Definition at line 125 of file FSQDiJetAve.cc.

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

Definition at line 115 of file FSQDiJetAve.cc.

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

Definition at line 127 of file FSQDiJetAve.cc.

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

Definition at line 118 of file FSQDiJetAve.cc.

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

Definition at line 119 of file FSQDiJetAve.cc.

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

Definition at line 111 of file FSQDiJetAve.cc.

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

Definition at line 113 of file FSQDiJetAve.cc.

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

Definition at line 130 of file FSQDiJetAve.cc.

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

Definition at line 129 of file FSQDiJetAve.cc.

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

Definition at line 112 of file FSQDiJetAve.cc.

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 121 of file FSQDiJetAve.cc.

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 122 of file FSQDiJetAve.cc.

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

Definition at line 126 of file FSQDiJetAve.cc.

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

Definition at line 128 of file FSQDiJetAve.cc.

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

Definition at line 117 of file FSQDiJetAve.cc.

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 131 of file FSQDiJetAve.cc.

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

xxx

Definition at line 124 of file FSQDiJetAve.cc.