ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
SysStreamTest::StreamTestWrapper Class Reference

Wrapper class for testing the streaming of Systematic objects. More...

#include <StreamTestWrapper.h>

Inheritance diagram for SysStreamTest::StreamTestWrapper:
Collaboration diagram for SysStreamTest::StreamTestWrapper:

Public Member Functions

 StreamTestWrapper ()
 Default constructor. More...
 
 StreamTestWrapper (CP::SystematicVariation &, CP::SystematicSet &, std::vector< CP::SystematicSet > &)
 Constructor. More...
 
void print ()
 Print the systematics. More...
 
const CP::SystematicVariationsysVar ()
 Get the systematics. More...
 
const CP::SystematicSetsysSet ()
 
const std::vector< CP::SystematicSet > & sysList ()
 

Public Attributes

ClassDef(StreamTestWrapper, 1) private CP::SystematicSet m_sysSet
 
std::vector< CP::SystematicSetm_sysList
 

Detailed Description

Wrapper class for testing the streaming of Systematic objects.

Author
Steve Farrell steve.nosp@m.n.fa.nosp@m.rrell.nosp@m.@cer.nosp@m.n.ch

Definition at line 16 of file StreamTestWrapper.h.

Constructor & Destructor Documentation

◆ StreamTestWrapper() [1/2]

SysStreamTest::StreamTestWrapper::StreamTestWrapper ( )
inline

Default constructor.

Definition at line 22 of file StreamTestWrapper.h.

22 {};

◆ StreamTestWrapper() [2/2]

SysStreamTest::StreamTestWrapper::StreamTestWrapper ( CP::SystematicVariation sysVar,
CP::SystematicSet sysSet,
std::vector< CP::SystematicSet > &  sysList 
)

Constructor.

Definition at line 12 of file StreamTestWrapper.cxx.

15  : m_sysVar(sysVar), m_sysSet(sysSet), m_sysList(sysList)
16  {}

Member Function Documentation

◆ print()

void SysStreamTest::StreamTestWrapper::print ( )

Print the systematics.

Definition at line 19 of file StreamTestWrapper.cxx.

20  {
21  std::cout << "StreamTestWrapper: printing my systematics" << std::endl;
22  std::cout << " sysVar: " << m_sysVar.name() << std::endl;
23  std::cout << " sysSet: " << m_sysSet.name() << std::endl;
24  std::cout << " sysList: " << std::endl;
25  for(unsigned int i = 0; i < m_sysList.size(); ++i){
26  if(m_sysList[i].size() == 0)
27  std::cout << " nominal" << std::endl;
28  else
29  std::cout << " " << m_sysList[i].name() << std::endl;
30  }
31  }

◆ sysList()

const std::vector<CP::SystematicSet>& SysStreamTest::StreamTestWrapper::sysList ( )
inline

Definition at line 35 of file StreamTestWrapper.h.

35 { return m_sysList; }

◆ sysSet()

const CP::SystematicSet& SysStreamTest::StreamTestWrapper::sysSet ( )
inline

Definition at line 34 of file StreamTestWrapper.h.

34 { return m_sysSet; }

◆ sysVar()

const CP::SystematicVariation& SysStreamTest::StreamTestWrapper::sysVar ( )
inline

Get the systematics.

Definition at line 33 of file StreamTestWrapper.h.

33 { return m_sysVar; }

Member Data Documentation

◆ m_sysList

std::vector<CP::SystematicSet> SysStreamTest::StreamTestWrapper::m_sysList

Definition at line 43 of file StreamTestWrapper.h.

◆ m_sysSet

ClassDef (StreamTestWrapper, 1) private CP::SystematicSet SysStreamTest::StreamTestWrapper::m_sysSet

Definition at line 42 of file StreamTestWrapper.h.


The documentation for this class was generated from the following files:
SysStreamTest::StreamTestWrapper::m_sysSet
ClassDef(StreamTestWrapper, 1) private CP::SystematicSet m_sysSet
Definition: StreamTestWrapper.h:37
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
SysStreamTest::StreamTestWrapper::sysSet
const CP::SystematicSet & sysSet()
Definition: StreamTestWrapper.h:34
lumiFormat.i
int i
Definition: lumiFormat.py:85
SysStreamTest::StreamTestWrapper::m_sysList
std::vector< CP::SystematicSet > m_sysList
Definition: StreamTestWrapper.h:43
SysStreamTest::StreamTestWrapper::sysList
const std::vector< CP::SystematicSet > & sysList()
Definition: StreamTestWrapper.h:35
SysStreamTest::StreamTestWrapper::sysVar
const CP::SystematicVariation & sysVar()
Get the systematics.
Definition: StreamTestWrapper.h:33