G4DarkBreM  v2.1.0
Geant4 Dark Bremmstrahlung from MadGraph
ParseLibrary.h
Go to the documentation of this file.
1 
6 #ifndef G4DARKBREM_PARSELIBRARY_H
7 #define G4DARKBREM_PARSELIBRARY_H
8 
9 #include <map>
10 #include <ostream>
11 #include <string>
12 #include <vector>
13 
14 #include "CLHEP/Vector/LorentzVector.h"
15 
16 namespace g4db {
17 
23  CLHEP::HepLorentzVector lepton;
25  CLHEP::HepLorentzVector centerMomentum;
27  double E;
28 }; // OutgoingKinematics
29 
99 void parseLibrary(
100  const std::string& path, int aprime_lhe_id,
101  std::map<int, std::map<double, std::vector<OutgoingKinematics>>>& lib);
102 
112 void dumpLibrary(
113  std::ostream& o,
114  const std::map<int, std::map<double, std::vector<OutgoingKinematics>>>&
115  lib);
116 
117 } // namespace g4db
118 
119 #endif
G4DarkBreM internal namespace.
Definition: ElementXsecCache.cxx:3
void parseLibrary(const std::string &path, int aprime_lhe_id, std::map< int, std::map< double, std::vector< OutgoingKinematics >>> &lib)
parse the input library and return the in-memory kinematics library
Definition: ParseLibrary.cxx:195
void dumpLibrary(std::ostream &o, const std::map< int, std::map< double, std::vector< OutgoingKinematics >>> &lib)
Dump the input library to the input output stream.
Definition: ParseLibrary.cxx:258
Data frame to store necessary information from LHE files.
Definition: ParseLibrary.h:21
CLHEP::HepLorentzVector centerMomentum
4-vector pointing to center of momentum of lepton and A'
Definition: ParseLibrary.h:25
CLHEP::HepLorentzVector lepton
4-momentum of lepton in CoM frame
Definition: ParseLibrary.h:23
double E
energy of lepton before brem (used as key in mad graph data map)
Definition: ParseLibrary.h:27