ATLAS Offline Software
JetEnergyResult.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 /* **********************************************************
6 *
7 * JetEnergyResult is the JetEnergy part of the L1 RDO.
8 * Author: Thomas Schoerner-Sadenius <thomas.schoerner@cern.ch>
9 *
10 ********************************************************** */
11 #ifndef TRIGT1RESULT_JETENERGYRESULT_H
12 #define TRIGT1RESULT_JETENERGYRESULT_H
13 
14 // STL include(s):
15 #include <vector>
16 
17 // Local include(s):
18 #include "TrigT1Result/Header.h"
19 #include "TrigT1Result/Trailer.h"
21 
22 namespace ROIB {
23 
25 
26  public:
27  /* Constructor with header, trailer and RoI vector */
28  JetEnergyResult( Header&&, Trailer&&, std::vector< JetEnergyRoI >&& );
29  /* Empty constructor */
31 
32  /* Member function returning the header */
33  const Header& header() const;
34  /* Member function returning the trailer */
35  const Trailer& trailer() const;
36  /* Member function returning the RoI vector */
37  const std::vector< JetEnergyRoI >& roIVec() const;
38 
40 
41  const std::string dump() const;
43  const std::string print(const bool longFormat = false) const;
44 
45  private:
46  /* Data members - header, trailer and RoI vector */
49  std::vector< JetEnergyRoI > m_JetEnergyResultRoIVec;
50 
51  }; // class JetEnergyResult
52 
53 } // namespace ROIB
54 
55 #endif // TRIGT1RESULT_JETENERGYRESULT_H
Trailer.h
ROIB::JetEnergyResult::JetEnergyResult
JetEnergyResult()
Definition: JetEnergyResult.cxx:25
ROIB::JetEnergyResult::roIVec
const std::vector< JetEnergyRoI > & roIVec() const
Definition: JetEnergyResult.cxx:39
JetEnergyRoI.h
ROIB::JetEnergyResult::print
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
Definition: JetEnergyResult.cxx:58
ROIB
Namespace of the LVL1 RoIB simulation.
Definition: ILvl1ResultAccessTool.h:19
ROIB::JetEnergyResult
Definition: JetEnergyResult.h:24
ROIB::JetEnergyResult::m_JetEnergyResultRoIVec
std::vector< JetEnergyRoI > m_JetEnergyResultRoIVec
raw data content (RoIs)
Definition: JetEnergyResult.h:49
ROIB::Header
Header models the LVL1 ROD Header.
Definition: TrigT1Result/TrigT1Result/Header.h:37
ROIB::JetEnergyResult::m_JetEnergyResultTrailer
Trailer m_JetEnergyResultTrailer
trailer fragment in LVL1 eformat
Definition: JetEnergyResult.h:48
ROIB::JetEnergyResult::dump
const std::string dump() const
dump raw object content to string
Definition: JetEnergyResult.cxx:43
ROIB::JetEnergyResult::header
const Header & header() const
Definition: JetEnergyResult.cxx:31
ROIB::JetEnergyResult::m_JetEnergyResultHeader
Header m_JetEnergyResultHeader
header fragment in LVL1 eformat
Definition: JetEnergyResult.h:47
Header.h
ROIB::Trailer
ROIB::Trailer models the LVL1 ROD Trailer.
Definition: Trailer.h:37
ROIB::JetEnergyResult::trailer
const Trailer & trailer() const
Definition: JetEnergyResult.cxx:35