ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1_ROI.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: LVL1_ROI.h,v 1.4 2008-05-08 15:00:11 krasznaa Exp $
8#ifndef ANALYSISTRIGGEREVENT_LVL1_ROI_H
9#define ANALYSISTRIGGEREVENT_LVL1_ROI_H
10
11// STL include(s):
12#include <vector>
13
14// Gaudi/Athena include(s):
16
17// Local include(s):
23
43class LVL1_ROI {
44
45public:
47 LVL1_ROI();
49 ~LVL1_ROI();
50
52 typedef std::vector< Muon_ROI > muons_type;
54 typedef std::vector< EmTau_ROI > emtaus_type;
56 typedef std::vector< Jet_ROI > jets_type;
58 typedef std::vector< JetET_ROI > jetets_type;
60 typedef std::vector< EnergySum_ROI > energysums_type;
61
63 const muons_type & getMuonROIs () const { return m_muonROIs; }
65 const emtaus_type & getEmTauROIs () const { return m_emtauROIs; }
67 const jets_type & getJetROIs () const { return m_jetROIs; }
69 const jetets_type & getJetEtROIs () const { return m_jetetROIs; }
72
74 void addMuonROI ( const muons_type::value_type roi ) { m_muonROIs.push_back( roi ); }
76 void addEmTauROI ( const emtaus_type::value_type roi ) { m_emtauROIs.push_back( roi ); }
78 void addJetROI ( const jets_type::value_type roi ) { m_jetROIs.push_back( roi ); }
80 void addJetETROI ( const jetets_type::value_type roi ) { m_jetetROIs.push_back( roi ); }
82 void addEnergySumROI ( const energysums_type::value_type roi ) { m_energysumROIs.push_back( roi ); }
83
85 void clear();
86
87private:
93
94}; // class LVL1_ROI
95
96CLASS_DEF( LVL1_ROI, 6771448, 1 )
97
98#endif // ANALYSISTRIGGEREVENT_LVL1_ROI_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Top level AOD object storing LVL1 RoIs.
Definition LVL1_ROI.h:43
const emtaus_type & getEmTauROIs() const
Get all the em/tau RoIs in the event.
Definition LVL1_ROI.h:65
void addMuonROI(const muons_type::value_type roi)
Add a muon RoI to the object.
Definition LVL1_ROI.h:74
std::vector< Jet_ROI > jets_type
Type storing jet RoIs.
Definition LVL1_ROI.h:56
std::vector< Muon_ROI > muons_type
Type storing muon RoIs.
Definition LVL1_ROI.h:52
void addEmTauROI(const emtaus_type::value_type roi)
Add an em/tau RoI to the object.
Definition LVL1_ROI.h:76
const energysums_type & getEnergySumROIs() const
Get all the energy sum RoIs in the event.
Definition LVL1_ROI.h:71
std::vector< JetET_ROI > jetets_type
Type storing jet-ET RoIs.
Definition LVL1_ROI.h:58
energysums_type m_energysumROIs
Vector of energy sum RoIs.
Definition LVL1_ROI.h:92
void addJetETROI(const jetets_type::value_type roi)
Add a jet-ET RoI to the object.
Definition LVL1_ROI.h:80
const muons_type & getMuonROIs() const
Get all the muon RoIs in the event.
Definition LVL1_ROI.h:63
LVL1_ROI()
Constructor.
Definition LVL1_ROI.cxx:14
jets_type m_jetROIs
Vector of jet RoIs.
Definition LVL1_ROI.h:90
jetets_type m_jetetROIs
Vector of jet-ET RoIs.
Definition LVL1_ROI.h:91
muons_type m_muonROIs
Vector of muon RoIs.
Definition LVL1_ROI.h:88
void addJetROI(const jets_type::value_type roi)
Add a jet RoI to the object.
Definition LVL1_ROI.h:78
std::vector< EmTau_ROI > emtaus_type
Type storing em/tau RoIs.
Definition LVL1_ROI.h:54
emtaus_type m_emtauROIs
Vector of em/tau RoIs.
Definition LVL1_ROI.h:89
void clear()
Clear all the RoIs from the object.
Definition LVL1_ROI.cxx:31
void addEnergySumROI(const energysums_type::value_type roi)
Add an energy sum RoI to the object.
Definition LVL1_ROI.h:82
std::vector< EnergySum_ROI > energysums_type
Type storing energy sum RoIs.
Definition LVL1_ROI.h:60
const jets_type & getJetROIs() const
Get all the jet RoIs in the event.
Definition LVL1_ROI.h:67
const jetets_type & getJetEtROIs() const
Get all the jet-ET RoIs in the event.
Definition LVL1_ROI.h:69
~LVL1_ROI()
Destructor.
Definition LVL1_ROI.cxx:23