|
ATLAS Offline Software
|
Go to the documentation of this file.
34 return StatusCode::SUCCESS ;
46 TChain* outfit =
new TChain(
"outfit");
48 outfit->Add(
s.c_str());
59 outfit->SetBranchAddress(
"Channel", &
Channel);
60 outfit->SetBranchAddress(
"Slot", &Slot);
61 outfit->SetBranchAddress(
"FT", &
FT);
62 outfit->SetBranchAddress(
"BarAC", &BarAC);
63 outfit->SetBranchAddress(
"PhysOCal", &PhysOCal);
76 Long64_t
nentries = outfit->GetEntries();
81 container->
set(
id,
gain,PhysOCal);
91 ATH_MSG_INFO (
"LArMphysOverMcalyFromTuple finalized!" );
93 return StatusCode::SUCCESS;
void set(const HWIdentifier &CellID, int gain, float vMphysOverMcal)
def retrieve(aClass, aKey=None)
Identifier32::value_type Channel
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::string m_store_key
key of the PhysWave collection in StoreGate
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
This class implements the ILArMphysOverMcal interface.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< std::string > m_root_file_names
list of input ntuple file names
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields
StatusCode initialize()
implements IAlgorithm::initialize()
~LArMphysOverMcalFromTuple()
virtual StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
LArMphysOverMcalFromTuple(const std::string &name, ISvcLocator *pSvcLocator)