Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
32 return StatusCode::SUCCESS ;
52 ATH_MSG_WARNING (
" Too many points specified vs the expected content of the ntuple ! " );
60 Double_t Amplitude[2000];
62 outfit->SetBranchAddress(
"channelId", &
channelId);
63 outfit->SetBranchAddress(
"timeIndex", &tIndex);
64 outfit->SetBranchAddress(
"Amplitude", Amplitude);
65 outfit->SetBranchAddress(
"Time", Time);
73 Long64_t
nentries = outfit->GetEntries();
82 unsigned int skipped = 0;
85 double dt=Time[1]-Time[0];
86 for (
unsigned int i = 0;
i <
limit;
i++ )
88 if(
i>1 && Time[
i] - Time[
i-1] !=
dt) {
90 return StatusCode::FAILURE;
107 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
void setPdata(const HWIdentifier id, const T &payload, unsigned int gain=0)
put payload in persistent data
Gaudi::Property< int > m_gain
Gaudi::Property< std::string > m_groupingType
Grouping type. Default is Feedthrough.
Gaudi::Property< std::string > m_store_key
key of the PhysWave collection in Storegate
Liquid Argon Physics Wave Container.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Gaudi::Property< unsigned int > m_flag
flag for the PhysWave container
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_root_file_name
input file name
Gaudi::Property< std::string > m_ntuple_name
ntuple name
virtual StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
#define ATH_MSG_WARNING(x)
Gaudi::Property< unsigned int > m_prefixPoints
make a PhysWave with the first m_prefixPoints as zeros
Gaudi::Property< unsigned int > m_NPoints
max number of points of the waveform in the ntuple
Gaudi::Property< unsigned int > m_skipPoints
the first m_skipPoints points of the waveform in the ntuple are skipped
LArPhysWaveFromTuple(const std::string &name, ISvcLocator *pSvcLocator)