|
|
|||
File indexing completed on 2026-04-09 07:49:05
0001 #pragma once 0002 /** 0003 get_jpmt_fold.h : NB SPMT is the way to go, JPMT is just for backwards check 0004 ============================================================================== 0005 0006 Dependency on "PMTSim/JPMT.h" which is actually ~/j/Layr/JPMT.h 0007 ----------------------------------------------------------------- 0008 0009 The ~/j/PMTSim/CMakeLists.txt "virtual" package installs 0010 ~/j/Layr/JPMT.h into PMTSim install dirs that are used by 0011 this test within a PMTSim_standalone_FOUND block in its CMakeLists.txt 0012 0013 Moving from JPMT from text props to SSim/jpmt NPFold based SPMT.h 0014 ---------------------------------------------------------------------- 0015 0016 Whats missing from JPMT approach is contiguous pmt index array 0017 with category and qe_scale so can start from pmtid and get the pmtcat 0018 and the qe for an energy.:: 0019 0020 jcv _PMTSimParamData 0021 ./Simulation/SimSvc/PMTSimParamSvc/PMTSimParamSvc/_PMTSimParamData.h 0022 0023 **/ 0024 0025 #include "NPFold.h" 0026 0027 #ifdef WITH_JPMT 0028 #include "JPMT.h" 0029 #else 0030 #include "SPMT.h" 0031 #endif 0032 0033 0034 const NPFold* get_jpmt_fold() 0035 { 0036 const NPFold* pmt_f = nullptr ; 0037 #ifdef WITH_JPMT 0038 pmt_f = JPMT::Serialize(); 0039 #else 0040 pmt_f = SPMT::Serialize() ; 0041 #endif 0042 return pmt_f ; 0043 } 0044 0045 0046 0047
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|