|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #include "Identifier/Identifier.h"
23 ISvcLocator* pSvcLocator ) :
24 base_class(
name, pSvcLocator ),
25 m_evtStore(
"StoreGateSvc",
name),
28 m_num_missing_errors(0),
29 m_num_error_errors(0),
31 m_num_robStatus_errors(0),
32 m_tot_num_l1id_errors(0),
33 m_tot_num_bcid_errors(0),
34 m_tot_num_missing_errors(0),
35 m_tot_num_error_errors(0),
36 m_tot_num_sid_errors(0),
37 m_tot_num_robStatus_errors(0)
59 SmartIF<IIncidentSvc> incsvc{service(
"IncidentSvc")};
61 if( incsvc.isValid() )
63 incsvc->addListener(
this,
"BeginEvent",
priority);
67 if ( StatusCode::SUCCESS!=
m_evtStore.retrieve() ) {
69 return StatusCode::FAILURE;
86 return StatusCode::SUCCESS;
108 msg(MSG::INFO) <<
"---------------------------------" <<
endmsg;
109 msg(MSG::INFO) <<
" TRT BS Error Summary" <<
endmsg;
117 msg(MSG::INFO) <<
"---------------------------------" <<
endmsg;
121 return StatusCode::SUCCESS;
191 const std::set<std::pair<uint32_t,uint32_t> > &
195 const std::set<std::pair<uint32_t,uint32_t> > &
ref =
201 const std::set<std::pair<uint32_t,uint32_t> > &
205 const std::set<std::pair<uint32_t,uint32_t> > &
ref =
212 const std::set<std::pair<uint32_t,uint32_t> > &
216 const std::set<std::pair<uint32_t,uint32_t> > &
ref =
223 const std::set<uint32_t> &
233 const std::set<uint32_t> &
243 const std::set<uint32_t> &
299 std::pair<uint32_t, uint32_t> l1id_error( DTMROC_idx, l1id );
310 std::pair<uint32_t, uint32_t> bcid_error( DTMROC_idx,
bcid );
323 std::pair<uint32_t, uint32_t> rob_error( robSourceId, robStatus );
331 std::set<std::pair<uint32_t,uint32_t> > *
345 std::set<std::pair<uint32_t,uint32_t> > *
380 #endif //ifndef SIMULATIONBASE
const std::set< uint32_t > & getMissingErrorSet(void)
void add_sid_error(uint32_t DTMROC_idx)
long long m_tot_num_missing_errors
virtual ~TRT_ByteStream_ConditionsSvc()
Destructor //.
long long m_tot_num_bcid_errors
void add_error_error(uint32_t DTMROC_idx)
const std::set< std::pair< uint32_t, uint32_t > > & getL1idErrorSet(void)
const std::set< std::pair< uint32_t, uint32_t > > & getBcidErrorSet(void)
long long m_tot_num_robStatus_errors
std::set< std::pair< uint32_t, uint32_t > > m_rob_status_errors
long long m_tot_num_error_errors
virtual StatusCode finalize()
Finalize //.
const std::set< std::pair< uint32_t, uint32_t > > & getRobErrorSet(void)
InDet::TRT_CondFlag condSummaryStatus(const Identifier &)
Evaluation for TRT_ConditionsSummarySvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
int m_num_robStatus_errors
std::set< uint32_t > m_bcid_errors
std::set< uint32_t > m_missing_errors
void add_rob_error(uint32_t robSourceId, uint32_t robStatus)
virtual StatusCode initialize()
Initialize //.
const std::set< uint32_t > & getSidErrorSet(void)
void add_missing_error(uint32_t DTMROC_idx)
Service for accessing TRT ByteStream conditions information.
std::set< std::pair< uint32_t, uint32_t > > m_l1id_pair_errors
const std::set< uint32_t > & getErrorErrorSet(void)
long long m_tot_num_sid_errors
setEventNumber setTimeStamp bcid
int getNumberOfErrors(TRTByteStreamErrors::errorTypes ErrType)
std::set< std::pair< uint32_t, uint32_t > > * getIdErrorSet(TRTByteStreamErrors::errorTypes ErrType)
void resetCounts(void)
The following methods are for HLT, to get the numbers of errors per RoI, so won't necessarily match u...
std::set< std::pair< uint32_t, uint32_t > > * getRodRobErrorSet(TRTByteStreamErrors::errorTypes ErrType)
std::set< uint32_t > m_sid_errors
TRT_ByteStream_ConditionsSvc(const std::string &, ISvcLocator *)
Constructor //.
const boost::regex ref(r_ef)
long long m_tot_num_l1id_errors
ServiceHandle< StoreGateSvc > m_evtStore
std::set< uint32_t > * getErrorSet(TRTByteStreamErrors::errorTypes ErrType)
void add_l1id_error(uint32_t DTMROC_idx)
TRT_CondFlag
status flag to be derived from the inheriting tool's conditions info
void handle(const Incident &)
void add_bcid_error(uint32_t DTMROC_idx)
std::set< uint32_t > m_l1id_errors
std::set< std::pair< uint32_t, uint32_t > > m_bcid_pair_errors
std::set< uint32_t > m_error_errors