ATLAS Offline Software
SystematicEvent.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3  */
4 #ifndef ANALYSISTOP_TOPEVENT_SYSTEMATICEVENT_H
5 #define ANALYSISTOP_TOPEVENT_SYSTEMATICEVENT_H
6 
7 // EDM include(s).
9 #include "xAODCore/CLASS_DEF.h"
10 
11 // System include(s).
12 #include <vector>
13 
14 namespace xAOD {
15 
28 
29  public:
31  SystematicEvent() = default;
32 
34  std::size_t hashValue() const;
36  void setHashValue(std::size_t);
37 
39  unsigned int ttreeIndex() const;
41  void setTtreeIndex(unsigned int);
42 
44  char isLooseEvent() const;
46  void setIsLooseEvent(char);
47 
49  const std::vector<unsigned int>& goodPhotons() const;
51  void setGoodPhotons(const std::vector<unsigned int>&);
52 
54  const std::vector<unsigned int>& goodElectrons() const;
56  void setGoodElectrons(const std::vector<unsigned int>&);
57 
59  const std::vector<unsigned int>& goodFwdElectrons() const;
61  void setGoodFwdElectrons(const std::vector<unsigned int>&);
62 
64  const std::vector<unsigned int>& goodMuons() const;
66  void setGoodMuons(const std::vector<unsigned int>&);
67 
69  const std::vector<unsigned int>& goodSoftMuons() const;
71  void setGoodSoftMuons(const std::vector<unsigned int>&);
72 
74  const std::vector<unsigned int>& goodTaus() const;
76  void setGoodTaus(const std::vector<unsigned int>&);
77 
79  const std::vector<unsigned int>& goodJets() const;
81  void setGoodJets(const std::vector<unsigned int>&);
82 
84  const std::vector<unsigned int>& goodLargeRJets() const;
86  void setGoodLargeRJets(const std::vector<unsigned int>&);
87 
89  const std::vector<unsigned int>& goodTrackJets() const;
91  void setGoodTrackJets(const std::vector<unsigned int>&);
92 
94  const std::vector<unsigned int>& goodTracks() const;
96  void setGoodTracks(const std::vector<unsigned int>&);
97 
98  }; // class SystematicEvent
99 
100 } // namespace xAOD
101 
102 // Define a ClassID for the type.
103 CLASS_DEF(xAOD::SystematicEvent, 173054021, 1)
104 
105 #endif // not ANALYSISTOP_TOPEVENT_SYSTEMATICEVENT_H
xAOD::SystematicEvent::goodTaus
const std::vector< unsigned int > & goodTaus() const
get Taus
xAOD::SystematicEvent::setGoodPhotons
void setGoodPhotons(const std::vector< unsigned int > &)
set Photons
xAOD::SystematicEvent::goodMuons
const std::vector< unsigned int > & goodMuons() const
get Muons
xAOD::SystematicEvent::goodPhotons
const std::vector< unsigned int > & goodPhotons() const
get Photons
xAOD::SystematicEvent::goodJets
const std::vector< unsigned int > & goodJets() const
get Jets
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
xAOD::SystematicEvent::setGoodJets
void setGoodJets(const std::vector< unsigned int > &)
set Jets
xAOD::SystematicEvent::setGoodMuons
void setGoodMuons(const std::vector< unsigned int > &)
set Muons
xAOD::SystematicEvent::setGoodTaus
void setGoodTaus(const std::vector< unsigned int > &)
set Taus
xAOD::SystematicEvent::setTtreeIndex
void setTtreeIndex(unsigned int)
set ttreeIndex
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::SystematicEvent::setGoodElectrons
void setGoodElectrons(const std::vector< unsigned int > &)
set Electrons
xAOD::SystematicEvent::setGoodTracks
void setGoodTracks(const std::vector< unsigned int > &)
set Tracks
xAOD::SystematicEvent::hashValue
std::size_t hashValue() const
get hash value
xAOD::SystematicEvent::isLooseEvent
char isLooseEvent() const
get isLooseEvent
xAOD::SystematicEvent::goodTracks
const std::vector< unsigned int > & goodTracks() const
get Tracks
xAOD::SystematicEvent::setHashValue
void setHashValue(std::size_t)
set hash value
xAOD::SystematicEvent::ttreeIndex
unsigned int ttreeIndex() const
get ttreeIndex
xAOD::SystematicEvent::setGoodTrackJets
void setGoodTrackJets(const std::vector< unsigned int > &)
set TrackJets
CLASS_DEF.h
File providing the different SG_BASE macros.
xAOD::SystematicEvent::goodLargeRJets
const std::vector< unsigned int > & goodLargeRJets() const
get LargeRJets
xAOD::SystematicEvent
SystematicEvent A simple xAOD class which we can persist into a mini-xAOD The xAOD EDM is way too com...
Definition: SystematicEvent.h:27
xAOD::SystematicEvent::setIsLooseEvent
void setIsLooseEvent(char)
set isLooseEvent
xAOD::SystematicEvent::goodFwdElectrons
const std::vector< unsigned int > & goodFwdElectrons() const
get FWD Electrons
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
xAOD::SystematicEvent::goodElectrons
const std::vector< unsigned int > & goodElectrons() const
get Electrons
xAOD::SystematicEvent::goodTrackJets
const std::vector< unsigned int > & goodTrackJets() const
get TrackJets
xAOD::SystematicEvent::setGoodLargeRJets
void setGoodLargeRJets(const std::vector< unsigned int > &)
set LargeRJets
xAOD::SystematicEvent::setGoodSoftMuons
void setGoodSoftMuons(const std::vector< unsigned int > &)
set Soft Muons
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::SystematicEvent::SystematicEvent
SystematicEvent()=default
Default constructor.
xAOD::SystematicEvent::setGoodFwdElectrons
void setGoodFwdElectrons(const std::vector< unsigned int > &)
set FWD Electrons
xAOD::SystematicEvent::goodSoftMuons
const std::vector< unsigned int > & goodSoftMuons() const
get Soft Muons