Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:48:58

0001 #pragma once
0002 /**
0003 CSGSimtraceRerun.h .cc : on CPU csg_intersect debugging
0004 =========================================================
0005 
0006 **/
0007 
0008 #include <array>
0009 #include <vector>
0010 #include <string>
0011 #include "plog/Severity.h"
0012 
0013 struct SSim ; 
0014 struct CSGFoundry ; 
0015 struct NP ; 
0016 struct quad4 ; 
0017 struct CSGQuery ; 
0018 struct CSGDraw ; 
0019 
0020 #include "CSG_API_EXPORT.hh"
0021 
0022 struct CSG_API CSGSimtraceRerun
0023 { 
0024     static const plog::Severity LEVEL ; 
0025 
0026     SSim* sim ; 
0027     const CSGFoundry* fd ; 
0028     const NP* vv ; 
0029 
0030     const char* SELECTION ; 
0031     std::vector<int>* selection ; 
0032     bool with_selection ; 
0033 
0034     const char* fold ; 
0035     const char* path0 ; 
0036     const char* path1 ;
0037  
0038     NP* simtrace0 ; 
0039     NP* simtrace1 ; 
0040 
0041     const quad4* qq0 ; 
0042     quad4*  qq1      ; 
0043 
0044     const CSGQuery* q ; 
0045     CSGDraw* d ; 
0046 
0047     std::array<unsigned, 5> code_count ; 
0048 
0049     CSGSimtraceRerun(); 
0050 
0051     void init(); 
0052     std::string desc() const ; 
0053     static std::string Desc(const quad4& isect1, const quad4& isect0); 
0054 
0055     unsigned intersect_again(quad4& isect1, const quad4& isect0 ); 
0056     void intersect_again(unsigned idx, bool dump); 
0057     void intersect_again_selection(unsigned i, bool dump); 
0058     void intersect_again(); 
0059     void save() const ; 
0060     void report() const  ; 
0061 
0062 };
0063