Log of /trunk/montecarlo/eg/inc/TDatabasePDG.h
Parent Directory
Revision
15134 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by
brun
Original Path:
trunk/eg/inc/TDatabasePDG.h
File length: 3170 byte(s)
Diff to
previous 15055
From Federico Carminati:
"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."
Revision
1740 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 5 09:09:42 2001 UTC (13 years, 10 months ago) by
brun
Original Path:
trunk/eg/inc/TDatabasePDG.h
File length: 2362 byte(s)
Diff to
previous 1205
New version of TDatabasePDG and related classes from Pasha Murat.
Note that TDatabasePDG::AddParticle has two additional parameters (optional).
- the default constructor is not doing anything now (not even allocating the memory)
- GetParticle methods are modified to do auto-initialization if necessary
- ReadPDGTable includes Init functionality
- Rootino has been added
- few typo-level things fixed in the particle table itself (like "p+" has been
changed into "proton", "n0" into "neutron" and such)
TDatabasePDG::Init has been removed (replaced by ReadPDGTable). This new function
reads the PDG data base from the ascii file pdg_table.txt in $ROOTSYS/eg/src
Revision
1205 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by
brun
Original Path:
trunk/eg/inc/TDatabasePDG.h
File length: 2133 byte(s)
Diff to
previous 3
W A R N I N G !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
virtual TObject *Clone() const;
virtual Int_t Compare(const TObject *obj) const;
virtual void Delete(Option_t *option=""); // *MENU*
virtual void DrawClass() const; // *MENU*
virtual void DrawClone(Option_t *option="") const; // *MENU*
virtual void Dump() const; // *MENU*
virtual TObject *FindObject(const TObject *obj) const;
virtual char *GetObjectInfo(Int_t px, Int_t py) const;
virtual ULong_t Hash() const;
virtual void Inspect() const; // *MENU*
virtual Bool_t IsEqual(const TObject *obj) const;
virtual void ls(Option_t *option="") const;
virtual void Print(Option_t *option="") const;
A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.