31 (
const std::string&
type,
32 const std::string& name,
33 const IInterface* parent)
57 CHECK(
addVariable (
"channel",
m_channel,
"MBTS counter channel. 0-1, depending on eta. " "Zero is closer to the beam pipe.") );
59 return StatusCode::SUCCESS;
73 CHECK( detStore()->retrieve (tileid) );
86 int module = tileid->module(
id);
92 return StatusCode::SUCCESS;
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
int type(const Identifier &id) const
extract type field from TileTB identifier
int channel(const Identifier &id) const
extract channel field from TileTB identifier
Block filler tool for noisy FEB information.