CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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)
 
void book (DQMStore::IBooker &booker)
 
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)
 
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)
 
- Public Member Functions inherited from FSQ::BaseHandler
 BaseHandler ()
 
 BaseHandler (const edm::ParameterSet &iConfig, triggerExpression::Data &eventCache)
 
 ~BaseHandler ()
 

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

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

132  :
133  BaseHandler(iConfig, eventCache),
134  m_singleObjectSelection(iConfig.getParameter<std::string>("singleObjectsPreselection")),
135  m_combinedObjectSelection(iConfig.getParameter<std::string>("combinedObjectSelection")),
136  m_combinedObjectSortFunction(iConfig.getParameter<std::string>("combinedObjectSortCriteria"))
137  {
138  std::string type = iConfig.getParameter<std::string>("handlerType");
139  if (type != "FromHLT") {
140  m_input = iConfig.getParameter<edm::InputTag>("inputCol");
141  }
142 
143  m_dqmhistolabel = iConfig.getParameter<std::string>("dqmhistolabel");
144  m_filterPartialName = iConfig.getParameter<std::string>("partialFilterName"); // std::string find is used to match filter
145  m_pathPartialName = iConfig.getParameter<std::string>("partialPathName");
146  m_combinedObjectDimension = iConfig.getParameter<int>("combinedObjectDimension");
147  m_combinedObjectDrawables = iConfig.getParameter< std::vector< edm::ParameterSet > >("combinedObjectDrawables");
148  m_singleObjectDrawables = iConfig.getParameter< std::vector< edm::ParameterSet > >("singleObjectDrawables");
149  m_isSetup = false;
150  }
type
Definition: HCALResponse.h:21
T getParameter(std::string const &) const
std::string m_filterPartialName
Definition: FSQDiJetAve.cc:112
StringObjectFunction< std::vector< TOutputCandidateType > > m_combinedObjectSortFunction
Definition: FSQDiJetAve.cc:118
std::vector< edm::ParameterSet > m_singleObjectDrawables
Definition: FSQDiJetAve.cc:126
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
std::string m_pathPartialName
Definition: FSQDiJetAve.cc:111
std::string m_dqmhistolabel
Definition: FSQDiJetAve.cc:110
StringCutObjectSelector< std::vector< TOutputCandidateType > > m_combinedObjectSelection
Definition: FSQDiJetAve.cc:117
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:116
std::vector< edm::ParameterSet > m_combinedObjectDrawables
Definition: FSQDiJetAve.cc:125

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 
)
inlinevirtual

Implements FSQ::BaseHandler.

Definition at line 297 of file FSQDiJetAve.cc.

References newFWLiteAna::found, i, edm::TriggerNames::size(), and edm::TriggerNames::triggerName().

303  {
304  size_t found = 0;
305  for (size_t i = 0; i<triggerNames.size(); ++i){
306  std::set<std::string>::iterator itUsedPaths = m_usedPaths.begin();
307  for(; itUsedPaths != m_usedPaths.end(); ++itUsedPaths){
308  if (triggerNames.triggerName(i).find(*itUsedPaths)!= std::string::npos ){
309  ++found;
310  break;
311  }
312  }
313 
314  if (found == m_usedPaths.size()) break;
315  }
316  if (found != m_usedPaths.size()){
317  edm::LogInfo("FSQDiJetAve") << "One of requested paths not found, skipping event";
318  return;
319  }
321  m_expression->init(*m_eventCache);
322  }
323  if (not (*m_expression)(*m_eventCache)) return;
324 
325  /*
326  std::vector<std::string> pathAndFilter = findPathAndFilter(hltConfig);
327 
328  std::string pathFullName = pathAndFilter[0];
329  if (pathFullName == "") {
330  return;
331  }
332  unsigned indexNum = triggerNames.triggerIndex(pathFullName);
333  if(indexNum >= triggerNames.size()){
334  edm::LogError("FSQDiJetAve") << "Problem determining trigger index for " << pathFullName << " " << m_pathPartialName;
335  }
336  if (!triggerResults.accept(indexNum)) return;*/
337 
338  std::vector<TOutputCandidateType> cands;
339  getFilteredCands((TInputCandidateType *)0, cands, iEvent, iSetup, hltConfig, trgEvent, weight);
340 
341  if (cands.size()==0) return;
342 
343  std::vector<TOutputCandidateType> bestCombinationFromCands = getBestCombination(cands);
344  if (bestCombinationFromCands.size()==0) return;
345 
346  // plot
347  std::map<std::string, MonitorElement*>::iterator it, itE;
348  it = m_histos.begin();
349  itE = m_histos.end();
350  for (;it!=itE;++it){
351  if (m_plotterType[it->first]!=CombinedObjectPlotter) continue;
352  float val = (*m_plottersCombinedObject[it->first])(bestCombinationFromCands);
353  it->second->Fill(val, weight);
354  }
355  }
int i
Definition: DBlmapReader.cc:9
std::map< std::string, int > m_plotterType
Definition: FSQDiJetAve.cc:124
static const int CombinedObjectPlotter
Definition: FSQDiJetAve.cc:123
Strings::size_type size() const
Definition: TriggerNames.cc:39
std::map< std::string, MonitorElement * > m_histos
Definition: FSQDiJetAve.cc:97
std::vector< TOutputCandidateType > getBestCombination(std::vector< TOutputCandidateType > &cands)
Definition: FSQDiJetAve.cc:357
std::set< std::string > m_usedPaths
Definition: FSQDiJetAve.cc:98
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:231
std::unique_ptr< triggerExpression::Evaluator > m_expression
Definition: FSQDiJetAve.cc:94
std::string const & triggerName(unsigned int index) const
Definition: TriggerNames.cc:27
int weight
Definition: histoStyle.py:50
triggerExpression::Data * m_eventCache
Definition: FSQDiJetAve.cc:95
std::map< std::string, std::shared_ptr< StringObjectFunction< std::vector< TOutputCandidateType > > > > m_plottersCombinedObject
Definition: FSQDiJetAve.cc:119
template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
void FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::book ( DQMStore::IBooker booker)
inlinevirtual

Implements FSQ::BaseHandler.

Definition at line 152 of file FSQDiJetAve.cc.

References DQMStore::IBooker::book1D(), RecoJets_EventContent_cff::func, i, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

152  {
153  if(!m_isSetup){
154  booker.setCurrentFolder(m_dirname);
155  m_isSetup = true;
156  std::vector< std::vector< edm::ParameterSet > * > todo(2, (std::vector< edm::ParameterSet > * )0);
159  for (size_t ti =0; ti<todo.size();++ti){
160  for (size_t i = 0; i < todo[ti]->size(); ++i){
161  std::string histoName = m_dqmhistolabel + "_" + todo[ti]->at(i).template getParameter<std::string>("name");
162  std::string expression = todo[ti]->at(i).template getParameter<std::string>("expression");
163  int bins = todo[ti]->at(i).template getParameter<int>("bins");
164  double rangeLow = todo[ti]->at(i).template getParameter<double>("min");
165  double rangeHigh = todo[ti]->at(i).template getParameter<double>("max");
166  m_histos[histoName] = booker.book1D(histoName, histoName, bins, rangeLow, rangeHigh);
167  m_plotterType[histoName] = ti;
168  if (ti == CombinedObjectPlotter){
171  m_plottersCombinedObject[histoName] = std::shared_ptr<StringObjectFunction<std::vector<TOutputCandidateType> > >(func);
172  } else {
175  m_plottersSingleObject[histoName] = std::shared_ptr<StringObjectFunction<TInputCandidateType> > (func);
176  }
177  }
178  }
179  }
180  }
int i
Definition: DBlmapReader.cc:9
std::map< std::string, int > m_plotterType
Definition: FSQDiJetAve.cc:124
static const int CombinedObjectPlotter
Definition: FSQDiJetAve.cc:123
static const int SingleObjectPlotter
xxx
Definition: FSQDiJetAve.cc:122
std::vector< edm::ParameterSet > m_singleObjectDrawables
Definition: FSQDiJetAve.cc:126
std::map< std::string, MonitorElement * > m_histos
Definition: FSQDiJetAve.cc:97
std::string m_dqmhistolabel
Definition: FSQDiJetAve.cc:110
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
std::map< std::string, std::shared_ptr< StringObjectFunction< TInputCandidateType > > > m_plottersSingleObject
Definition: FSQDiJetAve.cc:120
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
std::string m_dirname
Definition: FSQDiJetAve.cc:96
std::vector< edm::ParameterSet > m_combinedObjectDrawables
Definition: FSQDiJetAve.cc:125
std::map< std::string, std::shared_ptr< StringObjectFunction< std::vector< TOutputCandidateType > > > > m_plottersCombinedObject
Definition: FSQDiJetAve.cc:119
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 192 of file FSQDiJetAve.cc.

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

192  {
193  int ret = 0;
195  iEvent.getByToken(m_tokens[input.encode()], hIn);
196  if(!hIn.isValid()) {
197  edm::LogError("FSQDiJetAve") << "product not found: "<< input.encode();
198  return -1; // return nonsense value
199  }
200  for (size_t i = 0; i<hIn->size(); ++i) {
201  bool preselection = sel(hIn->at(i));
202  if (preselection){
203  fillSingleObjectPlots(hIn->at(i), weight);
204  ret+=1;
205  }
206  }
207  return ret;
208  }
int i
Definition: DBlmapReader.cc:9
tuple ret
prodAgent to be discontinued
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
std::string encode() const
Definition: InputTag.cc:164
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:211
tuple preselection
PRESELECTION
bool isValid() const
Definition: HandleBase.h:75
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
int weight
Definition: histoStyle.py:50
template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
void FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::fillSingleObjectPlots ( const TInputCandidateType &  cand,
float  weight 
)
inline

Definition at line 211 of file FSQDiJetAve.cc.

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

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

255  {
256  std::vector<std::string> ret(2,"");
257  std::string filterFullName = "";
258  std::string pathFullName = "";
259  std::vector<std::string> filtersForThisPath;
260  //int pathIndex = -1;
261  int numPathMatches = 0;
262  int numFilterMatches = 0;
263  for (size_t i = 0; i < hltConfig.size(); ++i) {
264  if (hltConfig.triggerName(i).find(m_pathPartialName) == std::string::npos) continue;
265  pathFullName = hltConfig.triggerName(i);
266  //pathIndex = i;
267  ++numPathMatches;
268  std::vector<std::string > moduleLabels = hltConfig.moduleLabels(i);
269  for (size_t iMod = 0; iMod <moduleLabels.size(); ++iMod){
270  if ("EDFilter" == hltConfig.moduleEDMType(moduleLabels.at(iMod))) {
271  filtersForThisPath.push_back(moduleLabels.at(iMod));
272  if ( moduleLabels.at(iMod).find(m_filterPartialName)!= std::string::npos ){
273  filterFullName = moduleLabels.at(iMod);
274  ++numFilterMatches;
275  }
276  }
277  }
278  }
279 
280  // LogWarning or LogError?
281  if (numPathMatches != 1) {
282  edm::LogInfo("FSQDiJetAve") << "Problem: found " << numPathMatches
283  << " paths matching " << m_pathPartialName << std::endl;
284  return ret;
285  }
286  ret[0] = pathFullName;
287  if (numFilterMatches != 1) {
288  edm::LogError("FSQDiJetAve") << "Problem: found " << numFilterMatches
289  << " filter matching " << m_filterPartialName
290  << " in path "<< m_pathPartialName << std::endl;
291  return ret;
292  }
293  ret[1] = filterFullName;
294  return ret;
295  }
unsigned int size() const
number of trigger paths in trigger table
int i
Definition: DBlmapReader.cc:9
tuple ret
prodAgent to be discontinued
std::string m_filterPartialName
Definition: FSQDiJetAve.cc:112
const std::string & triggerName(unsigned int triggerIndex) const
const std::string moduleEDMType(const std::string &module) const
C++ base class name of module.
std::string m_pathPartialName
Definition: FSQDiJetAve.cc:111
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
template<class TInputCandidateType , class TOutputCandidateType , SpecialFilters filter = None>
void FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
inlinevirtual

Implements FSQ::BaseHandler.

Definition at line 181 of file FSQDiJetAve.cc.

181  {
182  edm::EDGetTokenT<std::vector<TInputCandidateType> > tok = iC.consumes<std::vector<TInputCandidateType> > (m_input);
184  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129

Implements FSQ::BaseHandler.

Definition at line 432 of file FSQDiJetAve.cc.

434 {
437 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
template<>
void FSQ::HandlerTemplate< reco::Track, int, BestVertexMatching >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
virtual

Implements FSQ::BaseHandler.

Definition at line 501 of file FSQDiJetAve.cc.

References edm::InputTag::encode().

503 {
504  edm::EDGetTokenT<std::vector<reco::Track> > tok = iC.consumes<std::vector<reco::Track> > (m_input);
506 
507  edm::InputTag lVerticesTag = m_pset.getParameter<edm::InputTag>("vtxCollection");
509  m_tokens[lVerticesTag.encode()] = edm::EDGetToken(tok2);
510 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:99
template<>
void FSQ::HandlerTemplate< reco::PFJet, reco::PFJet, ApplyJEC >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
virtual

Implements FSQ::BaseHandler.

Definition at line 587 of file FSQDiJetAve.cc.

References edm::InputTag::encode().

589 {
590  edm::EDGetTokenT<std::vector<reco::PFJet> > tok = iC.consumes<std::vector<reco::PFJet> > (m_input);
592 
593  edm::InputTag jetCorTag = m_pset.getParameter<edm::InputTag>("PFJetCorLabel");
595  m_tokens[jetCorTag.encode()] = edm::EDGetToken(jetcortoken);
596 
597 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:99
template<>
void FSQ::HandlerTemplate< reco::Candidate::LorentzVector, int >::getAndStoreTokens ( edm::ConsumesCollector &&  iC)
virtual

Implements FSQ::BaseHandler.

Definition at line 640 of file FSQDiJetAve.cc.

642 {
645 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
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 357 of file FSQDiJetAve.cc.

References HLT_25ns10e33_v2_cff::distance, i, and FrontierCondition_GT_autoExpress_cfi::unique().

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

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

237  {
239  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
240 
241  if(!hIn.isValid()) {
242  edm::LogError("FSQDiJetAve") << "product not found: "<< m_input.encode();
243  return;
244  }
245 
246  for (size_t i = 0; i<hIn->size(); ++i) {
247  bool preselection = m_singleObjectSelection(hIn->at(i));
248  if (preselection){
249  fillSingleObjectPlots(hIn->at(i), weight);
250  cands.push_back(hIn->at(i));
251  }
252  }
253  }
int i
Definition: DBlmapReader.cc:9
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:211
tuple preselection
PRESELECTION
bool isValid() const
Definition: HandleBase.h:75
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:116
int weight
Definition: histoStyle.py:50
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 439 of file FSQDiJetAve.cc.

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

447 {
449  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
450  if(!hIn.isValid()) {
451  edm::LogError("FSQDiJetAve") << "product not found: "<< m_input.encode();
452  return;
453  }
454  for (size_t i = 0; i<hIn->size(); ++i) {
455  bool preselection = m_singleObjectSelection(hIn->at(i).p4());
456  if (preselection){
457  fillSingleObjectPlots(hIn->at(i).p4(), weight);
458  cands.push_back(hIn->at(i).p4());
459  }
460  }
461 }
int i
Definition: DBlmapReader.cc:9
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:211
tuple preselection
PRESELECTION
bool isValid() const
Definition: HandleBase.h:75
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:116
int weight
Definition: histoStyle.py:50
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 470 of file FSQDiJetAve.cc.

478 {
479  cands.clear();
480  cands.push_back(count<reco::Track>(iEvent, m_input, m_singleObjectSelection, weight) );
481 }
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:116
int weight
Definition: histoStyle.py:50
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 483 of file FSQDiJetAve.cc.

488 {
489  cands.clear();
490  cands.push_back(count<reco::GenParticle>(iEvent, m_input, m_singleObjectSelection, weight) );
491 }
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:116
int weight
Definition: histoStyle.py:50
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 513 of file FSQDiJetAve.cc.

References edm::InputTag::encode(), edm::Event::getByToken(), i, edm::HandleBase::isValid(), mathSSE::sqrt(), and HLT_25ns10e33_v2_cff::vertices.

520 {
521  // this is not elegant, but should be thread safe
522  static const edm::InputTag lVerticesTag = m_pset.getParameter<edm::InputTag>("vtxCollection");
523  static const int lMinNDOF = m_pset.getParameter<int>("minNDOF"); //7
524  static const double lMaxZ = m_pset.getParameter<double>("maxZ"); // 15
525  static const double lMaxDZ = m_pset.getParameter<double>("maxDZ"); // 0.12
526  static const double lMaxDZ2dzsigma = m_pset.getParameter<double>("maxDZ2dzsigma"); // 3
527  static const double lMaxDXY = m_pset.getParameter<double>("maxDXY"); // 0.12
528  static const double lMaxDXY2dxysigma = m_pset.getParameter<double>("maxDXY2dxysigma"); // 3
529 
530  cands.clear();
531  cands.push_back(0);
532 
534  iEvent.getByToken(m_tokens[lVerticesTag.encode()], vertices);
535 
536  //double bestvz=-999.9, bestvx=-999.9, bestvy=-999.9;
537 
538  double dxy, dz, dzsigma, dxysigma;
539  math::XYZPoint vtxPoint(0.0,0.0,0.0);
540  double vzErr =0.0, vxErr=0.0, vyErr=0.0;
541 
542  // take first vertex passing the criteria
543  int bestVtx = -1;
544  for (size_t i = 0; i < vertices->size(); ++i){
545  if (vertices->at(i).ndof()<lMinNDOF) continue;
546  if (fabs(vertices->at(i).z())> lMaxZ) continue;
547 
548  vtxPoint=vertices->at(i).position();
549  vzErr=vertices->at(i).zError();
550  vxErr=vertices->at(i).xError();
551  vyErr=vertices->at(i).yError();
552  bestVtx = i;
553  break;
554  }
555  if (bestVtx < 0) return;
556  // const reco::Vertex & vtx = vertices->at(bestVtx);
557 
559  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
560  if(!hIn.isValid()) {
561  edm::LogError("FSQDiJetAve") << "product not found: "<< m_input.encode();
562  return;
563  }
564 
565  for (size_t i = 0; i<hIn->size(); ++i) {
566  if (!m_singleObjectSelection(hIn->at(i))) continue;
567  dxy=0.0, dz=0.0, dxysigma=0.0, dzsigma=0.0;
568  dxy = -1.*hIn->at(i).dxy(vtxPoint);
569  dz = hIn->at(i).dz(vtxPoint);
570  dxysigma = sqrt(hIn->at(i).dxyError()*hIn->at(i).dxyError()+vxErr*vyErr);
571  dzsigma = sqrt(hIn->at(i).dzError()*hIn->at(i).dzError()+vzErr*vzErr);
572 
573  if(fabs(dz)>lMaxDZ)continue; // TODO...
574  if(fabs(dz/dzsigma)>lMaxDZ2dzsigma)continue;
575  if(fabs(dxy)>lMaxDXY)continue;
576  if(fabs(dxy/dxysigma)>lMaxDXY2dxysigma)continue;
577 
578  cands.at(0)+=1;
579  }//loop over tracks
580 }
T getParameter(std::string const &) const
int i
Definition: DBlmapReader.cc:9
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
T sqrt(T t)
Definition: SSEVec.h:18
bool isValid() const
Definition: HandleBase.h:75
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:116
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:99
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 600 of file FSQDiJetAve.cc.

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

607 {
608  cands.clear();
609  static const edm::InputTag jetCorTag = m_pset.getParameter<edm::InputTag>("PFJetCorLabel");
611  iEvent.getByToken(m_tokens[jetCorTag.encode()], pfcorrector);
612 
614  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
615 
616  if(!hIn.isValid()) {
617  edm::LogError("FSQDiJetAve") << "product not found: "<< m_input.encode();
618  return;
619  }
620 
621  for (size_t i = 0; i<hIn->size(); ++i) {
622  double scale = pfcorrector->correction(hIn->at(i));
623  reco::PFJet newPFJet(scale*hIn->at(i).p4(), hIn->at(i).vertex(),
624  hIn->at(i).getSpecific(), hIn->at(i).getJetConstituents());
625 
626  bool preselection = m_singleObjectSelection(newPFJet);
627  if (preselection){
628  fillSingleObjectPlots(newPFJet, weight);
629  cands.push_back(newPFJet);
630  }
631  }
632 }
T getParameter(std::string const &) const
int i
Definition: DBlmapReader.cc:9
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
Jets made from PFObjects.
Definition: PFJet.h:21
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:211
tuple preselection
PRESELECTION
bool isValid() const
Definition: HandleBase.h:75
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:116
int weight
Definition: histoStyle.py:50
edm::ParameterSet m_pset
Definition: FSQDiJetAve.cc:99
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 647 of file FSQDiJetAve.cc.

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

655 {
656  cands.clear();
657  cands.push_back(0);
658 
660  iEvent.getByToken(m_tokens[m_input.encode()], hIn);
661  if(!hIn.isValid()) {
662  edm::LogError("FSQDiJetAve") << "product not found: "<< m_input.encode();
663  return;
664  }
665  for (size_t i = 0; i<hIn->size(); ++i) {
666  bool preselection = m_singleObjectSelection(hIn->at(i).p4());
667  if (preselection){
668  fillSingleObjectPlots(hIn->at(i).p4(), weight);
669  cands.at(0)+=1;
670  }
671  }
672 }
int i
Definition: DBlmapReader.cc:9
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
std::string encode() const
Definition: InputTag.cc:164
edm::InputTag m_input
Definition: FSQDiJetAve.cc:128
void fillSingleObjectPlots(const TInputCandidateType &cand, float weight)
Definition: FSQDiJetAve.cc:211
tuple preselection
PRESELECTION
bool isValid() const
Definition: HandleBase.h:75
std::map< std::string, edm::EDGetToken > m_tokens
Definition: FSQDiJetAve.cc:129
StringCutObjectSelector< TInputCandidateType > m_singleObjectSelection
Definition: FSQDiJetAve.cc:116
int weight
Definition: histoStyle.py:50
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 679 of file FSQDiJetAve.cc.

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

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

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

Definition at line 114 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 125 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 117 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 118 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 110 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 112 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 128 of file FSQDiJetAve.cc.

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

Definition at line 127 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 111 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 119 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 120 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 124 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 126 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 116 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 129 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 122 of file FSQDiJetAve.cc.