Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 27 // Author: Ivana Hrivnacova, 20/07/2017 (ivana 28 29 #include "G4BaseRNtupleManager.hh" 30 31 //____________________________________________ 32 G4BaseRNtupleManager::G4BaseRNtupleManager(con 33 : G4VRNtupleManager(state) 34 {} 35 36 // 37 // private methods 38 // 39 //____________________________________________ 40 G4int G4BaseRNtupleManager::GetCurrentNtupleI 41 { 42 return GetNofNtuples() + fFirstId - 1; 43 } 44 45 //____________________________________________ 46 G4bool G4BaseRNtupleManager::SetNtupleIColumn( 47 G4i 48 { 49 return SetNtupleIColumn(GetCurrentNtupleId() 50 } 51 //____________________________________________ 52 G4bool G4BaseRNtupleManager::SetNtupleFColumn( 53 G4f 54 { 55 return SetNtupleFColumn(GetCurrentNtupleId() 56 } 57 58 //____________________________________________ 59 G4bool G4BaseRNtupleManager::SetNtupleDColumn( 60 G4d 61 { 62 return SetNtupleDColumn(GetCurrentNtupleId() 63 } 64 65 //____________________________________________ 66 G4bool G4BaseRNtupleManager::SetNtupleSColumn( 67 G4S 68 { 69 return SetNtupleSColumn(GetCurrentNtupleId() 70 } 71 72 //____________________________________________ 73 G4bool G4BaseRNtupleManager::SetNtupleIColumn( 74 std 75 { 76 return SetNtupleIColumn(GetCurrentNtupleId() 77 } 78 79 //____________________________________________ 80 G4bool G4BaseRNtupleManager::SetNtupleFColumn( 81 std 82 { 83 return SetNtupleFColumn(GetCurrentNtupleId() 84 } 85 86 //____________________________________________ 87 G4bool G4BaseRNtupleManager::SetNtupleDColumn( 88 std 89 { 90 return SetNtupleDColumn(GetCurrentNtupleId() 91 } 92 93 //____________________________________________ 94 G4bool G4BaseRNtupleManager::SetNtupleSColumn( 95 std 96 { 97 return SetNtupleSColumn(GetCurrentNtupleId() 98 } 99 100 //____________________________________________ 101 G4bool G4BaseRNtupleManager::GetNtupleRow() 102 { 103 return GetNtupleRow(fFirstId); 104 } 105