Log of /trunk/montecarlo/vmc/inc/TVirtualMC.h
Parent Directory
Revision
43453 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 22 16:11:34 2012 UTC (2 years, 10 months ago) by
ivana
File length: 35842 byte(s)
Diff to
previous 42288
Modifications in vmc for multi-threading:
Making TVirtualMC and TVirtualMCApplication instances thread local;
behind #if defined(__linux__) && !defined(__CINT__)
Revision
38344 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 9 17:03:14 2011 UTC (3 years, 10 months ago) by
ivana
File length: 36059 byte(s)
Diff to
previous 34836
In TVirtualMC:
- Adding a new function (as a replacement of Gfmate())
virtual Bool_t GetMaterial(Int_t imat, TString& name,
Double_t& a, Double_t& z, Double_t& density,
Double_t& radl, Double_t& inter, TArrayD& par);
- Removing deprecated functions:
virtual void DrawOneSpec(const char* name) = 0;
virtual void Gsatt(const char* name, const char* att, Int_t val) = 0;
virtual void Gdraw(const char*,Double_t theta = 30, Double_t phi = 30,
Double_t psi = 0, Double_t u0 = 10, Double_t v0 = 10,
Double_t ul = 0.01, Double_t vl = 0.01) = 0;
virtual void Gdopt(const char*,const char*) = 0;
virtual void SetClipBox(const char*,Double_t=-9999,Double_t=0, Double_t=-9999,
Double_t=0,Double_t=-9999,Double_t=0) = 0;
virtual void DefaultRange() = 0;
virtual void Gdhead(Int_t, const char*, Double_t=0) = 0;
virtual void Gdman(Double_t, Double_t, const char*) = 0;
- Removing the default implementation of the following new functions and
setting them =0:
virtual void SetCollectTracks(Bool_t collectTracks) = 0;
virtual Bool_t IsCollectTracks() const = 0;
- Deprecating of the following functions:
virtual void Gfmate(Int_t imat, char *name, Float_t &a, Float_t &z,
Float_t &dens, Float_t &radl, Float_t &absl,
Float_t* ubuf, Int_t& nbuf) = 0;
virtual void Gfmate(Int_t imat, char *name, Double_t &a, Double_t &z,
Double_t &dens, Double_t &radl, Double_t &absl,
Double_t* ubuf, Int_t& nbuf) = 0;
virtual void Gckmat(Int_t imed, char* name) = 0;
virtual void WriteEuclid(const char* filnam, const char* topvol,
Int_t number, Int_t nlevel) = 0;
virtual Double_t Xsec(char*, Double_t, Int_t, Int_t) = 0;
virtual void ProcessEvent() = 0;
Revision
34359 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 9 09:53:22 2010 UTC (4 years, 6 months ago) by
ivana
File length: 36368 byte(s)
Diff to
previous 33664
In vmc:
- Adding warning in the implementation of the recently added new functions:
TVirtualMC::SetCollectTracks() and TVirtualMC::IsCollectTracks()
- Removed default implementation of TVirtualMC::SetUserParameters()
- Adding process codes kPPhotoNuclear, kPUserDefined in TMCProcess.h
(needed in Geant4)
Revision
33664 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon May 31 07:08:54 2010 UTC (4 years, 7 months ago) by
brun
File length: 36293 byte(s)
Diff to
previous 30749
From Andrei:
Add two new functions in the abastract interface
// Activate collecting tracks (working only with TGeant3TGeo)
virtual void SetCollectTracks(Bool_t) {}
virtual Bool_t IsCollectTracks() const {return kFALSE;}
Revision
30749 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 15 16:33:04 2009 UTC (5 years, 3 months ago) by
brun
File length: 36121 byte(s)
Diff to
previous 28872
From Matthew Strait:
This patch fixes the spelling of "function" in the root source code
and documentation, which is misspelled (sometimes as part of larger
"function"-based words) at least 152 times:
* "funciton" 48 times
* "funcion" 36 times
* "funtion" 23 times
* "fucntion" 17 times
* "functionn" 6 times
* "fuction" 6 times
* "fuunction" 4 times
* "functioin" 3 times
* "fonction" 3 times
* "funstion" twice
* "fnuction" once
* "functiom" once
* "functio" once
* "funcition" once
Revision
28872 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 10 09:47:55 2009 UTC (5 years, 7 months ago) by
ivana
File length: 36121 byte(s)
Diff to
previous 27260
Adding new TVirtualMC function:
virtual void SetUserParameters(Bool_t isUserParameters);
which allows to activate the parameters defined in tracking media
(DEEMAX, STMIN, STEMAX), which are, be default, ignored.
In Geant4 case, only STEMAX is taken into account.
In FLUKA, all tracking media parameters are ignored.
Revision
27260 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 27 16:26:34 2009 UTC (5 years, 11 months ago) by
ivana
File length: 35424 byte(s)
Diff to
previous 27157
In TVirtualMC:
Making all new functions abstract and removing its default
implementation. (They are now implemented in all MCs.)
Revision
27106 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 9 07:55:28 2009 UTC (6 years ago) by
brun
File length: 37108 byte(s)
Diff to
previous 23136
From Ivana:
there is added setter/getter for TVirtualMagField
in TVirtualMC.
If the field object is set, the MCApplication::Field
is not used, if not, it is used as before, but there is issued
a warning that MCApplication::Field is now deprecated and user
should move to TVirtualMagField.
There is also included a correction in the new classes
headers, as there was a problem in compilation when using
include of uniform field. And added a setter/getter for
the field value in uniform field.
Revision
20768 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 12 16:04:42 2007 UTC (7 years, 2 months ago) by
ivana
Original Path:
trunk/vmc/inc/TVirtualMC.h
File length: 36850 byte(s)
Diff to
previous 19826
- Modified interface TVirtualMC::DefineParticle() - added more arguments
needed for Geant4 implementation
- Added new function TVirtualMCApplication::AddIons(),
additional to AddParticles(), as in Geant4 ions have to be added
later then particles
From Mohammad Al-Turany:
- Added new function:
TVirtualMC::SetDecayMode()
Revision
17193 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 12 16:12:55 2006 UTC (8 years, 1 month ago) by
brun
Original Path:
trunk/vmc/inc/TVirtualMC.h
File length: 32211 byte(s)
Diff to
previous 16107
From Ivana Hrivnacova:
TVirtualMC
- Added new function TVirtualMC::MediumId(const const Text_t* mediumName)
- Removed default implementations for the recent functions
and made them pure anstract (=0)
- Removed deprecated function GetMedium() replaced with CurrentMedium()
- Copy constructors and assignment operators moved to private and
their implementation is removed
TVirtualMCGeometry
TGeoMCGeometry
- Added new function TVirtualMC::MediumId(const const Text_t* mediumName)
- Removed singleton pattern (now more than one instance may exist)
- Copy constructors and assignment operators moved to private and
their implementation is removed
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/vmc/inc/TVirtualMC.h
File length: 18317 byte(s)
Diff to
previous 15028
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
13289 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 18 21:20:15 2005 UTC (9 years, 2 months ago) by
brun
Original Path:
trunk/vmc/inc/TVirtualMC.h
File length: 18538 byte(s)
Diff to
previous 12616
From Bjorn, Andrei, Ivana:
Added new functions for access to geometry:
Bool_t GetTransformation(...);
Bool_t GetShape(...);
Bool_t GetMaterial(...);
Bool_t GetMedium(...);
The old GetMedium() function is going to be deprecated
and replaced with CurrentMedium(), now added:
Int_t CurrentMedium()
Revision
11806 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 17 12:44:52 2005 UTC (9 years, 8 months ago) by
brun
Original Path:
trunk/vmc/inc/TVirtualMC.h
File length: 15264 byte(s)
Diff to
previous 11058
From Ivana:
Added new functions for definition of surfaces and material
properties for optical physics.
TVirtualMC:
virtual void DefineOpSurface(...);
virtual void SetBorderSurface(...);
virtual void SetSkinSurface(...);
virtual void SetMaterialProperty(...);
TVirtualMCApplication:
virtual void ConstructOpGeometry() {}
Use of these functions is demonstrated on the new VMC example E06.
Revision
11058 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 8 11:20:15 2005 UTC (9 years, 11 months ago) by
brun
Original Path:
trunk/vmc/inc/TVirtualMC.h
File length: 12601 byte(s)
Diff to
previous 10612
From Ivana:
- Removed default implementation for the recent functions
and made them pure anstract (=0)
- Removed fIsRootGeometrySupported data member;
this info should be returned via IsRootGeometrySupported() function
Revision
10288 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 12 07:45:54 2004 UTC (10 years, 3 months ago) by
brun
Original Path:
trunk/vmc/inc/TVirtualMC.h
File length: 13663 byte(s)
Diff to
previous 9725
From Ivana:
Added new methods for querying geometry:
Int_t NofVolDaughters(const char* volName) const;
const char* VolDaughterName(const char* volName, Int_t i) const;
Int_t VolDaughterCopyNo(const char* volName, Int_t i) const;
const char* CurrentVolPath();
For backward compatibility, the default implementation is
temporarily provided. To be changed to pure virtual functions
with the next release.
Revision
7367 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 27 09:28:45 2003 UTC (11 years, 3 months ago) by
brun
Original Path:
trunk/vmc/inc/TVirtualMC.h
File length: 12348 byte(s)
Diff to
previous 7330
From Ivana:
For back compatibility, add a non-virtual
function TVirtualMC::DefineParticles() which will just
print a warning that this function is obsolete. We should
remove it with putting the new version number.
Revision
7330 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 23 14:02:17 2003 UTC (11 years, 4 months ago) by
brun
Original Path:
trunk/vmc/inc/TVirtualMC.h
File length: 12308 byte(s)
Diff to
previous 6961
From Ivana:
- added new functions to enable user to define own particles and ions
DefineParticle(..)
DefineIon(..)
- Gfpart replaced with functions:
ParticleName(..) const
ParticleMass(..) const
Double_t ParticleCharge(..) const
Double_t ParticleLifeTime(..) const
TMCParticleType ParticleMCType(..) const
- suppressed G3 specific and/or not used functions:
SetColors()
Gtreve()
GtreveRoot()
DefineParticles()
FinishGeometry()
Revision
6934 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Tue Jul 15 09:56:58 2003 UTC (11 years, 6 months ago) by
brun
Original Path:
trunk/vmc/inc/TVirtualMC.h
File length: 11646 byte(s)
Old directory mc is renamed vmc.
Note new classes TVirtualMCGeometry, TGeoMCGeometry.
The new vmc directory has the following backward incompatibilities;
in class TVirtualMCStack,
SetTrack has been renamed PushTrack
GetNextTrack is renamed PopNextTrack
GetPrimaryForTracking is renamed PopPrimaryForTracking
CurrentTrack is renamed GetCurrentTrackNumber
CurrentTrackParent is renamed GetCurrentParentTrackNumber
in class TVirtualMC
A new optional argument in the constructor
Two new functios SetRootGeometry and IsRootGeometrySupported.
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.