Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #pragma once
0002 /**
0003 U4Cerenkov_Debug.h
0004 ===========================
0005 
0006 Usage::
0007 
0008    export U4Cerenkov_Debug_SaveDir=/tmp
0009    ntds3
0010 
0011 Saves .npy array with first 100 non-reemission records to::
0012 
0013    /tmp/U4Cerenkov_Debug.npy 
0014 
0015 Typically the Save is done from U4Debug::Save for 
0016 consistent handling between multiple Debug struct. 
0017 
0018 **/
0019 
0020 #include "plog/Severity.h"
0021 #include <vector>
0022 #include "U4_API_EXPORT.hh"
0023 
0024 struct U4_API U4Cerenkov_Debug
0025 {   
0026     static const plog::Severity LEVEL ; 
0027     static std::vector<U4Cerenkov_Debug> record ;   
0028     static constexpr const unsigned NUM_QUAD = 2u ; 
0029     static constexpr const char* NAME = "U4Cerenkov_Debug.npy" ; 
0030     static constexpr int LIMIT = 10000 ; 
0031     static void Save(const char* dir); 
0032     void add(); 
0033     void fill(double value); 
0034 
0035     double posx ; 
0036     double posy ; 
0037     double posz ;
0038     double time ; 
0039 
0040     double BetaInverse ; 
0041     double step_length ; 
0042     double MeanNumberOfPhotons ; 
0043     double fNumPhotons ; 
0044 };
0045