ATLAS Offline Software
Loading...
Searching...
No Matches
CaloJetInput.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrigConf_CaloJetInput
6#define TrigConf_CaloJetInput
7
8#include <iosfwd>
9#include <string>
11
12namespace TrigConf {
13
15
16 public:
17
18 CaloJetInput( const std::string& name,
19 unsigned int version,
20 const std::string& type,
21 int ptcut,
22 int phimin,
23 int phimax,
24 int etamin,
25 int etamax);
27
28 virtual ~CaloJetInput() override = default;
29
30 // getters
31 const std::string& type() const { return m_Type; }
32 int ptcut() const { return m_Ptcut; }
33 int phimin() const { return m_PhiMin; }
34 int phimax() const { return m_PhiMax; }
35 int etamin() const { return m_EtaMin; }
36 int etamax() const { return m_EtaMax; }
37
38 // setters
39 void setType( const std::string& type ) { m_Type = type; }
40 void setPtcut( int ptcut ) { m_Ptcut = ptcut; }
41 void setPhiMin( int phimin ) { m_PhiMin = phimin; }
42 void setPhiMax( int phimax ) { m_PhiMax = phimax; }
43 void setEtaMin( int etamin ) { m_EtaMin = etamin; }
44 void setEtaMax( int etamax ) { m_EtaMax = etamax; }
45
46 virtual void print(const std::string& indent="", unsigned int detail=1) const override;
47
48 private:
49
50 std::string m_Type;
56
57 };
58
59}
60
61#endif
62
CaloJetInput(const std::string &name, unsigned int version, const std::string &type, int ptcut, int phimin, int phimax, int etamin, int etamax)
void setEtaMin(int etamin)
const std::string & type() const
void setEtaMax(int etamax)
void setType(const std::string &type)
void setPtcut(int ptcut)
virtual void print(const std::string &indent="", unsigned int detail=1) const override
void setPhiMax(int phimax)
void setPhiMin(int phimin)
virtual ~CaloJetInput() override=default
std::ostream & indent(std::ostream &o, int lvl, int size) const
unsigned int version() const
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22