ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigSteeringEvent
TrigSteeringEvent
GenericResult.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGSTEERINGEVENT_GENERICRESULT_H
6
#define TRIGSTEERINGEVENT_GENERICRESULT_H
7
15
16
#include "
xAODCore/CLASS_DEF.h
"
17
18
#include <stdint.h>
19
#include <vector>
20
21
22
class
GenericResult
{
23
public
:
24
GenericResult
(){}
25
virtual
~GenericResult
(){}
30
virtual
bool
accepted
()
const
= 0;
31
36
virtual
bool
error
()
const
= 0;
37
42
virtual
uint32_t
error_bits
()
const
= 0;
43
44
/*
45
virtual bctime() = 0;
46
virtual char lvl1confirmation() = 0;
47
*/
48
54
virtual
bool
serialize
( std::vector<uint32_t>& output ) = 0;
55
69
virtual
bool
serialize
( uint32_t*& output,
int
& data_size,
const
int
max_size=-1,
const
unsigned
int
mod_id = 0 ) = 0;
70
76
virtual
bool
deserialize
(
const
std::vector<uint32_t>& source ) = 0;
77
83
virtual
bool
deserialize
( uint32_t* source,
int
data_size ) = 0;
84
};
85
86
CLASS_DEF
(
GenericResult
, 102650969, 1)
87
88
#endif
// TRIGSTEERINGEVENT_GENERICRESULT_H
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
CLASS_DEF.h
File providing the different SG_BASE macros.
GenericResult
the interface class for all HLT, CALIB, MONITORING results The class define the interface between PSC...
Definition
GenericResult.h:22
GenericResult::deserialize
virtual bool deserialize(const std::vector< uint32_t > &source)=0
unpacking raw result into the usable high level object
GenericResult::serialize
virtual bool serialize(uint32_t *&output, int &data_size, const int max_size=-1, const unsigned int mod_id=0)=0
the optimized version of the above, works on plain C array the content is the same as in above
GenericResult::deserialize
virtual bool deserialize(uint32_t *source, int data_size)=0
more efficient version of above deserialize, using raw C arrays
GenericResult::serialize
virtual bool serialize(std::vector< uint32_t > &output)=0
get the result of the processing as the raw vector of 32 bit unsigned integers
GenericResult::~GenericResult
virtual ~GenericResult()
Definition
GenericResult.h:25
GenericResult::error_bits
virtual uint32_t error_bits() const =0
bit flags to explain problems during processing
GenericResult::error
virtual bool error() const =0
problems during processing
GenericResult::accepted
virtual bool accepted() const =0
reject or accept
GenericResult::GenericResult
GenericResult()
Definition
GenericResult.h:24
Generated on
for ATLAS Offline Software by
1.17.0