Skip to content
Snippets Groups Projects
Commit 93effb2c authored by sutt's avatar sutt
Browse files

Set shifter flags for the purity analyses in the ID Tier 0 monitoring

Create and set the m_shifter flags correctly to ensure that analyses
are configured correctly.

These changes also properly take into account the changes to the
MonitoringBase class interface to remove the large number of
"deprecated" variable compile WARNINGS.
parent 8552db15
No related merge requests found
......@@ -155,6 +155,9 @@ protected:
/// also run purity analyses
bool m_runPurity;
/// determine whether this should be treated as a shifter chain
bool m_shifter;
/// max number of shifter chains to use - must be < 2 at the moment
int m_shifterChains;
......
......@@ -35,6 +35,7 @@ TrigTestBase::TrigTestBase(const std::string & type, const std::string & name, c
m_useHighestPT(false),
m_vtxIndex(-1),
m_runPurity(false),
m_shifter(false),
m_shifterChains(1),
m_sliceTag("")
{
......@@ -86,10 +87,11 @@ TrigTestBase::TrigTestBase(const std::string & type, const std::string & name, c
declareProperty( "InitialisePerRun", m_initialisePerRun = false );
declareProperty( "KeepAllEvents", m_keepAllEvents = false );
declareProperty( "UseHighestPT", m_useHighestPT = false );
declareProperty( "Shifter", m_shifter = false );
declareProperty( "VtxIndex", m_vtxIndex = -1 );
declareProperty( "RunPurity", m_runPurity = false );
declareProperty( "Shifter", m_shifter = false );
declareProperty( "ShifterChains", m_shifterChains = 1 );
......@@ -155,14 +157,11 @@ StatusCode TrigTestBase::book(bool newEventsBlock, bool newLumiBlock, bool newRu
#ifdef ManagedMonitorToolBase_Uses_API_201401
#if 0
// #ifndef ManagedMonitorToolBase_CXX
#ifdef ManagedMonitorToolBase_Uses_API_201704
bool newEventsBlock = newEventsBlockFlag();
bool newLumiBlock = newLumiBlockFlag();
bool newRun = newRunFlag();
#endif
#endif
msg(MSG::DEBUG) << "TrigTestBase::book() buildNtuple " << m_buildNtuple
......@@ -460,11 +459,8 @@ StatusCode TrigTestBase::proc(bool /*endOfEventsBlock*/, bool /*endOfLumiBlock*/
#endif
// StatusCode TrigTestBase::procHistograms() {
#ifdef ManagedMonitorToolBase_Uses_API_201401
#if 0
// #ifndef ManagedMonitorToolBase_CXX
#ifdef ManagedMonitorToolBase_Uses_API_201704
bool endOfRun = endOfRunFlag();
#endif
#endif
msg(MSG::INFO) << " ----- enter proc() ----- " << endmsg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment