Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/g4hntools_defs.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 
0027 // Author: Ivana Hrivnacova, 10/09/2019  (ivana@ipno.in2p3.fr)
0028 
0029 #ifndef g4hntools_defs_h
0030 #define g4hntools_defs_h
0031 
0032 #include "tools/histo/h1d"
0033 #include "tools/histo/h2d"
0034 #include "tools/histo/h3d"
0035 #include "tools/histo/p1d"
0036 #include "tools/histo/p2d"
0037 
0038 // H1 types
0039 using G4H1 = tools::histo::h1d;
0040 using G4H1Iterator = std::vector<tools::histo::h1d*>::iterator;
0041 using G4H1ConstIterator = std::vector<tools::histo::h1d*>::const_iterator;
0042 
0043 // H2 types
0044 using G4H2 = tools::histo::h2d;
0045 using G4H2Iterator = std::vector<tools::histo::h2d*>::iterator;
0046 using G4H2ConstIterator = std::vector<tools::histo::h2d*>::const_iterator;
0047 
0048 // H3 types
0049 using G4H3 = tools::histo::h3d;
0050 using G4H3Iterator = std::vector<tools::histo::h3d*>::iterator;
0051 using G4H3ConstIterator = std::vector<tools::histo::h3d*>::const_iterator;
0052 
0053 // P1 types
0054 using G4P1 = tools::histo::p1d;
0055 using G4P1Iterator = std::vector<tools::histo::p1d*>::iterator;
0056 using G4P1ConstIterator = std::vector<tools::histo::p1d*>::const_iterator;
0057 
0058 // P2 types
0059 using G4P2 = tools::histo::p2d;
0060 using G4P2Iterator = std::vector<tools::histo::p2d*>::iterator;
0061 using G4P2ConstIterator = std::vector<tools::histo::p2d*>::const_iterator;
0062 
0063 #endif
0064 
0065