Loading [MathJax]/jax/output/SVG/config.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
47 return StatusCode::SUCCESS;
58 return StatusCode::SUCCESS;
68 return StatusCode::FAILURE;
79 typedef std::vector<Identifier>::const_iterator It;
85 if (!
id.is_valid())
continue;
95 std::sprintf(
name,
"shap%.9d_%.1d%.1d%.1d%.1d%.3d%.3d",
105 unsigned sz1 = shape.size();
106 unsigned sz2 = shapeder.size();
110 for (
unsigned int i=0;
i < sz1;
i++)
111 h1->SetBinContent (
i+1, shape[
i]);
112 for (
unsigned int i=0;
i <
sz2;
i++) {
113 double der = shapeder[
i];
116 if (std::abs(der) > 1e10) der = 1e10;
117 h1->SetBinContent (
i+sz1+1, der);
128 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
int phi(const Identifier id) const
return phi according to :
LArDumpShapes(const std::string &name, ISvcLocator *svcloc)
Standard Algorithm constructor.
std::string m_filename
JO property: The nmae of the ROOT file to create.
const LArEM_ID * em_idHelper() const
access to EM idHelper
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual ShapeRef_t ShapeDer(const HWIdentifier &id, int gain, int tbin=0, int mode=0) const =0
int m_gain
JO property: The desired gain.
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
int region(const Identifier id) const
return region according to :
int sampling(const Identifier id) const
return sampling according to :
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool is_valid() const
Check if id is in a valid state.
value_type get_compact() const
Get the compact id.
int eta(const Identifier id) const
return eta according to :
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
StatusCode initialize()
Standard algorithm methods.
StatusCode execute()
Standard Gaudi execute method.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool m_first
True for the first event.
#define CHECK(...)
Evaluate an expression and check for errors.
Helper class for offline cell identifiers.
Helpers for checking error return status codes and reporting errors.
int barrel_ec(const Identifier id) const
return barrel_ec according to :
StatusCode initialize(bool used=true)
id_iterator em_end(void) const
end iterator over full set of EM Identifiers
Dump out shape information to a ROOT file.
id_iterator em_begin(void) const
begin iterator over full set of EM Identifiers
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Helper class for LArEM offline identifiers.
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Proxy for accessing a range of float values like a vector.
virtual ShapeRef_t Shape(const HWIdentifier &id, int gain, int tbin=0, int mode=0) const =0