Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
phool.h File Reference
#include <iostream>
+ Include dependency graph for phool.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PHWHERE   __FILE__ << ":" << __LINE__ << ": "
 
#define PHMESSAGE(x)   do {std::cout << PHWHERE << (x) << std::endl;} while(0)
 
#define PHOOL_VIRTUAL_WARNING   do {std::cout << PHWHERE << "using virtual function, doing nothing" << std::endl;} while (0)
 
#define PHOOL_VIRTUAL_WARN(x)   do {std::cout << PHWHERE << "using virtual function " << x << " doing nothing" << std::endl;} while (0)
 

Typedefs

typedef int PHBoolean
 

Enumerations

enum  PHMessageType { PHError, PHWarning, PHHullo }
 
enum  PHAccessType { PHReadOnly, PHWrite, PHUpdate }
 
enum  PHTreeType { PHEventTree, PHRunTree }
 

Functions

void PHMessage (const std::string &, int, const std::string &)
 

Variables

static const int False = 0
 
static const int True = 1
 

Macro Definition Documentation

#define PHMESSAGE (   x)    do {std::cout << PHWHERE << (x) << std::endl;} while(0)

Definition at line 24 of file phool.h.

#define PHOOL_VIRTUAL_WARN (   x)    do {std::cout << PHWHERE << "using virtual function " << x << " doing nothing" << std::endl;} while (0)

Definition at line 27 of file phool.h.

Referenced by PHG4BlockGeom::convert_global_to_local(), PHG4BlockGeom::convert_local_to_global(), PHG4CylinderGeom::find_segment_center(), PHG4CylinderGeom::find_strip_center(), PHG4BlockGeom::get_center_x(), PHG4BlockGeom::get_center_y(), PHG4BlockGeom::get_center_z(), PHG4BlockGeom::get_layer(), PHG4CylinderGeom::get_layer(), PHG4BlockGeom::get_length(), PHG4CylinderGeom::get_N_sensors_in_layer(), PHG4CylinderGeom::get_N_strip_columns(), PHG4CylinderGeom::get_N_strips_per_column(), PHG4CylinderGeom::get_nscint(), PHG4CylinderGeom::get_phi_slat_zero(), PHG4CylinderGeom::get_pixel_thickness(), PHG4CylinderGeom::get_pixel_x(), PHG4CylinderGeom::get_pixel_z(), PHG4CylinderGeom::get_radius(), PHG4BlockGeom::get_rot_matrix(), PHG4BlockGeom::get_size_x(), PHG4BlockGeom::get_size_y(), PHG4BlockGeom::get_size_z(), PHG4CylinderGeom::get_strip_tilt(), PHG4CylinderGeom::get_strip_y_spacing(), PHG4CylinderGeom::get_strip_z_spacing(), PHG4CylinderGeom::get_thickness(), PHG4BlockGeom::get_thickness(), PHG4CylinderGeom::get_tiltangle(), PHG4BlockGeom::get_width(), PHG4BlockGeom::get_z_rot(), PHG4CylinderGeom::get_zmax(), PHG4CylinderGeom::get_zmin(), PHG4CylinderGeom::set_layer(), PHG4BlockGeom::set_layer(), PHG4CylinderGeom::set_nscint(), PHG4CylinderGeom::set_phi_slat_zero(), PHG4BlockGeom::set_place(), PHG4CylinderGeom::set_radius(), PHG4BlockGeom::set_size(), PHG4CylinderGeom::set_thickness(), PHG4CylinderGeom::set_tiltangle(), PHG4BlockGeom::set_z_rot(), PHG4CylinderGeom::set_zmax(), and PHG4CylinderGeom::set_zmin().

#define PHWHERE   __FILE__ << ":" << __LINE__ << ": "

Definition at line 23 of file phool.h.

Referenced by PHG4Cellv1::add_property(), Fun4AllInputManager::AddListFile(), PHCompositeNode::addNode(), Fun4AllEventOutputManager::AddPacket(), Fun4AllEventOutputManager::AddPacketRange(), Fun4AllEventOutStream::AddPacketRange(), PdbParameterMapContainer::AddPdbParameterMap(), PHG4ParametersContainer::AddPHG4Parameters(), PHParametersContainer::AddPHParameters(), Fun4AllServer::BeginRun(), PHObject::clone(), PHHepMCGenHelper::create_node_tree(), Fun4AllEventOutputManager::DropPacket(), Fun4AllEventOutputManager::DropPacketRange(), Fun4AllEventOutStream::DropPacketRange(), Fun4AllHistoManager::dumpHistos(), Fun4AllServer::End(), Fun4AllServer::EndRun(), Fun4AllDstInputManager::fileopen(), Fun4AllEVIOInputManager::fileopen(), Fun4AllPrdfInputManager::fileopen(), Fun4AllSRawEventInputManager::fileopen(), Fun4AllDstOutputManager::Fun4AllDstOutputManager(), PHG4PrimaryGeneratorAction::GeneratePrimaries(), generic_lower_16bit_key(), generic_upper_16bit_key(), PHG4HitContainer::genkey(), PHG4Parameters::get_double_param(), PHParameters::get_double_param(), PHG4CylinderCellGeom::get_etabounds(), PHG4CylinderCellGeom::get_etacenter(), PHG4Parameters::get_int_param(), PHParameters::get_int_param(), SQMCEvent_v1::get_particle_id(), SQMCEvent_v1::get_particle_momentum(), PHG4CylinderCellGeom::get_phibounds(), PHG4CylinderCellGeom::get_phicenter(), PHG4Hitv1::get_property_float(), PHG4Cellv1::get_property_float(), PHG4Hitv1::get_property_int(), PHG4Cellv1::get_property_int(), PHG4Hitv1::get_property_uint(), PHG4Cellv1::get_property_uint(), PHG4Parameters::get_string_param(), PHParameters::get_string_param(), PHParameters::get_vdouble_param(), PHG4CylinderCellGeom::get_zbounds(), PHG4CylinderCellGeom::get_zcenter(), PHG4HeadReco::Init(), PHPythia8::Init(), PHG4Reco::Init(), PHG4DetectorSubsystem::InitRun(), PHG4PSScanGenerator::InitRun(), PHG4SimpleEventGenerator::InitRun(), PHG4CylinderCellReco::InitRun(), PHG4CylinderCellTPCReco::InitRun(), PHObject::isImplemented(), SyncObject::isValid(), RunHeader::isValid(), PHObject::isValid(), FlagSave::isValid(), PHG4EventHeader::isValid(), Fun4AllPrdfInputManager::OpenNextFile(), Fun4AllDstInputManager::OpenNextFile(), Fun4AllEVIOInputManager::OpenNextFile(), Fun4AllSRawEventInputManager::OpenNextFile(), Fun4AllOscarInputManager::OpenNextFile(), Fun4AllHepMCInputManager::OpenNextFile(), Fun4AllDstOutputManager::outfileopen(), PHNode::PHNode(), PHG4InputFilter::process_event(), HepMCCompress::process_event(), PHG4ParticleGeneratorVectorMeson::process_event(), PHHepMCParticleSelectorDecayProductChain::process_event(), PHG4ParticleGeneratorBase::process_event(), PHG4SimpleEventGenerator::process_event(), PHG4PSScanGenerator::process_event(), PHG4TruthSubsystem::process_event(), PHG4BlockCellReco::process_event(), PHG4CylinderCellReco::process_event(), HepMCNodeReader::process_event(), PHG4Reco::process_event(), Fun4AllServer::process_event(), Fun4AllPrdfInputManager::PushBackEvents(), Fun4AllDstInputManager::PushBackEvents(), Fun4AllHepMCInputManager::PushBackEvents(), PHG4Parameters::ReadFromDB(), PHParameters::ReadFromDB(), Fun4AllDstInputManager::ReadNextEventSyncObject(), PHG4DetectorGroupSubsystem::ReadParamsFromFile(), Fun4AllHistoManager::registerHisto(), Fun4AllInputManager::registerSubsystem(), Fun4AllServer::registerSubsystem(), SyncObject::Reset(), FlagSave::Reset(), PHG4EventHeader::Reset(), RunHeader::Reset(), PHObject::Reset(), PHG4ParticleGeneratorBase::ReuseExistingVertex(), PHG4DetectorGroupSubsystem::SaveParamsToFile(), SQMCEvent_v1::set_particle_id(), SQMCEvent_v1::set_particle_momentum(), PHG4Hitv1::set_property(), PHG4Cellv1::set_property(), Fun4AllDstInputManager::setBranches(), Fun4AllSyncManager::skip(), Fun4AllDstInputManager::SyncIt(), Fun4AllEVIOInputManager::SyncIt(), Fun4AllPrdfInputManager::SyncIt(), Fun4AllSRawEventInputManager::SyncIt(), Fun4AllServer::topNode(), Fun4AllServer::UpdateEventSelector(), Fun4AllSpillDstOutputManager::Write(), Fun4AllDstOutputManager::Write(), Fun4AllEventOutputManager::Write(), Fun4AllHepMCOutputManager::Write(), Fun4AllRolloverFileOutStream::WriteEventOut(), Fun4AllFileOutStream::WriteEventOut(), PHParametersContainer::WriteToDB(), PHG4ParametersContainer::WriteToDB(), PHG4Parameters::WriteToDB(), and PHParameters::WriteToDB().

Typedef Documentation

typedef int PHBoolean

Definition at line 13 of file phool.h.

Enumeration Type Documentation

Enumerator
PHReadOnly 
PHWrite 
PHUpdate 

Definition at line 15 of file phool.h.

Enumerator
PHError 
PHWarning 
PHHullo 

Definition at line 14 of file phool.h.

enum PHTreeType
Enumerator
PHEventTree 
PHRunTree 

Definition at line 16 of file phool.h.

Function Documentation

void PHMessage ( const std::string &  ,
int  ,
const std::string &   
)

Definition at line 8 of file PHMessage.cc.

References PHError, PHHullo, and PHWarning.

Referenced by PHNodeIOManager::readSpecific().

+ Here is the caller graph for this function:

Variable Documentation