ATLAS Offline Software
ParticleLevelEvent.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 // Filename: ParticleLevelEvent.h
6 // Description:
7 // Author: Fabian Wilk
8 // Created: Tue Feb 24 17:54:49 2015
9 
10 #ifndef _TOP_PARTICLELEVELEVENT_H_
11 #define _TOP_PARTICLELEVELEVENT_H_
12 
13 #include <string>
14 #include <unordered_map>
15 #include <iostream>
16 
18 #include "xAODJet/JetContainer.h"
21 #include "TopEvent/Event.h"
22 
23 namespace top {
25  public:
27  : m_info(nullptr),
28  m_electrons(nullptr),
29  m_muons(nullptr),
30  m_photons(nullptr),
31  m_jets(nullptr),
33  m_largeRJets(nullptr),
34  m_met(nullptr),
36 
37 
40 
43 
46 
49 
52 
55 
58 
60  mutable std::unordered_map< std::string, std::shared_ptr<xAOD::JetContainer> > m_VarRCJets;
61 
64 
67 
68  // Pointer to truth level MET
70 
71  // Maps from the name of an event selection line to the result of
72  // applying that event selection onto this ParticleLevelEvent. At the
73  // moment, the mapped value (albeit being of type 'int') is inteded just
74  // as a true / false statement. Must be mutable because the
75  // EventSelectionManager will modify it.
76  mutable std::unordered_map<std::string, int> m_selectionDecisions;
77  };
78 }
79 
81 std::ostream& operator << (std::ostream& os, const top::ParticleLevelEvent& plEvent);
82 
83 #endif /* _TOP_PARTICLELEVELEVENT_H_ */
top::ParticleLevelEvent::m_muons
const xAOD::TruthParticleContainer * m_muons
Pointer to truth level muons.
Definition: ParticleLevelEvent.h:45
top::ParticleLevelEvent::m_info
const xAOD::EventInfo * m_info
Pointer to the event info object.
Definition: ParticleLevelEvent.h:39
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
top::ParticleLevelEvent::m_selectionDecisions
std::unordered_map< std::string, int > m_selectionDecisions
Definition: ParticleLevelEvent.h:76
SG::VIEW_ELEMENTS
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Definition: OwnershipPolicy.h:18
TruthParticleContainer.h
top::ParticleLevelEvent::m_jets
const xAOD::JetContainer * m_jets
Pointer to truth level jets.
Definition: ParticleLevelEvent.h:54
top::ParticleLevelEvent::m_taus
const xAOD::TruthParticleContainer * m_taus
Pointer to truth level photons.
Definition: ParticleLevelEvent.h:66
top::ParticleLevelEvent::m_largeRJets
const xAOD::JetContainer * m_largeRJets
Pointer to the truth level large R jets.
Definition: ParticleLevelEvent.h:63
top::ParticleLevelEvent::m_RCJets
xAOD::JetContainer m_RCJets
Container of recluster jets (can be sorted)
Definition: ParticleLevelEvent.h:57
top::ParticleLevelEvent::m_VarRCJets
std::unordered_map< std::string, std::shared_ptr< xAOD::JetContainer > > m_VarRCJets
Containers of variable-R reclustered jets (can be sorted)
Definition: ParticleLevelEvent.h:60
xAOD::MissingET_v1
Principal data object for Missing ET.
Definition: MissingET_v1.h:25
top::ParticleLevelEvent
Definition: ParticleLevelEvent.h:24
top::ParticleLevelEvent::ParticleLevelEvent
ParticleLevelEvent()
Definition: ParticleLevelEvent.h:26
Event.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
operator<<
std::ostream & operator<<(std::ostream &os, const top::ParticleLevelEvent &plEvent)
Ostream overload operator.
Definition: ParticleLevelEvent.cxx:7
MissingET.h
top::ParticleLevelEvent::m_electrons
const xAOD::TruthParticleContainer * m_electrons
Pointer to truth level electrons.
Definition: ParticleLevelEvent.h:42
EventInfo.h
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
JetContainer.h
top::ParticleLevelEvent::m_photons
const xAOD::TruthParticleContainer * m_photons
Pointer to truth level photons.
Definition: ParticleLevelEvent.h:51
top::ParticleLevelEvent::m_softmuons
const xAOD::TruthParticleContainer * m_softmuons
Pointer to truth level soft-muons.
Definition: ParticleLevelEvent.h:48
top::ParticleLevelEvent::m_met
const xAOD::MissingET * m_met
Definition: ParticleLevelEvent.h:69