Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
JHeadToolkit.hh File Reference
#include <istream>
#include <ostream>
#include "evt/Vec.hh"
#include "evt/Head.hh"
#include "JGeometry3D/JPosition3D.hh"
#include "JGeometry3D/JCylinder3D.hh"
#include "JLang/JEquation.hh"
#include "JLang/JEquationParameters.hh"
#include "JLang/JRedirectString.hh"
#include "JLang/JNullStream.hh"
#include "JROOT/JRootClass.hh"
#include "JROOT/JRootDictionary.hh"
#include "JROOT/JRootStreamer.hh"
#include "JAAnet/JHead.hh"

Go to the source code of this file.

Classes

struct  JROOT::JRootReader::JHelper< vector< JAANET::physics > >
 Specialisation of std::vector<JAANET::physics> for reading one element at a time. More...
 
struct  JROOT::JRootWriter::JHelper< vector< JAANET::physics > >
 Specialisation of std::vector<JAANET::physics> for writing only first element. More...
 
class  JAANET::JAAnetDictionary
 Simple wrapper class around JROOT::JRootDictionary so that other classes could be included in this dictionary if necessary. More...
 

Namespaces

 JROOT
 Auxiliary classes and methods for ROOT I/O.
 
 JAANET
 Extensions to AAnet data format.
 

Functions

template<class T >
void JAANET::push (JHead &header, T JHead::*p)
 Push data of JHead for subsequent copy to Head. More...
 
bool JAANET::is_physics (const JHead &header, const std::string &generator)
 Check for generator. More...
 
bool JAANET::is_sirene (const JHead &header)
 Check for generator. More...
 
bool JAANET::is_km3 (const JHead &header)
 Check for generator. More...
 
bool JAANET::is_km3sim (const JHead &header)
 Check for generator. More...
 
bool JAANET::is_genhen (const JHead &header)
 Check for generator. More...
 
bool JAANET::is_genie (const JHead &header)
 Check for generator. More...
 
bool JAANET::is_mupage (const JHead &header)
 Check for generator. More...
 
template<class T >
JAANET::get (const JHead &head)
 Get object from header. More...
 
template<>
Vec JAANET::get (const JHead &header)
 Get position offset of detector due to generator. More...
 
template<>
JPosition3D JAANET::get (const JHead &header)
 Get position offset of detector due to generator. More...
 
template<>
JCylinder3D JAANET::get (const JHead &head)
 Get cylinder corresponding to can. More...
 
const JEquationParametersJAANET::getEquationParameters ()
 Get equation parameters corresponding to Monte Carlo ASCII format, i.e: More...
 
std::istream & JAANET::operator>> (std::istream &in, JHead &header)
 Read header from input. More...
 
std::ostream & JAANET::operator<< (std::ostream &out, const JHead &header)
 Write header to output. More...