20#include "GaudiKernel/INTupleSvc.h"
21#include "GaudiKernel/IDataProviderSvc.h"
22#include "GaudiKernel/SmartDataPtr.h"
68 ATH_MSG_INFO(
"TileMuonReceiverDecisionToNtuple::initialize begins" );
77 return StatusCode::FAILURE;
81 CLID_ColumnWiseTuple,
"Tile Muon Receiver Ntuple");
126 return StatusCode::SUCCESS;
148 const std::vector<float> & thresh = (*it)->GetThresholds();
151 if (thresh.size()==4){
152 ATH_MSG_VERBOSE(
" thresholds: "<< thresh[0] <<
" "<< thresh[1] <<
" "<< thresh[2] <<
" "<< thresh[3] );
158 ATH_MSG_WARNING(
" unexpected thresholds vector size: "<< thresh.size());
174 for(; it != end; ++it) {
187 int id = obj->GetID();
189 int module =
id - 100*part;
200 const std::vector<float> & ene = obj->GetEne();
214 const std::vector<float> & time = obj->GetTime();
228 const std::vector<bool> & decision = obj->GetDecision();
230 if (decision.size()==4){
231 ATH_MSG_DEBUG(
" decision: "<< decision[0] <<
" "<< decision[1] <<
" "<< decision[2] <<
" "<< decision[3]) ;
237 ATH_MSG_WARNING(
" unexpected decision vector size: "<< decision.size()) ;
256 return StatusCode::SUCCESS;
263 return StatusCode::SUCCESS;
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_WARNING(x)
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
TileContainer< TileMuonReceiverObj > TileMuonReceiverContainer
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
const_iterator begin() const noexcept
size_type size() const noexcept
NTuple::Array< bool > m_trigbit2
std::string m_TileMuRcvContainer
NTuple::Item< float > m_thershold_hi_d5andd6
NTuple::Array< float > m_energy_D5andD6
NTuple::Array< bool > m_trigbit0
NTuple::Item< float > m_thershold_lo_d6
NTuple::Array< float > m_time_D6
NTuple::Array< bool > m_trigbit1
NTuple::Item< float > m_thershold_lo_d5andd6
NTuple::Array< int > m_module
NTuple::Array< int > m_partition
NTuple::Item< float > m_thershold_hi_d6
NTuple::Tuple * m_ntuplePtr
NTuple::Array< bool > m_trigbit3
virtual ~TileMuonReceiverDecisionToNtuple()
NTuple::Item< int > m_nTrigInput
NTuple::Array< float > m_time_D5andD6
TileMuonReceiverDecisionToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Array< float > m_energy_D6