ATLAS Offline Software
MMLoadVariables.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MMLOADVARIABLES_H
6 #define MMLOADVARIABLES_H
7 
9 #include "TrackRecord/TrackRecordCollection.h" //typedef
10 #include <Math/Vector3D.h>
11 #include <map>
12 #include <cstdint>
13 
14 class McEventCollection;
15 class EventContext;
16 
17 struct evInf_entry{
18  evInf_entry(uint64_t event=0,int pdg=0,double e=0,double p=0,double ieta=0,double peta=0,double eeta=0,double iphi=0,double pphi=0,double ephi=0,
19  double ithe=0,double pthe=0,double ethe=0,double dth=0,int trn=0,int mun=0,const ROOT::Math::XYZVector& tex=ROOT::Math::XYZVector());
20 
22  int pdg_id;
25  ROOT::Math::XYZVector vertex;
26 };
27 
28 class MMLoadVariables : public AthMessaging {
29 
30  public:
32 
33  StatusCode getTruthInfo(const EventContext& ctx,
34  const McEventCollection *truthContainer,
35  const TrackRecordCollection* trackRecordCollection,
36  std::map<std::pair<uint64_t,unsigned int>,evInf_entry>& Event_Info) const;
37 
38  private:
39 };
40 #endif
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
evInf_entry::pt
double pt
Definition: MMLoadVariables.h:23
evInf_entry::mu_n
int mu_n
Definition: MMLoadVariables.h:24
evInf_entry::athena_event
uint64_t athena_event
Definition: MMLoadVariables.h:21
evInf_entry::truth_n
int truth_n
Definition: MMLoadVariables.h:24
evInf_entry::theta_pos
double theta_pos
Definition: MMLoadVariables.h:23
evInf_entry::phi_pos
double phi_pos
Definition: MMLoadVariables.h:23
AtlasHitsVector
Definition: AtlasHitsVector.h:32
evInf_entry::E
double E
Definition: MMLoadVariables.h:23
evInf_entry::evInf_entry
evInf_entry(uint64_t event=0, int pdg=0, double e=0, double p=0, double ieta=0, double peta=0, double eeta=0, double iphi=0, double pphi=0, double ephi=0, double ithe=0, double pthe=0, double ethe=0, double dth=0, int trn=0, int mun=0, const ROOT::Math::XYZVector &tex=ROOT::Math::XYZVector())
Definition: MMLoadVariables.cxx:105
MMLoadVariables
Definition: MMLoadVariables.h:28
evInf_entry::eta_ent
double eta_ent
Definition: MMLoadVariables.h:23
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
evInf_entry::pdg_id
int pdg_id
Definition: MMLoadVariables.h:22
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
evInf_entry::theta_ent
double theta_ent
Definition: MMLoadVariables.h:23
evInf_entry::dtheta
double dtheta
Definition: MMLoadVariables.h:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
evInf_entry::vertex
ROOT::Math::XYZVector vertex
Definition: MMLoadVariables.h:25
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
evInf_entry
Definition: MMLoadVariables.h:17
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:32
evInf_entry::theta_ip
double theta_ip
Definition: MMLoadVariables.h:23
MMLoadVariables::MMLoadVariables
MMLoadVariables()
Definition: MMLoadVariables.cxx:14
TrackRecordCollection.h
evInf_entry::eta_ip
double eta_ip
Definition: MMLoadVariables.h:23
AthMessaging.h
evInf_entry::eta_pos
double eta_pos
Definition: MMLoadVariables.h:23
evInf_entry::phi_ent
double phi_ent
Definition: MMLoadVariables.h:23
evInf_entry::phi_ip
double phi_ip
Definition: MMLoadVariables.h:23
MMLoadVariables::getTruthInfo
StatusCode getTruthInfo(const EventContext &ctx, const McEventCollection *truthContainer, const TrackRecordCollection *trackRecordCollection, std::map< std::pair< uint64_t, unsigned int >, evInf_entry > &Event_Info) const
Definition: MMLoadVariables.cxx:16