Class TBCaloCoolPosTool.
More...
#include <TBCaloCoolPosTool.h>
|
| | TBCaloCoolPosTool (const std::string &type, const std::string &name, const IInterface *parent) |
| virtual | ~TBCaloCoolPosTool () |
| virtual StatusCode | initialize () |
| virtual StatusCode | finalize () |
| virtual void | handle (const Incident &) |
| virtual double | eta () |
| | access eta value
|
| virtual double | theta () |
| | access eta value
|
| virtual double | z () |
| | access eta value
|
| virtual double | delta () |
| | access eta value
|
Class TBCaloCoolPosTool.
Implementation of ITBCaloPosTool using COOL
Feb 6, 2006 Richard Hawkings
Definition at line 25 of file TBCaloCoolPosTool.h.
◆ TBCaloCoolPosTool()
| TBCaloCoolPosTool::TBCaloCoolPosTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ ~TBCaloCoolPosTool()
| TBCaloCoolPosTool::~TBCaloCoolPosTool |
( |
| ) |
|
|
virtual |
◆ ATLAS_NOT_THREAD_SAFE()
| bool initHandles TBCaloCoolPosTool::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ delta()
| double TBCaloCoolPosTool::delta |
( |
| ) |
|
|
virtual |
access eta value
Definition at line 149 of file TBCaloCoolPosTool.cxx.
150{
152 try {
153 d=(* m_deltaTable)[
"delta"].data<
float>();
154 }
155 catch (const std::exception& ex) {
157 return 0 ;
158 }
160}
◆ eta()
| double TBCaloCoolPosTool::eta |
( |
| ) |
|
|
virtual |
access eta value
Definition at line 110 of file TBCaloCoolPosTool.cxx.
111{
113 try {
114 e=(* m_etaTable)[
"eta"].data<
float>();
115 }
116 catch (const std::exception& ex) {
118 return 0 ;
119 }
121}
◆ finalize()
| StatusCode TBCaloCoolPosTool::finalize |
( |
| ) |
|
|
virtual |
◆ handle()
| void TBCaloCoolPosTool::handle |
( |
const Incident & | | ) |
|
|
virtual |
Definition at line 52 of file TBCaloCoolPosTool.cxx.
53{
54
55
58
59 if( initHandles() ) {
61 } else
62 {
63 ATH_MSG_ERROR (
" unable initialize DataHandle in BeginRun Incident " );
64 }
65 }
66
67 return;
68}
◆ initialize()
| StatusCode TBCaloCoolPosTool::initialize |
( |
| ) |
|
|
virtual |
Definition at line 33 of file TBCaloCoolPosTool.cxx.
34{
36
37 if( initHandles() ) {
39 } else
40 {
41
42 ServiceHandle<IIncidentSvc> incSvc(
"IncidentSvc",
name());
44 const int PRIORITY = 100;
45 incSvc->addListener(this, "BeginRun", PRIORITY);
46 }
47
48 return StatusCode::SUCCESS;
49}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ theta()
| double TBCaloCoolPosTool::theta |
( |
| ) |
|
|
virtual |
access eta value
Definition at line 123 of file TBCaloCoolPosTool.cxx.
124{
126 try {
127 t=(* m_thetaTable)[
"theta"].data<
float>();
128 }
129 catch (const std::exception& ex) {
131 return 0 ;
132 }
134}
◆ z()
| double TBCaloCoolPosTool::z |
( |
| ) |
|
|
virtual |
access eta value
Definition at line 136 of file TBCaloCoolPosTool.cxx.
137{
139 try {
140 z=(* m_zTable)[
"z"].data<
float>();
141 }
142 catch (const std::exception& ex) {
144 return 0 ;
145 }
147}
virtual double z()
access eta value
◆ m_deltaTable
◆ m_etaTable
◆ m_init
| bool TBCaloCoolPosTool::m_init |
|
private |
◆ m_thetaTable
◆ m_zTable
The documentation for this class was generated from the following files: