ATLAS Offline Software
SkimDecision.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Header file for class SkimDecision
7 // Author: David Cote, September 2008. <david.cote@cern.ch>
9 #ifndef SKIMDECISION_H
10 #define SKIMDECISION_H
11 
12 #include "AthenaKernel/CLASS_DEF.h"
13 #include <string>
14 
16 {
17  public:
18  // Default Constructor
19  SkimDecision();
20 
21  // Destructor
22  ~SkimDecision();
23 
24  // get() and set() methods
25  const std::string& getName() const { return m_name; }
26  void setName( const std::string& name );
27 
28  bool isAccepted() const { return m_isAccepted; }
29  void setIsAccepted( bool answer );
30 
31  private:
32  std::string m_name;
34 };
35 
36  inline
38  {}
39 
40 //this is automatically generated by: 'clid -m SkimDecision'
41 CLASS_DEF( SkimDecision , 2337118 , 1 )
42 
43 #endif //> SKIMDECISION_H
SkimDecision::setName
void setName(const std::string &name)
Definition: SkimDecision.cxx:21
SkimDecision::isAccepted
bool isAccepted() const
Definition: SkimDecision.h:28
SkimDecision::SkimDecision
SkimDecision()
Constructors.
Definition: SkimDecision.cxx:16
SkimDecision::m_isAccepted
bool m_isAccepted
Definition: SkimDecision.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SkimDecision::m_name
std::string m_name
Definition: SkimDecision.h:32
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
SkimDecision
Definition: SkimDecision.h:16
CLASS_DEF.h
macros to associate a CLID to a type
SkimDecision::getName
const std::string & getName() const
Definition: SkimDecision.h:25
SkimDecision::~SkimDecision
~SkimDecision()
Definition: SkimDecision.h:37
SkimDecision::setIsAccepted
void setIsAccepted(bool answer)
Definition: SkimDecision.cxx:22