2 // ********************************************************************
 
    3 // * License and Disclaimer                                           *
 
    5 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
 
    6 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
 
    7 // * conditions of the Geant4 Software License,  included in the file *
 
    8 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
 
    9 // * include a list of copyright holders.                             *
 
   11 // * Neither the authors of this software system, nor their employing *
 
   12 // * institutes,nor the agencies providing financial support for this *
 
   13 // * work  make  any representation or  warranty, express or implied, *
 
   14 // * regarding  this  software system or assume any liability for its *
 
   15 // * use.  Please see the license in the file  LICENSE  and URL above *
 
   16 // * for the full disclaimer and the limitation of liability.         *
 
   18 // * This  code  implementation is the result of  the  scientific and *
 
   19 // * technical work of the GEANT4 collaboration.                      *
 
   20 // * By using,  copying,  modifying or  distributing the software (or *
 
   21 // * any work based  on the software)  you  agree  to acknowledge its *
 
   22 // * use  in  resulting  scientific  publications,  and indicate your *
 
   23 // * acceptance of all terms of the Geant4 Software license.          *
 
   24 // ********************************************************************
 
   26 // $Id: G4ToolsAnalysisManager.hh 70604 2013-06-03 11:27:06Z ihrivnac $
 
   28 #include "G4H1ToolsManager.hh"
 
   29 #include "G4H2ToolsManager.hh"
 
   30 #include "G4H3ToolsManager.hh"
 
   31 #include "G4P1ToolsManager.hh"
 
   32 #include "G4P2ToolsManager.hh"
 
   34 //_____________________________________________________________________________
 
   36 tools::histo::h1d*  G4ToolsAnalysisManager::GetH1(G4int id, G4bool warn,
 
   37                                                  G4bool onlyIfActive) const 
 
   39   return fH1Manager->GetH1(id, warn, onlyIfActive);
 
   42 //_____________________________________________________________________________
 
   44 tools::histo::h2d*  G4ToolsAnalysisManager::GetH2(G4int id, G4bool warn,
 
   45                                                  G4bool onlyIfActive) const 
 
   47   return fH2Manager->GetH2(id, warn, onlyIfActive);
 
   50 //_____________________________________________________________________________
 
   52 tools::histo::h3d*  G4ToolsAnalysisManager::GetH3(G4int id, G4bool warn,
 
   53                                                  G4bool onlyIfActive) const 
 
   55   return fH3Manager->GetH3(id, warn, onlyIfActive);
 
   58 //_____________________________________________________________________________
 
   60 tools::histo::p1d*  G4ToolsAnalysisManager::GetP1(G4int id, G4bool warn,
 
   61                                                  G4bool onlyIfActive) const 
 
   63   return fP1Manager->GetP1(id, warn, onlyIfActive);
 
   66 //_____________________________________________________________________________
 
   68 tools::histo::p2d*  G4ToolsAnalysisManager::GetP2(G4int id, G4bool warn,
 
   69                                                  G4bool onlyIfActive) const 
 
   71   return fP2Manager->GetP2(id, warn, onlyIfActive);
 
   74 //_____________________________________________________________________________
 
   76 std::vector<tools::histo::h1d*>::iterator G4ToolsAnalysisManager::BeginH1()
 
   78   return fH1Manager->BeginH1();
 
   81 //_____________________________________________________________________________
 
   83 std::vector<tools::histo::h1d*>::iterator G4ToolsAnalysisManager::EndH1()
 
   85   return fH1Manager->EndH1();
 
   88 //_____________________________________________________________________________
 
   90 std::vector<tools::histo::h1d*>::const_iterator 
 
   91 G4ToolsAnalysisManager::BeginConstH1() const
 
   93   return fH1Manager->BeginConstH1();
 
   96 //_____________________________________________________________________________
 
   98 std::vector<tools::histo::h1d*>::const_iterator 
 
   99 G4ToolsAnalysisManager::EndConstH1() const
 
  101   return fH1Manager->EndConstH1();
 
  104 //_____________________________________________________________________________
 
  106 std::vector<tools::histo::h2d*>::iterator G4ToolsAnalysisManager::BeginH2()
 
  108   return fH2Manager->BeginH2();
 
  111 //_____________________________________________________________________________
 
  113 std::vector<tools::histo::h2d*>::iterator G4ToolsAnalysisManager::EndH2()
 
  115   return fH2Manager->EndH2();
 
  118 //_____________________________________________________________________________
 
  120 std::vector<tools::histo::h2d*>::const_iterator 
 
  121 G4ToolsAnalysisManager::BeginConstH2() const
 
  123   return fH2Manager->BeginConstH2();
 
  126 //_____________________________________________________________________________
 
  128 std::vector<tools::histo::h2d*>::const_iterator 
 
  129 G4ToolsAnalysisManager::EndConstH2() const
 
  131   return fH2Manager->EndConstH2();
 
  134 //_____________________________________________________________________________
 
  136 std::vector<tools::histo::h3d*>::iterator G4ToolsAnalysisManager::BeginH3()
 
  138   return fH3Manager->BeginH3();
 
  141 //_____________________________________________________________________________
 
  143 std::vector<tools::histo::h3d*>::iterator G4ToolsAnalysisManager::EndH3()
 
  145   return fH3Manager->EndH3();
 
  148 //_____________________________________________________________________________
 
  150 std::vector<tools::histo::h3d*>::const_iterator 
 
  151 G4ToolsAnalysisManager::BeginConstH3() const
 
  153   return fH3Manager->BeginConstH3();
 
  156 //_____________________________________________________________________________
 
  158 std::vector<tools::histo::h3d*>::const_iterator 
 
  159 G4ToolsAnalysisManager::EndConstH3() const
 
  161   return fH3Manager->EndConstH3();
 
  164 //_____________________________________________________________________________
 
  166 std::vector<tools::histo::p1d*>::iterator G4ToolsAnalysisManager::BeginP1()
 
  168   return fP1Manager->BeginP1();
 
  171 //_____________________________________________________________________________
 
  173 std::vector<tools::histo::p1d*>::iterator G4ToolsAnalysisManager::EndP1()
 
  175   return fP1Manager->EndP1();
 
  178 //_____________________________________________________________________________
 
  180 std::vector<tools::histo::p1d*>::const_iterator 
 
  181 G4ToolsAnalysisManager::BeginConstP1() const
 
  183   return fP1Manager->BeginConstP1();
 
  186 //_____________________________________________________________________________
 
  188 std::vector<tools::histo::p1d*>::const_iterator 
 
  189 G4ToolsAnalysisManager::EndConstP1() const
 
  191   return fP1Manager->EndConstP1();
 
  194 //_____________________________________________________________________________
 
  196 std::vector<tools::histo::p2d*>::iterator G4ToolsAnalysisManager::BeginP2()
 
  198   return fP2Manager->BeginP2();
 
  201 //_____________________________________________________________________________
 
  203 std::vector<tools::histo::p2d*>::iterator G4ToolsAnalysisManager::EndP2()
 
  205   return fP2Manager->EndP2();
 
  208 //_____________________________________________________________________________
 
  210 std::vector<tools::histo::p2d*>::const_iterator 
 
  211 G4ToolsAnalysisManager::BeginConstP2() const
 
  213   return fP2Manager->BeginConstP2();
 
  216 //_____________________________________________________________________________
 
  218 std::vector<tools::histo::p2d*>::const_iterator 
 
  219 G4ToolsAnalysisManager::EndConstP2() const
 
  221   return fP2Manager->EndConstP2();