// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration. It is provided under the terms and * // * conditions of the Geant4 Software License, included in the file * // * LICENSE and available at http://cern.ch/geant4/license . These * // * include a list of copyright holders. * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. Please see the license in the file LICENSE and URL above * // * for the full disclaimer and the limitation of liability. * // * * // * This code implementation is the result of the scientific and * // * technical work of the GEANT4 collaboration. * // * By using, copying, modifying or distributing the software (or * // * any work based on the software) you agree to acknowledge its * // * use in resulting scientific publications, and indicate your * // * acceptance of all terms of the Geant4 Software license. * // ******************************************************************** // // $Id: G4RootAnalysisManager.hh 70604 2013-06-03 11:27:06Z ihrivnac $ #include "G4H1ToolsManager.hh" #include "G4H2ToolsManager.hh" #include "G4H3ToolsManager.hh" #include "G4P1ToolsManager.hh" #include "G4P2ToolsManager.hh" #include "G4RootNtupleManager.hh" //_____________________________________________________________________________ inline tools::histo::h1d* G4RootAnalysisManager::GetH1(G4int id, G4bool warn, G4bool onlyIfActive) const { return fH1Manager->GetH1(id, warn, onlyIfActive); } //_____________________________________________________________________________ inline tools::histo::h2d* G4RootAnalysisManager::GetH2(G4int id, G4bool warn, G4bool onlyIfActive) const { return fH2Manager->GetH2(id, warn, onlyIfActive); } //_____________________________________________________________________________ inline tools::histo::h3d* G4RootAnalysisManager::GetH3(G4int id, G4bool warn, G4bool onlyIfActive) const { return fH3Manager->GetH3(id, warn, onlyIfActive); } //_____________________________________________________________________________ inline tools::histo::p1d* G4RootAnalysisManager::GetP1(G4int id, G4bool warn, G4bool onlyIfActive) const { return fP1Manager->GetP1(id, warn, onlyIfActive); } //_____________________________________________________________________________ inline tools::histo::p2d* G4RootAnalysisManager::GetP2(G4int id, G4bool warn, G4bool onlyIfActive) const { return fP2Manager->GetP2(id, warn, onlyIfActive); } //_____________________________________________________________________________ inline tools::wroot::ntuple* G4RootAnalysisManager::GetNtuple() const { return fNtupleManager->GetNtuple(); } //_____________________________________________________________________________ inline tools::wroot::ntuple* G4RootAnalysisManager::GetNtuple(G4int ntupleId) const { return fNtupleManager->GetNtuple(ntupleId); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::BeginH1() { return fH1Manager->BeginH1(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::EndH1() { return fH1Manager->EndH1(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::BeginConstH1() const { return fH1Manager->BeginConstH1(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::EndConstH1() const { return fH1Manager->EndConstH1(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::BeginH2() { return fH2Manager->BeginH2(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::EndH2() { return fH2Manager->EndH2(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::BeginConstH2() const { return fH2Manager->BeginConstH2(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::EndConstH2() const { return fH2Manager->EndConstH2(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::BeginH3() { return fH3Manager->BeginH3(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::EndH3() { return fH3Manager->EndH3(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::BeginConstH3() const { return fH3Manager->BeginConstH3(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::EndConstH3() const { return fH3Manager->EndConstH3(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::BeginP1() { return fP1Manager->BeginP1(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::EndP1() { return fP1Manager->EndP1(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::BeginConstP1() const { return fP1Manager->BeginConstP1(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::EndConstP1() const { return fP1Manager->EndConstP1(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::BeginP2() { return fP2Manager->BeginP2(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::EndP2() { return fP2Manager->EndP2(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::BeginConstP2() const { return fP2Manager->BeginConstP2(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::EndConstP2() const { return fP2Manager->EndConstP2(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::BeginNtuple() { return fNtupleManager->BeginNtuple(); } //_____________________________________________________________________________ inline std::vector::iterator G4RootAnalysisManager::EndNtuple() { return fNtupleManager->EndNtuple(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::BeginConstNtuple() const { return fNtupleManager->BeginConstNtuple(); } //_____________________________________________________________________________ inline std::vector::const_iterator G4RootAnalysisManager::EndConstNtuple() const { return fNtupleManager->EndConstNtuple(); }