CORSIKA add-on package IACT/ATMO:  Version 1.63 (November 2020)
Data Fields
shower_extra_parameters Struct Reference

Extra shower parameters of unspecified nature. More...

#include <mc_tel.h>

Data Fields

float * fparam
 Space for extra floats, at least of size nfparam. More...
 
long id
 May identify to the user what the parameters should mean. More...
 
int * iparam
 Space for extra integer parameters, at least of size niparam. More...
 
int is_set
 May be reset after writing the parameter block and must thus be set to 1 for each shower for which the extra parameters should get recorded. More...
 
size_t nfparam
 Number of extra floating-point parameters. More...
 
size_t niparam
 Number of extra integer parameters. More...
 
double weight
 To be used if the weight of a shower may change during processing, e.g. More...
 

Detailed Description

Useful for things to be used like in the event header but which may only become available while processing a shower. Should be initialized with the init_shower_extra_parameters(int ni_max, int nf_max) function.

Field Documentation

◆ fparam

float* shower_extra_parameters::fparam

◆ id

long shower_extra_parameters::id

◆ iparam

int* shower_extra_parameters::iparam

◆ is_set

int shower_extra_parameters::is_set

◆ nfparam

size_t shower_extra_parameters::nfparam

◆ niparam

size_t shower_extra_parameters::niparam

◆ weight

double shower_extra_parameters::weight

when shower processing can be aborted depending on how quickly the electromagnetic component builds up and the remaining showers may have a larger weight to compensate for that. For backwards compatibility this should be set to 1.0 when no additional weight is needed.


The documentation for this struct was generated from the following file: