ATLAS Offline Software
Loading...
Searching...
No Matches
PartialEventBuildingInfo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef XAOD_ANALYSIS
6#pragma once
7#ifndef TRIGSTEERINGEVENT_PARTIALEVENTBUILDINGINFO_H
8#define TRIGSTEERINGEVENT_PARTIALEVENTBUILDINGINFO_H
9#include <set>
10#include <vector>
12#include "eformat/SourceIdentifier.h"
13
15public:
21 void add( uint32_t rob_id );
22
26 void add( const std::vector<uint32_t>& rob_ids );
27
32 void get( std::vector<uint32_t>& rob_ids ) const;
33
34
35
39 void addROB( uint32_t rob_id );
40
44 void addROBs( const std::vector<uint32_t>& rob_ids );
45
50 void getROBs( std::vector<uint32_t>& rob_ids ) const;
51
54 const std::set<uint32_t>& getROBs() const;
55
59 void addSubDetector( eformat::SubDetector id );
60 void addSubDetector( std::vector<eformat::SubDetector> id );
61 void addSubDetector( eformat::SubDetectorGroup id );
62
67 void getSubDetectors( std::vector<eformat::SubDetector>& ids ) const;
68
69
73 const std::set<uint32_t>& getSubDetectors( ) const;
74
78 void clear();
79
83 void merge(const PartialEventBuildingInfo& peb);
84
85
86private:
87 std::set<uint32_t> m_robs;
88 std::set<uint32_t> m_subDetectors;
89};
90
91// removed so the object become an internal steering structure rather than something which can go to SG
92//CLASS_DEF( PartialEventBuildingInfo , 257191353 , 1 )
93
94#endif
95#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