ATLAS Offline Software
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):
15 #include "AthenaKernel/CLASS_DEF.h"
16 
17 // Local include(s):
23 
43 class LVL1_ROI {
44 
45 public:
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; }
71  const energysums_type & getEnergySumROIs () const { return m_energysumROIs; }
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 
87 private:
93 
94 }; // class LVL1_ROI
95 
96 CLASS_DEF( LVL1_ROI, 6771448, 1 )
97 
98 #endif // ANALYSISTRIGGEREVENT_LVL1_ROI_H
LVL1_ROI::getMuonROIs
const muons_type & getMuonROIs() const
Get all the muon RoIs in the event.
Definition: LVL1_ROI.h:63
LVL1_ROI::m_emtauROIs
emtaus_type m_emtauROIs
Vector of em/tau RoIs.
Definition: LVL1_ROI.h:89
LVL1_ROI::m_jetROIs
jets_type m_jetROIs
Vector of jet RoIs.
Definition: LVL1_ROI.h:90
LVL1_ROI::addJetROI
void addJetROI(const jets_type::value_type roi)
Add a jet RoI to the object.
Definition: LVL1_ROI.h:78
Muon_ROI.h
LVL1_ROI::jets_type
std::vector< Jet_ROI > jets_type
Type storing jet RoIs.
Definition: LVL1_ROI.h:56
EmTau_ROI.h
LVL1_ROI::addEmTauROI
void addEmTauROI(const emtaus_type::value_type roi)
Add an em/tau RoI to the object.
Definition: LVL1_ROI.h:76
LVL1_ROI::m_energysumROIs
energysums_type m_energysumROIs
Vector of energy sum RoIs.
Definition: LVL1_ROI.h:92
LVL1_ROI::muons_type
std::vector< Muon_ROI > muons_type
Type storing muon RoIs.
Definition: LVL1_ROI.h:52
LVL1_ROI::addMuonROI
void addMuonROI(const muons_type::value_type roi)
Add a muon RoI to the object.
Definition: LVL1_ROI.h:74
LVL1_ROI::LVL1_ROI
LVL1_ROI()
Constructor.
Definition: LVL1_ROI.cxx:14
LVL1_ROI::energysums_type
std::vector< EnergySum_ROI > energysums_type
Type storing energy sum RoIs.
Definition: LVL1_ROI.h:60
LVL1_ROI::addJetETROI
void addJetETROI(const jetets_type::value_type roi)
Add a jet-ET RoI to the object.
Definition: LVL1_ROI.h:80
LVL1_ROI::~LVL1_ROI
~LVL1_ROI()
Destructor.
Definition: LVL1_ROI.cxx:23
LVL1_ROI::getJetROIs
const jets_type & getJetROIs() const
Get all the jet RoIs in the event.
Definition: LVL1_ROI.h:67
LVL1_ROI::addEnergySumROI
void addEnergySumROI(const energysums_type::value_type roi)
Add an energy sum RoI to the object.
Definition: LVL1_ROI.h:82
LVL1_ROI::getJetEtROIs
const jetets_type & getJetEtROIs() const
Get all the jet-ET RoIs in the event.
Definition: LVL1_ROI.h:69
LVL1_ROI
Top level AOD object storing LVL1 RoIs.
Definition: LVL1_ROI.h:43
JetET_ROI.h
LVL1_ROI::m_jetetROIs
jetets_type m_jetetROIs
Vector of jet-ET RoIs.
Definition: LVL1_ROI.h:91
LVL1_ROI::emtaus_type
std::vector< EmTau_ROI > emtaus_type
Type storing em/tau RoIs.
Definition: LVL1_ROI.h:54
LVL1_ROI::getEnergySumROIs
const energysums_type & getEnergySumROIs() const
Get all the energy sum RoIs in the event.
Definition: LVL1_ROI.h:71
LVL1_ROI::clear
void clear()
Clear all the RoIs from the object.
Definition: LVL1_ROI.cxx:31
LVL1_ROI::jetets_type
std::vector< JetET_ROI > jetets_type
Type storing jet-ET RoIs.
Definition: LVL1_ROI.h:58
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:64
LVL1_ROI::m_muonROIs
muons_type m_muonROIs
Vector of muon RoIs.
Definition: LVL1_ROI.h:88
LVL1_ROI::getEmTauROIs
const emtaus_type & getEmTauROIs() const
Get all the em/tau RoIs in the event.
Definition: LVL1_ROI.h:65
EnergySum_ROI.h
CLASS_DEF.h
macros to associate a CLID to a type
Jet_ROI.h