Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-10 07:50:32

0001 #pragma once
0002 /**
0003 U4Scintillation_Debug.h
0004 ===========================
0005 
0006 Usage::
0007 
0008    export U4Scintillation_Debug_SaveDir=/tmp
0009    ntds3
0010 
0011 Saves .npy array with first 100 non-reemission records to::
0012 
0013    /tmp/U4Scintillation_Debug.npy 
0014 
0015 
0016 **/
0017 
0018 #include "plog/Severity.h"
0019 #include <vector>
0020 #include "U4_API_EXPORT.hh"
0021 
0022 struct U4_API U4Scintillation_Debug
0023 {   
0024     static const plog::Severity LEVEL ; 
0025     static std::vector<U4Scintillation_Debug> record ;   
0026     static constexpr const unsigned NUM_QUAD = 6u ; 
0027     static constexpr const char* NAME = "U4Scintillation_Debug.npy" ; 
0028     static constexpr int LIMIT = 10000 ; 
0029     static void Save(const char* dir); 
0030     void add(); 
0031     void fill(double value); 
0032 
0033     double posx ;
0034     double posy ;
0035     double posz ;
0036     double time ;
0037 
0038     double ResolutionScale ;
0039     double dx ;
0040     double dE_dx ;
0041     double birk1 ;
0042 
0043     double TotalEnergyDeposit ;
0044     double QuenchedTotalEnergyDeposit ;
0045     double delta ;
0046     double birk2 ;
0047 
0048     double ScintillationYield ;
0049     double MeanNumberOfTracks ;
0050     double NumTracks ;
0051     double MeanNumberOfPhotons ;
0052 
0053     double Density ;
0054     double fPhotonWeight ;
0055     double fApplyPreQE ;
0056     double fEnableQuenching ;
0057 
0058     double gammaloss ;
0059     double fPreQE ;
0060     double b ;
0061     double c ;
0062 
0063 
0064     // NB for python parsing check line terminations with set list
0065 
0066 };
0067