ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
PhysicsValidation
GeneratorPhysVal
src
GeneratorEventInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef GeneratorPhysValEventInfo_GeneratorEventInfo_H
6
#define GeneratorPhysValEventInfo_GeneratorEventInfo_H
7
8
#include "
TrkValHistUtils/PlotBase.h
"
9
#include "
xAODEventInfo/EventInfo.h
"
10
#include "
StoreGate/ReadHandle.h
"
11
12
namespace
GeneratorPhysVal
13
{
14
class
GeneratorEventInfo
:
public
PlotBase
15
{
16
public
:
17
18
GeneratorEventInfo
(
PlotBase
* pParent,
const
std::string& sDir,
const
std::string& sType =
""
);
19
20
void
check_eventNumber
(
SG::ReadHandle<xAOD::EventInfo>
evt);
21
int
check_mcChannelNumber
(
SG::ReadHandle<xAOD::EventInfo>
evt,
int
ref
);
22
23
TH1*
m_event_number
=
nullptr
;
24
TH1*
m_mc_ChannelNumber
=
nullptr
;
25
26
private
:
27
std::string
m_sType
=
""
;
28
};
29
}
30
31
#endif
ref
const std::regex ref(r_ef)
PlotBase.h
ReadHandle.h
Handle class for reading from StoreGate.
GeneratorPhysVal::GeneratorEventInfo::check_eventNumber
void check_eventNumber(SG::ReadHandle< xAOD::EventInfo > evt)
Definition
GeneratorEventInfo.cxx:16
GeneratorPhysVal::GeneratorEventInfo::GeneratorEventInfo
GeneratorEventInfo(PlotBase *pParent, const std::string &sDir, const std::string &sType="")
Definition
GeneratorEventInfo.cxx:8
GeneratorPhysVal::GeneratorEventInfo::m_mc_ChannelNumber
TH1 * m_mc_ChannelNumber
Definition
GeneratorEventInfo.h:24
GeneratorPhysVal::GeneratorEventInfo::check_mcChannelNumber
int check_mcChannelNumber(SG::ReadHandle< xAOD::EventInfo > evt, int ref)
Definition
GeneratorEventInfo.cxx:21
GeneratorPhysVal::GeneratorEventInfo::m_event_number
TH1 * m_event_number
Definition
GeneratorEventInfo.h:23
GeneratorPhysVal::GeneratorEventInfo::m_sType
std::string m_sType
Definition
GeneratorEventInfo.h:27
PlotBase::PlotBase
PlotBase(PlotBase *parent, std::string_view sDir)
Definition
PlotBase.cxx:29
SG::ReadHandle
Definition
StoreGate/StoreGate/ReadHandle.h:67
GeneratorPhysVal
Definition
GeneratorEventInfo.cxx:7
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0