  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   16   m_ntpath  = 
"/NTUPLES/FILE1/LARDIGITS";  
 
   30        ATH_MSG_FATAL(
"Could not run with both standard and acc. digits !!!");
 
   32        return StatusCode::FAILURE;
 
   38   if (
sc!=StatusCode::SUCCESS) {
 
   45      if (
sc!=StatusCode::SUCCESS) {
 
   50      if (
sc!=StatusCode::SUCCESS) {
 
   56        if (
sc!=StatusCode::SUCCESS) {
 
   61        if (
sc!=StatusCode::SUCCESS) {
 
   66        if (
sc!=StatusCode::SUCCESS) {
 
   75      if (
sc!=StatusCode::SUCCESS) {
 
   82   if (
sc!=StatusCode::SUCCESS) {
 
   89     if (
sc!=StatusCode::SUCCESS) {
 
   96   if (
sc!=StatusCode::SUCCESS) {
 
  103     if (
sc!=StatusCode::SUCCESS) {
 
  116        return StatusCode::FAILURE;
 
  122     if (
sc!=StatusCode::SUCCESS) {
 
  128     if (
sc.isFailure()) {
 
  141   return StatusCode::SUCCESS;
 
  148   const EventContext& ctx = Gaudi::Hive::currentContext();
 
  155   unsigned long long thisevent;
 
  156   unsigned long thisbcid       = 0;
 
  157   unsigned long thisELVL1Id    = 0;
 
  159   thisevent    = ctx.eventID().event_number();
 
  171       thisELVL1Id   = (*hdrCont->
begin())->ELVL1Id();
 
  176     thisbcid       = ctx.eventID().bunch_crossing_id();
 
  183       return StatusCode::SUCCESS;
 
  189     if(!hdlDigit.
cptr()) {
 
  191        return StatusCode::SUCCESS;
 
  194     for( 
const LArDigit *digi : DigitContainer ){
 
  200       unsigned int trueMaxSample       = digi->nsamples();
 
  208           ATH_MSG_WARNING( 
"The number of digi samples in data is larger than the one specified by JO: " << trueMaxSample << 
" > " << 
m_Nsamples << 
" --> only " << 
m_Nsamples << 
" will be available in the ntuple " );
 
  215           ATH_MSG_WARNING( 
"The number of digi samples in data is lower than the one specified by JO: " << trueMaxSample << 
" > " << 
m_Nsamples << 
" --> only " << trueMaxSample << 
" will be available in the ntuple " );
 
  251       for(
unsigned i =  0; 
i<trueMaxSample;++
i) 
m_samples[
i]       = digi->samples().at(
i);
 
  262       return StatusCode::SUCCESS;
 
  268     if(!hdlDigit.
cptr()) {
 
  270        return StatusCode::SUCCESS;
 
  279       unsigned int trueMaxSample       = digi->nsamples();
 
  287           ATH_MSG_WARNING( 
"The number of digi samples in data is larger than the one specified by JO: " << trueMaxSample << 
" > " << 
m_Nsamples << 
" --> only " << 
m_Nsamples << 
" will be available in the ntuple " );
 
  294           ATH_MSG_WARNING( 
"The number of digi samples in data is lower than the one specified by JO: " << trueMaxSample << 
" > " << 
m_Nsamples << 
" --> only " << trueMaxSample << 
" will be available in the ntuple " );
 
  317       for(
unsigned i =  0; 
i<trueMaxSample;++
i) {
 
  335       return StatusCode::SUCCESS;
 
  341     if(!hdlDigit.
cptr()) {
 
  343        return StatusCode::SUCCESS;
 
  352       unsigned int trueMaxSample = digi->nsample();
 
  361           ATH_MSG_WARNING( 
"The number of digi samples in data is larger than the one specified by JO: " << trueMaxSample << 
" > " << 
m_Nsamples << 
" --> only " << 
m_Nsamples << 
" will be available in the ntuple " );
 
  367           ATH_MSG_WARNING( 
"The number of digi samples in data is lower than the one specified by JO: " << trueMaxSample << 
" > " << 
m_Nsamples << 
" --> only " << trueMaxSample << 
" will be available in the ntuple " );
 
  390       for(
unsigned i =  0; 
i<trueMaxSample;++
i) {
 
  401      m_LB       = ctx.eventID().lumi_block();
 
  404      if (
sc != StatusCode::SUCCESS) {
 
  411   return StatusCode::SUCCESS;
 
  
Data class for calibration ADC samples preprocessed by the DSP.
 
SG::ReadHandleKey< LArFebHeaderContainer > m_LArFebHeaderContainerKey
 
NTuple::Item< unsigned int > m_dac
 
NTuple::Item< unsigned long long > m_IEventEvt
 
Container class for LArAccumulatedDigit.
 
std::string find(const std::string &s)
return a remapped string
 
const_pointer_type cptr()
Dereference the pointer.
 
NTuple::Item< long > m_slot
 
NTuple::Item< long > m_pos_neg
 
LArDigits2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
 
Gaudi::Property< unsigned int > m_Nsamples
 
Gaudi::Property< bool > m_fillBCID
 
Gaudi::Property< bool > m_fillEMB
 
Gaudi::Property< bool > m_fillLB
 
Gaudi::Property< bool > m_fillEndcap
 
NTuple::Item< unsigned long long > m_IEvent
 
const std::string & key() const
Return the StoreGate ID for the referenced object.
 
NTuple::Item< long > m_ntNsamples
 
NTuple::Item< unsigned long > m_ELVL1Id
 
NTuple::Item< long > m_barrel_ec
 
Gaudi::Property< std::vector< unsigned int > > m_FTlist
 
NTuple::Item< short > m_bcid
 
Data class for ADC samples and autocorr preprocessed by the DSP.
 
NTuple::Array< float > m_RMS
 
virtual StatusCode execute()
 
NTuple::Item< unsigned int > m_pulsed
 
Liquid Argon digit base class.
 
NTuple::Item< short > m_gain
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
SG::ReadHandleKey< LArAccumulatedDigitContainer > m_accContKey
 
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
 
virtual bool isValid() override final
Can the handle be successfully dereferenced?
 
Gaudi::Property< std::vector< unsigned int > > m_Slotlist
 
SG::ReadHandleKey< LArDigitContainer > m_contKey
 
bool fillFromIdentifier(const HWIdentifier &id)
 
virtual StatusCode initialize()
 
#define ATH_MSG_WARNING(x)
 
NTuple::Item< unsigned int > m_delay
 
Gaudi::Property< bool > m_isSC
 
NTuple::Array< float > m_mean
 
NTuple::Array< short > m_samples
 
Container class for LArDigit.
 
Gaudi::Property< std::vector< unsigned int > > m_Sidelist
 
SG::ReadHandleKey< LArAccumulatedCalibDigitContainer > m_accCalibContKey
 
Gaudi::Property< std::vector< unsigned int > > m_BElist
 
Container class for LArAccumulatedCalibDigit.
 
NTuple::Item< long > m_FT
 
NTuple::Item< short > m_LB
 
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.