CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
tmtt::GlobalCacheTMTT Class Reference

#include <GlobalCacheTMTT.h>

Public Member Functions

 GlobalCacheTMTT (const edm::ParameterSet &iConfig)
 
Histoshists () const
 
HTrphi::ErrorMonitorhtRphiErrMon () const
 
const std::list< TrackerModule > & listTrackerModule () const
 
void setListTrackerModule (const std::list< TrackerModule > &list) const
 
const Settingssettings () const
 
StubWindowSuggeststubWindowSuggest () const
 

Private Attributes

Histos hists_
 
HTrphi::ErrorMonitor htRphiErrMon_
 
std::list< TrackerModulelistTrackerModule_
 
Settings settings_
 
StubWindowSuggest stubWindowSuggest_
 

Detailed Description

Definition at line 21 of file GlobalCacheTMTT.h.

Constructor & Destructor Documentation

◆ GlobalCacheTMTT()

tmtt::GlobalCacheTMTT::GlobalCacheTMTT ( const edm::ParameterSet iConfig)
inline

Definition at line 23 of file GlobalCacheTMTT.h.

24  : settings_(iConfig), // Python configuration params
25  htRphiErrMon_(), // rphi HT error monitoring
26  stubWindowSuggest_(&settings_), // Recommend FE stub window sizes.
27  hists_(&settings_) // Histograms
28  {
29  hists_.book();
30  }

References tmtt::Histos::book(), and hists_.

Member Function Documentation

◆ hists()

Histos& tmtt::GlobalCacheTMTT::hists ( ) const
inline

Definition at line 37 of file GlobalCacheTMTT.h.

37 { return hists_; }

References hists_.

Referenced by tmtt::TMTrackProducer::globalEndJob().

◆ htRphiErrMon()

HTrphi::ErrorMonitor& tmtt::GlobalCacheTMTT::htRphiErrMon ( ) const
inline

Definition at line 34 of file GlobalCacheTMTT.h.

34 { return htRphiErrMon_; }

References htRphiErrMon_.

Referenced by tmtt::TMTrackProducer::globalEndJob().

◆ listTrackerModule()

const std::list<TrackerModule>& tmtt::GlobalCacheTMTT::listTrackerModule ( ) const
inline

Definition at line 36 of file GlobalCacheTMTT.h.

36 { return listTrackerModule_; }

References listTrackerModule_.

Referenced by tmtt::TMTrackProducer::globalEndJob().

◆ setListTrackerModule()

void tmtt::GlobalCacheTMTT::setListTrackerModule ( const std::list< TrackerModule > &  list) const
inline

Definition at line 40 of file GlobalCacheTMTT.h.

40  {
41  // Allow only one thread to run this function at a time
42  static std::mutex myMutex;
43  std::lock_guard<std::mutex> myGuard(myMutex);
44 
45  // Only need one copy of tracker geometry for histogramming.
46  if (listTrackerModule_.empty())
48  }

References list(), listTrackerModule_, and mutex.

◆ settings()

const Settings& tmtt::GlobalCacheTMTT::settings ( ) const
inline

Definition at line 33 of file GlobalCacheTMTT.h.

33 { return settings_; }

References settings_.

Referenced by tmtt::TMTrackProducer::globalEndJob().

◆ stubWindowSuggest()

StubWindowSuggest& tmtt::GlobalCacheTMTT::stubWindowSuggest ( ) const
inline

Definition at line 35 of file GlobalCacheTMTT.h.

35 { return stubWindowSuggest_; }

References stubWindowSuggest_.

Referenced by tmtt::TMTrackProducer::globalEndJob().

Member Data Documentation

◆ hists_

Histos tmtt::GlobalCacheTMTT::hists_
mutableprivate

Definition at line 55 of file GlobalCacheTMTT.h.

Referenced by GlobalCacheTMTT(), and hists().

◆ htRphiErrMon_

HTrphi::ErrorMonitor tmtt::GlobalCacheTMTT::htRphiErrMon_
mutableprivate

Definition at line 52 of file GlobalCacheTMTT.h.

Referenced by htRphiErrMon().

◆ listTrackerModule_

std::list<TrackerModule> tmtt::GlobalCacheTMTT::listTrackerModule_
mutableprivate

Definition at line 54 of file GlobalCacheTMTT.h.

Referenced by listTrackerModule(), and setListTrackerModule().

◆ settings_

Settings tmtt::GlobalCacheTMTT::settings_
private

Definition at line 51 of file GlobalCacheTMTT.h.

Referenced by settings().

◆ stubWindowSuggest_

StubWindowSuggest tmtt::GlobalCacheTMTT::stubWindowSuggest_
mutableprivate

Definition at line 53 of file GlobalCacheTMTT.h.

Referenced by stubWindowSuggest().

tmtt::GlobalCacheTMTT::stubWindowSuggest_
StubWindowSuggest stubWindowSuggest_
Definition: GlobalCacheTMTT.h:53
tmtt::Histos::book
virtual void book()
Definition: Histos.cc:55
tmtt::GlobalCacheTMTT::htRphiErrMon_
HTrphi::ErrorMonitor htRphiErrMon_
Definition: GlobalCacheTMTT.h:52
mutex
static boost::mutex mutex
Definition: Proxy.cc:9
tmtt::GlobalCacheTMTT::hists_
Histos hists_
Definition: GlobalCacheTMTT.h:55
tmtt::GlobalCacheTMTT::settings_
Settings settings_
Definition: GlobalCacheTMTT.h:51
tmtt::GlobalCacheTMTT::listTrackerModule_
std::list< TrackerModule > listTrackerModule_
Definition: GlobalCacheTMTT.h:54
list
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*", "!HLTx*" if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL. It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of "!*" before the partial wildcard feature was incorporated). Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run