[root] / trunk / montecarlo / vmc / inc / TVirtualMC.h Repository:
ViewVC logotype

Log of /trunk/montecarlo/vmc/inc/TVirtualMC.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

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 42288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 19:31:52 2011 UTC (3 years, 1 month ago) by ivana
File length: 35270 byte(s)
Diff to previous 38344
Removing deprecated functions from TVirtualMC.h

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 34836 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 09:52:27 2010 UTC (4 years, 5 months ago) by ivana
File length: 36947 byte(s)
Diff to previous 34359
Adding a new function in TVirtualMC:
Bool_t CurrentBoundaryNormal(Double_t &x, Double_t &y, Double_t &z) const;

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 27157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 15 14:05:12 2009 UTC (6 years ago) by brun
File length: 37102 byte(s)
Diff to previous 27106
From Axel:
Replace all references to Text_t by char, still keeping the definition in Rtypes.h

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 23136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 08:58:49 2008 UTC (6 years, 9 months ago) by rdm
File length: 36834 byte(s)
Diff to previous 21565
move the following directories to "montecarlo":

eg, g4root, pythia6, pythia8, vmc

Revision 21565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 28 12:28:46 2007 UTC (7 years ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 36834 byte(s)
Diff to previous 20882
Functions referencing a static global cannot be inlined.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 36850 byte(s)
Diff to previous 20768
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

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 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 32135 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 32186 byte(s)
Diff to previous 19620
remove :$ from tag line

Revision 19620 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 13 17:29:32 2007 UTC (7 years, 5 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 32196 byte(s)
Diff to previous 17193
From Axel and Gordon Watts:
Move inline functions referencing class static global variables from inline
to the implementation files (Windows DLLs).

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 16107 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 24 16:31:21 2006 UTC (8 years, 5 months ago) by rdm
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 35174 byte(s)
Diff to previous 15557
Added proper copyright and license statements. All files now LGPL.

Revision 15557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 15:35:38 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 34841 byte(s)
Diff to previous 15134
From Ivana:
- Added member function description where missing

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 15028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 13 20:57:20 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 18217 byte(s)
Diff to previous 14775
Fix coding conventions violations

Revision 14775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 20 14:36:48 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 18378 byte(s)
Diff to previous 13289
remove <TAB>s from code.

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 12616 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 4 09:25:01 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 15732 byte(s)
Diff to previous 11822
Fix coding conventions violations.

Revision 11822 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 19 09:03:48 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 15256 byte(s)
Diff to previous 11806
Rename enums in TMCOptical to follow ROOT coding conventions

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 10612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 24 14:07:39 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 14011 byte(s)
Diff to previous 10600
The previous additions by Andreas Morsch had removed 4 functions
introduced in the previous revision by Andrei Gheata.
These functions are now back in.

Revision 10600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 23 14:51:59 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 12803 byte(s)
Diff to previous 10288
From Andreas Morsch
added a new method to TVirtualMC.h

void TVirtualMC::ForceDecayTime(Float_t);


This allows to force the decay time of the current particle.

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 9725 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 11 09:57:28 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 12468 byte(s)
Diff to previous 9136
Add new function
    virtual Bool_t   SecondariesAreOrdered() const = 0;
This function is also implemented in TGeant3.h and it is required for TFluka.

Revision 9136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 8 10:26:42 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 12347 byte(s)
Diff to previous 9044
From Ivana;
- Added Bool_t return value to methods
  SetCut(), SetProcess(), DefineParticle(), DefineIon()
- Removed  DefineParticles()

Revision 9044 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 28 13:38:21 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 12387 byte(s)
Diff to previous 7367
From Ivana:
Added method     virtual void StopRun() = 0;
Changed:
   virtual void ProcessRun(Int_t nevent) = 0;
to:
   virtual Bool_t ProcessRun(Int_t nevent) = 0;

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 6961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 17 12:24:03 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/vmc/inc/TVirtualMC.h
File length: 11644 byte(s)
Diff to previous 6934
Provide a dummy implementation of SetRootGeometry

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9