Classes | |
struct | AtmosphereParameters |
class | BasicBlock |
class | BlockID |
Sub-block used in CORSIKA files. More... | |
struct | CherenkovData |
struct with Cherenkov data More... | |
struct | CherenkovDataUnthinned |
class | CherenkovFlags |
struct | EventHeader |
event header struct for Corsika files More... | |
struct | EventTrailer |
event trailer struct for Corsika files More... | |
class | Padded |
struct | ParticleData |
struct with particle data More... | |
struct | ParticleDataUnthinned |
class | RawFile |
Raw disk file. More... | |
struct | RunHeader |
run header struct for Corsika files More... | |
struct | RunTrailer |
run trailer struct for Corsika files More... | |
Typedefs | |
typedef BasicBlock < ParticleData, CherenkovData, kParticlesInBlock, 39 > | Block |
typedef BasicBlock < ParticleDataUnthinned, CherenkovDataUnthinned, kParticlesInBlock, 0 > | BlockUnthinned |
typedef float | RWORD |
Functions | |
double | CorsikaAzimuthToAuger (const double corsikaAzimuth, const double magneticFieldDeclination) |
Returns the azimuth rotated from Corisika's system to Auger standard. More... | |
int | CorsikaToPDG (const int corsikaCode) |
converters from CORSIKA to PDG particle codes More... | |
Variables | |
const double | hAtmBoundary = 112.8292*utl::km |
const double | kEarthRadius = 6.371315e6*utl::m |
static const unsigned int | kMaxObservationLevels = 10 |
static const unsigned int | kParticlesInBlock = 39 |
typedef BasicBlock<ParticleData, CherenkovData, kParticlesInBlock, 39> io::Corsika::Block |
Definition at line 443 of file CorsikaBlock.h.
typedef BasicBlock<ParticleDataUnthinned, CherenkovDataUnthinned, kParticlesInBlock, 0> io::Corsika::BlockUnthinned |
Definition at line 445 of file CorsikaBlock.h.
typedef float io::Corsika::RWORD |
Definition at line 47 of file CorsikaBlock.h.
double io::Corsika::CorsikaAzimuthToAuger | ( | const double | corsikaAzimuth, |
const double | magneticFieldDeclination | ||
) |
Returns the azimuth rotated from Corisika's system to Auger standard.
Rotate form the Corsika coordinate system to Auger standard. Auger places the x axis east and the y axis north. Corsika places the x axis in the magnetic north and the y axis west. Therefore, the geomagnetic field direction for the location and time of an event has to be taken into account for the correct transformation.
Auger uses the incomming direction, Corsika the outgoing direction. This adds 180 deg to the difference.
For info: http://www.ngdc.noaa.gov/geomag-web 35S, 70W 2002-10-24) 4.19deg E changing by 0.13deg W per year 2016-10-24) 2.16deg E (+-0.37deg) changing by 0.15deg W per year
Magnetic field declination is now part of the det::Detector model.
Definition at line 151 of file CorsikaUtilities.cc.
References utl::deg, and utl::NormalizeAngleMinusPiPi().
Referenced by io::CorsikaShowerFileGeometryProducer::MakeGroundParticleCoordinateSystem(), io::CorsikaShowerFile::Read(), and testCorsikaUtilities::testCorsikaAzimuthToAuger().
const double io::Corsika::hAtmBoundary = 112.8292*utl::km |
Definition at line 26 of file CorsikaUtilities.h.
Referenced by io::CorsikaShowerFile::SetHeaderTrailer().
const double io::Corsika::kEarthRadius = 6.371315e6*utl::m |
Definition at line 25 of file CorsikaUtilities.h.
Referenced by io::CorsikaShowerFileParticleIterator::GetOneParticle(), io::CorsikaShowerFile::GetSlantDepthCurved(), and SdHorizontalReconstructionNS::SdHorizontalReconstruction::UpdateBarycenter().
|
static |
Definition at line 103 of file CorsikaBlock.h.
|
static |
Definition at line 104 of file CorsikaBlock.h.
Referenced by io::CorsikaShowerFileParticleIterator::GetOneParticleRecord(), and io::CorsikaShowerFileParticleIterator::GetOneParticleRecordUnthinned().