ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
CoWTools::VecStream Class Reference

#include <VecStream.h>

Inheritance diagram for CoWTools::VecStream:
Collaboration diagram for CoWTools::VecStream:

Public Member Functions

 VecStream (std::vector< long > &out)
 
 ~VecStream ()
 
virtual void putResults (const CoWRecordStats &)
 

Private Attributes

std::vector< long > & m_out
 

Detailed Description

Definition at line 16 of file VecStream.h.

Constructor & Destructor Documentation

◆ VecStream()

CoWTools::VecStream::VecStream ( std::vector< long > &  out)
inline

Definition at line 18 of file VecStream.h.

18 :m_out(out){}

◆ ~VecStream()

CoWTools::VecStream::~VecStream ( )
inline

Definition at line 19 of file VecStream.h.

19  {
20  };

Member Function Documentation

◆ putResults()

void CoWTools::VecStream::putResults ( const CoWRecordStats res)
virtual

Implements CoWTools::StreamBase.

Definition at line 8 of file VecStream.cxx.

8  {
9  m_out.clear();
10  m_out.resize(7);
11  const long long * vals=res.getValueArray();
12  m_out.at(0)=vals[0];
13  m_out.at(1)=vals[1];
14  m_out.at(2)=vals[2];
15  m_out.at(3)=vals[3]+vals[4];
16  m_out.at(4)=vals[5]+vals[6];
17  m_out.at(5)=vals[8];
18  m_out.at(6)=vals[10];
19 }

Member Data Documentation

◆ m_out

std::vector<long>& CoWTools::VecStream::m_out
private

Definition at line 23 of file VecStream.h.


The documentation for this class was generated from the following files:
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
CoWTools::VecStream::m_out
std::vector< long > & m_out
Definition: VecStream.h:23
PlotCalibFromCool.vals
vals
Definition: PlotCalibFromCool.py:474