Analysis Software
Documentation for sPHENIX simulation software
|
Go to the source code of this file.
Macros | |
#define | BOOL int |
#define | true 1 |
#define | false 0 |
#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.
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 compressevent(), dofistatescat(), doinstatescat(), dokinematics(), genevent(), PHSiliconTpcTrackMatching::getCrossingIntt(), getdeltat(), getmass(), getnewmass(), getsudakov(), init(), is_gauge_boson_or_higgs(), isdiquark(), ishadron(), islepton(), isparton(), isprimhadron(), isprimstring(), issecstring(), TransportCoeff::isViscous(), makebranch(), makecascade(), makeinsplit(), makesplitting(), medinit(), pycbal(), pymaxi(), pyrvch(), pyrvgl(), pyrvgw(), pyrvne(), pytbbc(), pytbbn(), and rkstepper().
#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 compressevent(), mvtx::GBTLink::decode_lane(), dofistatescat(), doinstatescat(), dokinematics(), genevent(), getdeltat(), getmass(), getqvec(), init(), isdiquark(), ishadron(), islepton(), isparton(), isprimhadron(), isprimstring(), issecstring(), TransportCoeff::isViscous(), makebranch(), makecascade(), makeinsplit(), makesplitting(), makestrings_minl(), makestrings_vac(), medinit(), pycbal(), pymaxi(), pyrvch(), pyrvgl(), pyrvgw(), pyrvne(), pytbbc(), pytbbn(), pythrg(), and rkstepper().