Skip to content
Snippets Groups Projects
Verified Commit ce916b42 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay Committed by Tadej Novak
Browse files

Specified a default stream name (ANALYSIS) for all histogram handling components.

This is to be able to simplify user analysis job configurations a bit. I chose the
'ANALYSIS' name instead of something like 'HISTOGRAMS', as I intend to re-use the
same name for writing user ntuples as well.


Former-commit-id: 36ebb9de67abf9aa893084023825f6b17703687f
parent ffdb961e
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ AthHistogramAlgorithm::AthHistogramAlgorithm( const std::string& name, ...@@ -44,7 +44,7 @@ AthHistogramAlgorithm::AthHistogramAlgorithm( const std::string& name,
"ROOT objects to ROOT files" ); "ROOT objects to ROOT files" );
// declareProperty("THistService", m_histSvc, "The THistSvc" ); // declareProperty("THistService", m_histSvc, "The THistSvc" );
declareProperty("RootStreamName", m_prefix = "/", "Name of the output ROOT stream (file) that the THistSvc uses"); declareProperty("RootStreamName", m_prefix = "/ANALYSIS", "Name of the output ROOT stream (file) that the THistSvc uses");
declareProperty("RootDirName", m_rootDir = "", declareProperty("RootDirName", m_rootDir = "",
"Name of the ROOT directory inside the ROOT file where the histograms will go"); "Name of the ROOT directory inside the ROOT file where the histograms will go");
......
...@@ -43,7 +43,7 @@ AthHistogramFilterAlgorithm::AthHistogramFilterAlgorithm( const std::string& nam ...@@ -43,7 +43,7 @@ AthHistogramFilterAlgorithm::AthHistogramFilterAlgorithm( const std::string& nam
"ROOT objects to ROOT files" ); "ROOT objects to ROOT files" );
//declareProperty("THistService", m_histSvc, "The THistSvc" ); //declareProperty("THistService", m_histSvc, "The THistSvc" );
declareProperty("RootStreamName", m_prefix = "/", "Name of the output ROOT stream (file) that the THistSvc uses"); declareProperty("RootStreamName", m_prefix = "/ANALYSIS", "Name of the output ROOT stream (file) that the THistSvc uses");
declareProperty("RootDirName", m_rootDir = "", declareProperty("RootDirName", m_rootDir = "",
"Name of the ROOT directory inside the ROOT file where the histograms will go"); "Name of the ROOT directory inside the ROOT file where the histograms will go");
......
...@@ -41,7 +41,7 @@ AthHistogramTool::AthHistogramTool( const std::string& type, ...@@ -41,7 +41,7 @@ AthHistogramTool::AthHistogramTool( const std::string& type,
"Handle to a THistSvc instance: it will be used to write " "Handle to a THistSvc instance: it will be used to write "
"ROOT objects to ROOT files" ); "ROOT objects to ROOT files" );
declareProperty("RootStreamName", m_prefix = "/", "Name of the output ROOT stream (file) that the THistSvc uses"); declareProperty("RootStreamName", m_prefix = "/ANALYSIS", "Name of the output ROOT stream (file) that the THistSvc uses");
declareProperty("RootDirName", m_rootDir = "", declareProperty("RootDirName", m_rootDir = "",
"Name of the ROOT directory inside the ROOT file where the histograms will go"); "Name of the ROOT directory inside the ROOT file where the histograms will go");
......
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