ATLAS Offline Software
MuCTPIResult.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 #ifndef TRIGT1RESULT_MUCTPIRESULT_H
8 #define TRIGT1RESULT_MUCTPIRESULT_H
9 
10 // STL include(s):
11 #include <vector>
12 
13 // Local include(s):
14 #include "TrigT1Result/Header.h"
15 #include "TrigT1Result/Trailer.h"
16 #include "TrigT1Result/MuCTPIRoI.h"
17 
18 // Forward declaration(s):
19 class MsgStream;
20 
21 namespace ROIB {
22 
44  class MuCTPIResult {
45 
46  public:
48  MuCTPIResult( Header&& head, Trailer&& trail, std::vector< MuCTPIRoI > &&roIVector );
50  MuCTPIResult();
52  ~MuCTPIResult() = default;
53 
55  MuCTPIResult& operator=(MuCTPIResult&&) noexcept = default;
56 
62  const std::vector< MuCTPIRoI >& roIVec() const;
63 
65 
66  const std::string dump() const;
68  const std::string print(const bool longFormat = false) const;
69 
71  void dumpData() const;
73  void dumpData( MsgStream& ) const;
74 
75  private:
82 
83  }; // class MuCTPIResult
84 
85 } // namespace ROIB
86 
87 #endif // TRIGT1RESULT_MUCTPIRESULT_H
ROIB::MuCTPIResult::MuCTPIResult
MuCTPIResult(MuCTPIResult &&) noexcept=default
ROIB::MuCTPIResult::dumpData
void dumpData() const
Function dumping the stored information to the message stream.
Definition: MuCTPIResult.cxx:140
header
Definition: hcg.cxx:526
Trailer.h
MuCTPIRoI.h
ROIB::MuCTPIResult::m_MuCTPIResultRoIVec
std::vector< MuCTPIRoI > m_MuCTPIResultRoIVec
Variable storing the MuCTPI RoIs collected by the RoIB.
Definition: MuCTPIResult.h:81
ROIB::MuCTPIResult::m_MuCTPIResultTrailer
Trailer m_MuCTPIResultTrailer
Variable storing the trailer for the MuCTPI block.
Definition: MuCTPIResult.h:79
ROIB::MuCTPIResult::~MuCTPIResult
~MuCTPIResult()=default
Destructor.
ROIB::MuCTPIResult::print
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
Definition: MuCTPIResult.cxx:88
ROIB::MuCTPIResult::m_MuCTPIResultHeader
Header m_MuCTPIResultHeader
Variable storing the header for the MuCTPI block.
Definition: MuCTPIResult.h:77
ROIB::MuCTPIRoI
Class for storing the 32-bit muon RoI word.
Definition: MuCTPIRoI.h:39
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
ROIB
Namespace of the LVL1 RoIB simulation.
Definition: ILvl1ResultAccessTool.h:19
ROIB::MuCTPIResult::trailer
const Trailer & trailer() const
Member function returning the trailer.
Definition: MuCTPIResult.cxx:60
ROIB::Header
Header models the LVL1 ROD Header.
Definition: TrigT1Result/TrigT1Result/Header.h:37
vector
Definition: MultiHisto.h:13
ROIB::MuCTPIResult::dump
const std::string dump() const
dump raw object content to string
Definition: MuCTPIResult.cxx:73
head
std::string head(std::string s, const std::string &pattern)
head of a string
Definition: computils.cxx:310
ROIB::MuCTPIResult
Class holding the RoIs from the MuCTPI collected by the RoIB.
Definition: MuCTPIResult.h:44
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
Header.h
ROIB::Trailer
ROIB::Trailer models the LVL1 ROD Trailer.
Definition: Trailer.h:37
ROIB::MuCTPIResult::roIVec
const std::vector< MuCTPIRoI > & roIVec() const
Member function returning the RoI vector.
Definition: MuCTPIResult.cxx:69
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
ROIB::MuCTPIResult::MuCTPIResult
MuCTPIResult()
Default constructor.
Definition: MuCTPIResult.cxx:40