ATLAS Offline Software
Loading...
Searching...
No Matches
PartialEventBuildingInfo.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 XAOD_ANALYSIS
6#ifndef TRIGSTEERINGEVENT_PARTIALEVENTBUILDINGINFO_H
7#define TRIGSTEERINGEVENT_PARTIALEVENTBUILDINGINFO_H
9#include "eformat/SourceIdentifier.h"
10
11#include <set>
12#include <stdint.h>
13#include <vector>
14
16public:
22 void add( uint32_t rob_id );
23
27 void add( const std::vector<uint32_t>& rob_ids );
28
33 void get( std::vector<uint32_t>& rob_ids ) const;
34
35
36
40 void addROB( uint32_t rob_id );
41
45 void addROBs( const std::vector<uint32_t>& rob_ids );
46
51 void getROBs( std::vector<uint32_t>& rob_ids ) const;
52
55 const std::set<uint32_t>& getROBs() const;
56
60 void addSubDetector( eformat::SubDetector id );
61 void addSubDetector( std::vector<eformat::SubDetector> id );
62 void addSubDetector( eformat::SubDetectorGroup id );
63
68 void getSubDetectors( std::vector<eformat::SubDetector>& ids ) const;
69
70
74 const std::set<uint32_t>& getSubDetectors( ) const;
75
79 void clear();
80
84 void merge(const PartialEventBuildingInfo& peb);
85
86
87private:
88 std::set<uint32_t> m_robs;
89 std::set<uint32_t> m_subDetectors;
90};
91
92#endif
93#endif //XAOD_ANALYSIS
macros to associate a CLID to a type
void addSubDetector(eformat::SubDetector id)
add detector to be in partially built event
std::set< uint32_t > m_robs
selected ROBs for partial event building
void addROBs(const std::vector< uint32_t > &rob_ids)
adds collection of robs to partially built event
void clear()
clears the list of ROBs and Dets
void addROB(uint32_t rob_id)
adds ROB to be added to partially built event
std::set< uint32_t > m_subDetectors
selected SubDetectors
void add(uint32_t rob_id)
adds ROB to be added to partially built event
const std::set< uint32_t > & getSubDetectors() const
gets back all SubDetectorss added
const std::set< uint32_t > & getROBs() const
gets back all ROBs added
void get(std::vector< uint32_t > &rob_ids) const
gets back all ROBs added (fills up rob_ids vector given by reference)
Definition merge.py:1