ATLAS Offline Software
Loading...
Searching...
No Matches
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
10#include <Math/Vector3D.h>
11#include <map>
12#include <cstdint>
13
15class EventContext;
16
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
21 uint64_t athena_event;
22 int pdg_id;
25 ROOT::Math::XYZVector vertex;
26};
27
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
AtlasHitsVector< TrackRecord > TrackRecordCollection
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
StatusCode getTruthInfo(const EventContext &ctx, const McEventCollection *truthContainer, const TrackRecordCollection *trackRecordCollection, std::map< std::pair< uint64_t, unsigned int >, evInf_entry > &Event_Info) const
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
double eta_ent
uint64_t athena_event
int truth_n
int pdg_id
double eta_ip
double E
double theta_ent
double dtheta
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())
double phi_ent
double pt
double phi_ip
ROOT::Math::XYZVector vertex
double theta_ip
double theta_pos
double eta_pos
int mu_n
double phi_pos