Inheritance diagram for NtupleVisitor:


Public Member Functions | |
| NtupleVisitor (INTupleWriterSvc *ntupleSvc=0, std::string ntupleName="") | |
| constructor can set ntuple service and ntupleName | |
| virtual IValsTool::Visitor::eVisitorRet | analysisValue (std::string varName, const double &value) const |
| callback to send varnames and values to the client | |
| virtual IValsTool::Visitor::eVisitorRet | analysisValue (std::string varName, const float &value) const |
| virtual IValsTool::Visitor::eVisitorRet | analysisValue (std::string varName, const int &value) const |
| virtual IValsTool::Visitor::eVisitorRet | analysisValue (std::string varName, const unsigned int &value) const |
| virtual IValsTool::Visitor::eVisitorRet | analysisValue (std::string varName, const unsigned long long &value) const |
| virtual IValsTool::Visitor::eVisitorRet | analysisValue (std::string varName, const char *value) const |
| virtual | ~NtupleVisitor () |
Private Attributes | |
| INTupleWriterSvc * | m_ntupleSvc |
| pointer to the ntuple service | |
| std::string | m_ntupleName |
| name of the ntuple; should be the same as is set in NtupleWriterSvc | |
Definition at line 35 of file AnalysisNtupleAlg.cxx.
|
||||||||||||
|
constructor can set ntuple service and ntupleName
Definition at line 39 of file AnalysisNtupleAlg.cxx. References m_ntupleName, and m_ntupleSvc.
00040 : m_ntupleSvc(ntupleSvc), m_ntupleName(ntupleName) {} |
|
|
Definition at line 56 of file AnalysisNtupleAlg.cxx.
00056 {}
|
|
||||||||||||
|
Implements IValsTool::Visitor. Definition at line 123 of file AnalysisNtupleAlg.cxx. References IValsTool::Visitor::CONT, IValsTool::Visitor::ERROR, IValsTool::Visitor::eVisitorRet, m_ntupleName, and m_ntupleSvc.
00125 {
00126 StatusCode sc;
00127 if (m_ntupleSvc) {
00128 sc = m_ntupleSvc->addItem(m_ntupleName, varName, value );
00129 if (sc.isFailure()) return IValsTool::Visitor::ERROR;
00130 }
00131 return IValsTool::Visitor::CONT;
00132 }
|
|
||||||||||||
|
Implements IValsTool::Visitor. Definition at line 112 of file AnalysisNtupleAlg.cxx. References IValsTool::Visitor::CONT, IValsTool::Visitor::ERROR, IValsTool::Visitor::eVisitorRet, m_ntupleName, and m_ntupleSvc.
00114 {
00115 StatusCode sc;
00116 if (m_ntupleSvc) {
00117 sc = m_ntupleSvc->addItem(m_ntupleName, varName, &value );
00118 if (sc.isFailure()) return IValsTool::Visitor::ERROR;
00119 }
00120 return IValsTool::Visitor::CONT;
00121 }
|
|
||||||||||||
|
Implements IValsTool::Visitor. Definition at line 100 of file AnalysisNtupleAlg.cxx. References IValsTool::Visitor::CONT, IValsTool::Visitor::ERROR, IValsTool::Visitor::eVisitorRet, m_ntupleName, and m_ntupleSvc.
00102 {
00103 StatusCode sc;
00104 if (m_ntupleSvc) {
00105 sc = m_ntupleSvc->addItem(m_ntupleName, varName, &value );
00106 if (sc.isFailure()) return IValsTool::Visitor::ERROR;
00107 }
00108 return IValsTool::Visitor::CONT;
00109 }
|
|
||||||||||||
|
Implements IValsTool::Visitor. Definition at line 89 of file AnalysisNtupleAlg.cxx. References IValsTool::Visitor::CONT, IValsTool::Visitor::ERROR, IValsTool::Visitor::eVisitorRet, m_ntupleName, and m_ntupleSvc.
00091 {
00092 StatusCode sc;
00093 if (m_ntupleSvc) {
00094 sc = m_ntupleSvc->addItem(m_ntupleName, varName, &value );
00095 if (sc.isFailure()) return IValsTool::Visitor::ERROR;
00096 }
00097 return IValsTool::Visitor::CONT;
00098 }
|
|
||||||||||||
|
Implements IValsTool::Visitor. Definition at line 78 of file AnalysisNtupleAlg.cxx. References IValsTool::Visitor::CONT, IValsTool::Visitor::ERROR, IValsTool::Visitor::eVisitorRet, m_ntupleName, and m_ntupleSvc.
00080 {
00081 StatusCode sc;
00082 if (m_ntupleSvc) {
00083 sc = m_ntupleSvc->addItem(m_ntupleName, varName, &value );
00084 if (sc.isFailure()) return IValsTool::Visitor::ERROR;
00085 }
00086 return IValsTool::Visitor::CONT;
00087 }
|
|
||||||||||||
|
callback to send varnames and values to the client
Implements IValsTool::Visitor. Definition at line 67 of file AnalysisNtupleAlg.cxx. References IValsTool::Visitor::CONT, IValsTool::Visitor::ERROR, IValsTool::Visitor::eVisitorRet, m_ntupleName, and m_ntupleSvc.
00069 {
00070 StatusCode sc;
00071 if (m_ntupleSvc) {
00072 sc = m_ntupleSvc->addItem(m_ntupleName, varName, &value );
00073 if (sc.isFailure()) return IValsTool::Visitor::ERROR;
00074 }
00075 return IValsTool::Visitor::CONT;
00076 }
|
|
|
name of the ntuple; should be the same as is set in NtupleWriterSvc
Definition at line 62 of file AnalysisNtupleAlg.cxx. Referenced by analysisValue(), and NtupleVisitor(). |
|
|
pointer to the ntuple service
Definition at line 60 of file AnalysisNtupleAlg.cxx. Referenced by analysisValue(), and NtupleVisitor(). |
1.3.3