kaliveda-dev team mailing list archive
-
kaliveda-dev team
-
Mailing list archive
-
Message #00723
[Branch ~kaliveda-dev/kaliveda/1.8] Rev 666: Implements filtering of simulated data using ROOT TGeo description of detectors.
Merge authors:
John Frankland (frankland)
------------------------------------------------------------
revno: 666 [merge]
committer: John Frankland <frankland@xxxxxxxx>
branch nick: kaliveda
timestamp: Mon 2012-07-16 18:24:48 +0200
message:
Implements filtering of simulated data using ROOT TGeo description of detectors.
for INDRA, this is the correct Huguet CAO geometry used for the (Fortran) "filtre INDRA".
KVMultiDetArray::DetectParticle will use either the KaliVeda geometry or ROOT geometry,
depending on the value of KVMultiDetArray::fROOTGeometry (see KVMultiDetArray::SetROOTGeometry).
Default is 'kTRUE': this can be changed with .kvrootrc variable 'KVMultiDetArray.FilterUsesROOTGeometry'.
In this case, user must first build the ROOT geometry by calling KVMultiDetArray::CreateGeoManager
but after a call to SetParameters (in order to remove any missing detectors for the run in
question), e.g.
// initialisation for run
gDataSet->BuildMultiDetector()
gMultiDetArray->SetSimMode()
gMultiDetArray->SetParameters(...)
gMultiDetArray->CreateGeoManager()
// loop over events
gMultiDetArray->DetectEvent(...)
etc.
modified:
KVIndra/geometry/INDRAGeometryBuilder.cpp
KVIndra/geometry/INDRAGeometryBuilder.h
KVIndra/indra/KVINDRA.cpp
KVIndra/indra/KVINDRA.h
KVMultiDet/detectors/KVMaterial.cpp
KVMultiDet/detectors/KVMaterial.h
KVMultiDet/geometry/KVMultiDetArray.cpp
KVMultiDet/geometry/KVMultiDetArray.h
KVMultiDet/stopping/KVedaLossMaterial.cpp
etc/KaliVeda.rootrc
--
lp:kaliveda
https://code.launchpad.net/~kaliveda-dev/kaliveda/1.8
Your team KaliVeda Development Team is subscribed to branch lp:kaliveda.
To unsubscribe from this branch go to https://code.launchpad.net/~kaliveda-dev/kaliveda/1.8/+edit-subscription