ATLAS Offline Software
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
GeneratorPhysVal::GeneratorEventInfo::check_eventNumber
void check_eventNumber(SG::ReadHandle< xAOD::EventInfo > evt)
Definition:
GeneratorEventInfo.cxx:16
PlotBase
Definition:
PlotBase.h:34
SG::ReadHandle
Definition:
StoreGate/StoreGate/ReadHandle.h:70
GeneratorPhysVal::GeneratorEventInfo::m_sType
std::string m_sType
Definition:
GeneratorEventInfo.h:27
python.copyTCTOutput.sDir
sDir
Definition:
copyTCTOutput.py:60
LArG4FSStartPointFilter.evt
evt
Definition:
LArG4FSStartPointFilter.py:42
GeneratorPhysVal::GeneratorEventInfo::GeneratorEventInfo
GeneratorEventInfo(PlotBase *pParent, const std::string &sDir, const std::string &sType="")
Definition:
GeneratorEventInfo.cxx:8
GeneratorPhysVal::GeneratorEventInfo
Definition:
GeneratorEventInfo.h:15
GeneratorPhysVal::GeneratorEventInfo::check_mcChannelNumber
int check_mcChannelNumber(SG::ReadHandle< xAOD::EventInfo > evt, int ref)
Definition:
GeneratorEventInfo.cxx:21
GeneratorPhysVal::GeneratorEventInfo::m_mc_ChannelNumber
TH1 * m_mc_ChannelNumber
Definition:
GeneratorEventInfo.h:24
EventInfo.h
ref
const boost::regex ref(r_ef)
GeneratorPhysVal::GeneratorEventInfo::m_event_number
TH1 * m_event_number
Definition:
GeneratorEventInfo.h:23
GeneratorPhysVal
Definition:
GeneratorEventInfo.cxx:7
ReadHandle.h
Handle class for reading from StoreGate.
PlotBase.h
Generated on Fri Jan 10 2025 21:10:36 for ATLAS Offline Software by
1.8.18