ATLAS Offline Software
Loading...
Searching...
No Matches
PrescaledClock.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#ifndef TrigConf_PrescaledClock
6#define TrigConf_PrescaledClock
7
8#include <iosfwd>
9#include <string>
11
12namespace TrigConf {
14 public:
16 virtual ~PrescaledClock() override = default;
17
18 // setters
19 int clock1() const { return m_clock1; }
20 int clock2() const { return m_clock2; }
21
22 // getters
23 void setClock1( int clock1 ) { m_clock1 = clock1; }
24 void setClock2( int clock2 ) { m_clock2 = clock2; }
25
26 virtual void print(const std::string& indent="", unsigned int detail=1) const override;
27 virtual void writeXML(std::ostream & xmlfile, int indentLevel=0, int indentWidth=2) const;
28
29 private:
32 };
33}
34
35#endif
void setClock2(int clock2)
void setClock1(int clock1)
virtual ~PrescaledClock() override=default
virtual void print(const std::string &indent="", unsigned int detail=1) const override
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
std::ostream & indent(std::ostream &o, int lvl, int size) const
static std::vector< std::string > xmlfile
Definition iLumiCalc.h:29
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22