ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BoolDefs.h File Reference

Go to the source code of this file.

Macros

#define BOOL   int
 
#define true   1
 
#define false   0
 

Macro Definition Documentation

#define BOOL   int

Problem: how to handle bool data type when the CC compiler doesn't know it?. Tricky example: Irix6: on R10000 CC has it built in, but if compiled with -o32 it is not there. In addition STL defines a bool that will give a conflict if you define it by hand.

Author
M.Purschke, C.Witzig \ { Date: } April 8, 98 \
Version
Last update April 8, 98

Definition at line 32 of file BoolDefs.h.

View newest version in sPHENIX GitHub at line 32 of file BoolDefs.h

#define false   0

Definition at line 34 of file BoolDefs.h.

View newest version in sPHENIX GitHub at line 34 of file BoolDefs.h

Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4UnionSolid::CalculateExtent(), G4QMDCollision::CalFinalStateOfTheBinaryCollision(), G4HadronicProcess::CheckEnergyMomentumConservation(), cheprep::GZIPOutputStreamBuffer::close(), G4FRofstream::Close(), G4VRML1FileSceneHandler::closePort(), G4VRML2FileSceneHandler::closePort(), compressevent(), G4PathFinder::ComputeStep(), G4GenericBiasingPhysics::ConstructProcess(), G4GeneralParticleSourceData::DeleteASource(), G4VTwistSurface::DistanceToIn(), G4Torus::DistanceToIn(), G4VTwistSurface::DistanceToOut(), G4UnionSolid::DistanceToOut(), G4SubtractionSolid::DistanceToOut(), G4CutTubs::DistanceToOut(), G4Tubs::DistanceToOut(), G4Torus::DistanceToOut(), G4Cons::DistanceToOut(), G4TwistBoxSide::DistanceToSurface(), G4TwistTrapAlphaSide::DistanceToSurface(), G4TwistTrapParallelSide::DistanceToSurface(), G4FRofstream::DoesFileExist(), dofistatescat(), doinstatescat(), dokinematics(), G4DAWNFILESceneHandler::EndSavingG4Prim(), cheprep::DeflateOutputStreamBuffer::finish(), g3tog4(), G4FRofstream::G4FRofstream(), G4Ions::G4Ions(), G4RadioactiveDecay::G4RadioactiveDecay(), genevent(), G4SPSRandomGenerator::GenRandEnergy(), G4SPSRandomGenerator::GenRandPhi(), G4SPSRandomGenerator::GenRandPosPhi(), G4SPSRandomGenerator::GenRandPosTheta(), G4SPSRandomGenerator::GenRandTheta(), G4SPSRandomGenerator::GenRandX(), G4SPSRandomGenerator::GenRandY(), G4SPSRandomGenerator::GenRandZ(), getdeltat(), getmass(), getnewmass(), getsudakov(), G4GMocrenFileSceneHandler::GFEndModeling(), G4hICRU49He::HasMaterial(), G4hSRIM2000p::HasMaterial(), G4hICRU49p::HasMaterial(), G4hZiegler1985p::HasMaterial(), init(), isdiquark(), ishadron(), islepton(), isparton(), isprimhadron(), isprimstring(), issecstring(), makebranch(), makecascade(), makeinsplit(), makesplitting(), medinit(), G4hParametrisedLossModel::MolecIsInZiegler1988(), G4BraggModel::MolecIsInZiegler1988(), mztog4(), G4hImpactIonisation::PrintInfoDefinition(), RawClusterBuilderTopo::process_event(), pycbal(), pymaxi(), pyrvch(), pyrvgl(), pyrvgw(), pyrvne(), pytbbc(), pytbbn(), G4SPSAngDistribution::ReSetHist(), G4PersistencyManager::Retrieve(), rkstepper(), G4UrbanAdjointMscModel::SampleCosineTheta(), G4UIGAG::SendDisableList(), G4UIGainServer::SendDisableList(), G4SPSAngDistribution::SetAngDistType(), G4SteppingManager::SetInitialStep(), G4ReactionTableMessenger::SetNewValue(), and uginit().

#define true   1

Definition at line 33 of file BoolDefs.h.

View newest version in sPHENIX GitHub at line 33 of file BoolDefs.h

Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4DAWNFILESceneHandler::BeginSavingG4Prim(), G4UnionSolid::CalculateExtent(), G4QMDCollision::CalFinalStateOfTheBinaryCollision(), G4QMDCollision::CalKinematicsOfBinaryCollisions(), G4VoxelLimits::ClipToLimits(), compressevent(), G4VRML1FileSceneHandler::connectPort(), G4VRML2FileSceneHandler::connectPort(), G4SPSAngDistribution::DefineAngRefAxes(), G4HadronicDeveloperParameters::DeveloperGet(), G4Torus::DistanceToIn(), G4CutTubs::DistanceToOut(), G4Tubs::DistanceToOut(), G4Torus::DistanceToOut(), G4Cons::DistanceToOut(), G4Sphere::DistanceToOut(), G4TwistBoxSide::DistanceToSurface(), G4TwistTrapAlphaSide::DistanceToSurface(), G4TwistTrapParallelSide::DistanceToSurface(), G4FRofstream::DoesFileExist(), dofistatescat(), doinstatescat(), dokinematics(), G4EventManager::DoProcessing(), G4DAWNFILESceneHandler::FRBeginModeling(), g3tog4(), G4RadioactiveDecay::G4RadioactiveDecay(), genevent(), getdeltat(), getmass(), getqvec(), G4GMocrenFileSceneHandler::GFBeginModeling(), G4hICRU49He::HasMaterial(), G4hICRU49p::HasMaterial(), init(), G4ParticleHPCaptureFS::Init(), isdiquark(), ishadron(), G4IonYangFluctuationModel::IsInCharge(), G4IonChuFluctuationModel::IsInCharge(), G4hBetheBlochModel::IsInCharge(), G4hIonEffChargeSquare::IsInCharge(), islepton(), isparton(), isprimhadron(), isprimstring(), issecstring(), G4GMocrenFileSceneHandler::IsVisible(), makebranch(), makecascade(), makeinsplit(), makesplitting(), makestrings_minl(), makestrings_vac(), medinit(), G4hParametrisedLossModel::MolecIsInZiegler1988(), G4FRofstream::Open(), G4Transportation::PostStepDoIt(), G4MonopoleTransportation::PostStepDoIt(), pycbal(), pymaxi(), pyrvch(), pyrvgl(), pyrvgw(), pyrvne(), pytbbc(), pytbbn(), pythrg(), G4DataVector::Retrieve(), G4PersistencyManager::Retrieve(), G4PhysicsVector::Retrieve(), rkstepper(), G4ParticleHPContAngularPar::Sample(), G4UrbanMscModel::SampleCosineTheta(), G4UrbanAdjointMscModel::SampleCosineTheta(), EICG4RPSubsystem::SetParametersFromFile(), EICG4LumiSubsystem::SetParametersFromFile(), and uhinit().