Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <iostream>
Go to the source code of this file.
Classes | |
class | indentation |
Macros | |
#define | USE_DEFAULT_STREAMS |
#define | mcout std::cout /* change to ordinary default C++ stream */ |
#define | mcerr std::cerr |
#define | eeee '\n'; |
#define | scout(a) #a << " = " << a |
#define | Ifile file << indn |
#define | Imcout mcout << indn |
#define | Iprint(file, name) file << indn << #name << "=" << noindent << name << yesindent; |
#define | Iprintf(file, name) |
#define | Iprintn(file, name) file << indn << #name << "=" << noindent << name << '\n' << yesindent; |
#define | Iprintnf(file, name) |
#define | Iprintan(file, name, addition) |
#define | Iprintanf(file, name, addition) |
#define | Iprint2(file, name1, name2) |
#define | Iprint2n(file, name1, name2) |
#define | Iprint2nf(file, name1, name2) |
#define | Iprint3(file, name1, name2, name3) |
#define | Iprint3n(file, name1, name2, name3) |
#define | Iprint3nf(file, name1, name2, name3) |
#define | Iprint4n(file, name1, name2, name3, name4) |
#define | Iprint4nf(file, name1, name2, name3, name4) |
#define | Iprint5n(file, name1, name2, name3, name4, name5) |
#define | Iprint_l(file, name, l) |
#define | Iprint_al(file, name, l) |
#define | Iprint_p(file, name) |
#define | Iprint_ap(file, name) |
Functions | |
std::ostream & | operator<< (std::ostream &file, indentation &ind) |
std::ostream & | noindent (std::ostream &f) |
std::ostream & | yesindent (std::ostream &f) |
Variables | |
indentation | indn |
int | s_short_output |
#define eeee '\n'; |
Definition at line 182 of file prstream.h.
#define Ifile file << indn |
Definition at line 207 of file prstream.h.
Definition at line 208 of file prstream.h.
Definition at line 209 of file prstream.h.
#define Iprint2 | ( | file, | |
name1, | |||
name2 | |||
) |
Definition at line 233 of file prstream.h.
#define Iprint2n | ( | file, | |
name1, | |||
name2 | |||
) |
#define Iprint2nf | ( | file, | |
name1, | |||
name2 | |||
) |
#define Iprint3 | ( | file, | |
name1, | |||
name2, | |||
name3 | |||
) |
#define Iprint3n | ( | file, | |
name1, | |||
name2, | |||
name3 | |||
) |
#define Iprint3nf | ( | file, | |
name1, | |||
name2, | |||
name3 | |||
) |
#define Iprint4n | ( | file, | |
name1, | |||
name2, | |||
name3, | |||
name4 | |||
) |
#define Iprint4nf | ( | file, | |
name1, | |||
name2, | |||
name3, | |||
name4 | |||
) |
#define Iprint5n | ( | file, | |
name1, | |||
name2, | |||
name3, | |||
name4, | |||
name5 | |||
) |
Definition at line 272 of file prstream.h.
#define Iprint_al | ( | file, | |
name, | |||
l | |||
) |
Definition at line 284 of file prstream.h.
#define Iprint_ap | ( | file, | |
name | |||
) |
Definition at line 297 of file prstream.h.
#define Iprint_l | ( | file, | |
name, | |||
l | |||
) |
Definition at line 278 of file prstream.h.
#define Iprint_p | ( | file, | |
name | |||
) |
Definition at line 291 of file prstream.h.
#define Iprintan | ( | file, | |
name, | |||
addition | |||
) |
Definition at line 223 of file prstream.h.
#define Iprintanf | ( | file, | |
name, | |||
addition | |||
) |
Definition at line 227 of file prstream.h.
#define Iprintf | ( | file, | |
name | |||
) |
Definition at line 211 of file prstream.h.
#define Iprintn | ( | file, | |
name | |||
) | file << indn << #name << "=" << noindent << name << '\n' << yesindent; |
Definition at line 216 of file prstream.h.
#define Iprintnf | ( | file, | |
name | |||
) |
Definition at line 218 of file prstream.h.
#define mcerr std::cerr |
Definition at line 135 of file prstream.h.
#define mcout std::cout /* change to ordinary default C++ stream */ |
Definition at line 133 of file prstream.h.
#define scout | ( | a | ) | #a << " = " << a |
Definition at line 183 of file prstream.h.
#define USE_DEFAULT_STREAMS |
Definition at line 114 of file prstream.h.
std::ostream & noindent | ( | std::ostream & | f | ) |
Definition at line 15 of file prstream.cpp.
Referenced by operator<<(), PointCoorMesh< T, D >::print(), Heed::splane::print(), abssyscoor::print(), print_AbsList(), print_adr_DynLinArr(), print_BlkArr(), print_DynArr(), print_DynArr_int_w(), and print_DynLinArr().
|
inline |
Definition at line 194 of file prstream.h.
std::ostream & yesindent | ( | std::ostream & | f | ) |
Definition at line 19 of file prstream.cpp.
Referenced by operator<<(), PointCoorMesh< T, D >::print(), print_AbsList(), print_adr_DynLinArr(), print_BlkArr(), print_DynArr(), print_DynArr_int_w(), and print_DynLinArr().
|
extern |
Definition at line 13 of file prstream.cpp.
Referenced by Heed::ulsvolume::check_point_inside(), Heed::macro_copy_body(), noindent(), Heed::operator<<(), operator<<(), EqualStepCoorMesh< T >::print(), PointCoorMesh< T, D >::print(), CopiedPointCoorMesh< T >::print(), VirtEqualStepCoorMesh< T >::print(), VirtCopiedPointCoorMesh< T >::print(), PointsRan::print(), Heed::BGMesh::print(), Heed::ElElasticScat::print(), Heed::EnergyMesh::print(), Heed::EnTransfCS::print(), Heed::EnTransfCS_BGM::print(), Heed::HeedCluster::print(), Heed::HeedDeltaElectron::print(), Heed::HeedDeltaElectronCS::print(), Heed::HeedMatterDef::print(), Heed::HeedPhoton::print(), Heed::PairProd::print(), Heed::OveragePhotoAbsCS::print(), Heed::SimpleTablePhotoAbsCS::print(), Heed::AtomicSecondaryProducts::print(), Heed::AtomPhotoAbsCS::print(), Heed::SimpleAtomPhotoAbsCS::print(), Heed::ExAtomPhotoAbsCS::print(), Heed::MolecPhotoAbsCS::print(), Heed::box::print(), stvpoint::print(), gparticle::print(), Heed::splane::print(), abssyscoor::print(), fixsyscoor::print(), absvol::print(), ActivePtrReg< X, C >::print(), print_AbsList(), print_adr_DynLinArr(), print_BlkArr(), print_DynArr(), print_DynArr_double(), print_DynArr_float(), print_DynArr_int_w(), print_DynLinArr(), print_DynLinArr_double(), print_DynLinArr_double2(), print_DynLinArr_float(), print_DynLinArr_int(), print_DynLinArr_int_double(), print_DynLinArr_int_double3(), print_DynLinArr_long(), BlkArr< T >::print_struct(), RANLUX(), and yesindent().
|
extern |
Definition at line 23 of file prstream.cpp.
Referenced by operator<<(), and operator>>().