|
ATLAS Offline Software
|
Go to the documentation of this file.
37 return StatusCode::SUCCESS ;
51 outfit->Add(
s.c_str());
67 outfit->SetBranchAddress(
"channelId", &
channelId);
68 outfit->SetBranchAddress(
"FT", &
FT);
69 outfit->SetBranchAddress(
"slot", &slot);
70 outfit->SetBranchAddress(
"channel", &
channel);
71 outfit->SetBranchAddress(
"gain", &
gain);
72 outfit->SetBranchAddress(
"Tcal", &Tcal);
73 outfit->SetBranchAddress(
"Fstep", &Fstep);
74 outfit->SetBranchAddress(
"Offset", &Offset);
75 outfit->SetBranchAddress(
"dTimeCal", &dTimeCal);
76 outfit->SetBranchAddress(
"nCB", &nCB);
77 outfit->SetBranchAddress(
"Omega0", &Omega0);
78 outfit->SetBranchAddress(
"Taur", &Taur);
92 Long64_t
nentries = outfit->GetEntries();
109 larCaliPulseParams->
set(
id,
gain,Tcal,Fstep,Offset,dTimeCal,nCB);
110 larDetCellParams->
set(
id,
gain,Omega0,Taur);
124 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
LArParamsFromStdNtuple(const std::string &name, ISvcLocator *pSvcLocator)
void set(const HWIdentifier &CellID, int gain, float omega0, float taur)
~LArParamsFromStdNtuple()
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
StatusCode initialize()
implements IAlgorithm::initialize()
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
::StatusCode StatusCode
StatusCode definition for legacy code.
This class implements the ILArCaliPulseParams interface.
std::string m_store_key_cali
key of the CaliPulseParams collection in Storegate
void set(const HWIdentifier &CellID, int gain, float tcal, float fstep)
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
virtual StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
std::string m_ntuple_name
ntuple name
std::string m_store_key_det
key of the DetCellParams collection in Storegate
std::vector< std::string > m_root_file_names
list of input ntuple file names
std::string m_groupingType
Grouping type. Default is Feedthrough.
This class implements the ILArDetCellParams interface.