LDMX Software
G4BertiniHack.h File Reference

Preprocessor hacks to access private Geant4 Bertini cascade internals. More...

#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <deque>
#include <fstream>
#include <iomanip>
#include <ios>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#include "CLHEP/Units/PhysicalConstants.h"
#include "CLHEP/Units/SystemOfUnits.h"
#include "CLHEP/Vector/LorentzVector.h"
#include "CLHEP/Vector/ThreeVector.h"
#include "G4LorentzVector.hh"
#include "G4ThreeVector.hh"
#include "globals.hh"
#include "G4CascadParticle.hh"
#include "G4CascadeHistory.hh"
#include "G4CollisionOutput.hh"
#include "G4ElementaryParticleCollider.hh"
#include "G4IntraNucleiCascader.hh"
#include "G4InuclCollider.hh"
#include "G4InuclElementaryParticle.hh"
#include "G4InuclNuclei.hh"
#include "G4NucleiModel.hh"
#include "G4CascadeInterface.hh"

Go to the source code of this file.

Macros

#define private   public
 
#define protected   public
 

Detailed Description

Preprocessor hacks to access private Geant4 Bertini cascade internals.

WARNING: This file uses preprocessor hacks to make private members accessible for derivation. There be dragons.

Definition in file G4BertiniHack.h.

Macro Definition Documentation

◆ private

#define private   public

Definition at line 58 of file G4BertiniHack.h.

◆ protected

#define protected   public

Definition at line 59 of file G4BertiniHack.h.