CorsikaFileShowerGenerator
#include "CorsikaFileShowerGenerator.hh" |
CorsikaFileShowerGenerator
class description - source file - inheritance tree (.pdf)
class CorsikaFileShowerGenerator : public EventGenerator, public EsafMsgSource
Inheritance Chart: | |||||||||||||||
|
private:
bool LoadHeader() bool LoadTrack(Int_t) public:
CorsikaFileShowerGenerator() ~CorsikaFileShowerGenerator() static TClass* Class() virtual const char* ClassName() const virtual const char* ClassType() const void Close() virtual PhysicsData* Get() float GetAge(float) float GetAltitude(float) float GetCoeff(float) float GetStepTime(float) float GetThickness(float) virtual MCTruth* GetTruth() float GetXstep(float) float GetYstep(float) virtual TClass* IsA() const void Open() void ReadLong() void ReadParticleHeader() virtual void ReplaceInputFile(const char*, const char*) virtual void Reset() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)
Data Members
private:
ShowerTrack* fTrack ShowerStep fStep FILE* fParticleFile FILE* fLongFile MCTruth* fTruth string fParticleFileName string fLongFileName map<string,double,less<string>,allocator<pair<const string,double> > > fHeader string thinning double howmany double r multimap<int,float> particle multimap<int,float,less<int>,allocator<pair<const int,float> > >::iterator pnum float vertical_distance float coeff_i float coeff_f float xi float xf float yi float yf float zi float zf float z_firstint float thick_firstint float epolangd float eaziangd float timei float timef float distance float energy float thickness float Nemax float to float tmax float eldircos float emdircos float endircos float x0comes float y0comes float z0comes unsigned int nin unsigned int nkey char header[4] int i int j int k int n1 int n2 int nmax Int_t nev_an Int_t ev_num Int_t event long pos char longitudinal[150] float xmax float ymax float zmax float nstep float step_long int nshow float part[10] float en[10] float step[6] float aatm[5] float batm[5] float catm[5]
Class Description
Corsika File Shower Generator ============================= <extensive description> Config file parameters ====================== FlagThinning [string]: flag for thinning option; can be t (thinning enabled) or f (thinning disabled) HowManyShowers [int] : number of showers simulated in corsika run ParticleFileName [string]: name of corsika normal particle output file LongFileName [string]: name of corsika longitudinal output file
void ReplaceInputFile(const char* pfn,const char* lfn) // // Replace input files //
void Open() // // Open file //
void Close() // // Close file //
PhysicsData* Get()
Get a new event
void ReadParticleHeader()
Read particle file header.
void ReadLong() // // Read long file //
bool LoadHeader() // // Fill header object //
bool LoadTrack(Int_t event) // // Load one event from file //
MCTruth* GetTruth() // // Get pointer to MonteCarlo Truth //
float GetAltitude(float thick)
float GetThickness(float z1)
float GetCoeff(float h)
float GetXstep(float t)
float GetYstep(float t)
float GetStepTime(float h)
float GetAge(float h)
Inline Functions
void ~CorsikaFileShowerGenerator() CorsikaFileShowerGenerator CorsikaFileShowerGenerator() void Reset() const char* ClassType() const const char* ClassName() const TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)