Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oct 13, 2005Status of Geo/PTSimS. Kasahara 1 Status of GeoGeometry/PTSim development Proposal for new MC system: GNUMI – Geant3 based. Used to simulate.

Similar presentations


Presentation on theme: "Oct 13, 2005Status of Geo/PTSimS. Kasahara 1 Status of GeoGeometry/PTSim development Proposal for new MC system: GNUMI – Geant3 based. Used to simulate."— Presentation transcript:

1 Oct 13, 2005Status of Geo/PTSimS. Kasahara 1 Status of GeoGeometry/PTSim development Proposal for new MC system: GNUMI – Geant3 based. Used to simulate beam resulting in neutrino production. Flux File - Primary particle info. loon – IoInputModule – essentially acts as dummy in the new MC, with exception of clearing Mom. EventInitializer – new job module generates initial state of event based on data from flux file or algorithm as selected by user. The output of this stage is a SimSnarlRecord containing the initial state information. PTSimModule – new job module performs transport of particles through detector geometry resulting in energy deposition “hits”. This Module makes use of the VMC package code. The Module is configured by the user to choose the actual MC implementation (e.g. Geant3). The output of this stage is the SimSnarlRecord with DigiScintHits and stdhep TParticle secondaries. PhotonTransport & DetSim – existing job modules transform “hits” to raw data readout. GNUMI Flux File loon IoInput PTSimModule PhotonTransport DetSim EventInitializer GeoGeometry (TGeo based) DB

2 Oct 13, 2005Status of Geo/PTSimS. Kasahara 2 PTSim/GeoGeometry Developments since June GeoGeometry All remaining GeoXXXNode methods needed for reconstruction have been implemented. (Caveat: This summer’s additions to Ugli methods need to be checked.) –To-do list of methods shown at last meeting: (“Red” – implementation required, “Black” – optional): GeoGeometry: GeoSteelPlnNode* GetNearestSteelPlnNode(Double_t z) const; void GetTransverseExtent(PlaneView::PlaneView_t view, Double_t& tmin, Double_t& tmax) const; GeoScintPlnNode: GeoStripNode* GetClosestStrip(Float_t tpos, Float_t orthcoord) const; void SetZRotRelSteelRad(Float_t radians); void SetXY0RelSteel(Float_t x0, Float_t y0); GeoScintMdlNode: void SetZRotRelPlnRad(Float_t radians); void SetLTPosRelPln(Float_t lpos, Float_t tpos); GeoStripNode: Float_t GetTPos(Float_t orthcoord) const; Float_t ClearFiber(StripEnd::StripEnd_t end) const; Float_t DistanceAlong(const PlexStripEndId& orthogonalstrip) const; TVector3 Intersection(const PlexStripEndId& orthogonalstrip) const; TVector3 GlobalPos(const Float_t alongLength, const Bool_t onWLS = kFALSE) const; Float_t TotalAttenuation(StripEnd::StripEnd_t end, const Float_t alongLength) const; void SetZRotRelMdlRad(Float_t radians); void SetLTPosRelMdl(Float_t lpos, Float_t tpos); Done

3 Oct 13, 2005Status of Geo/PTSimS. Kasahara 3 PTSim/GeoGeometry Developments since June GeoGeometry A scale factor has been implemented behind UgliXXXHandles to avoid two builds of GeoGeometry - one in cm for VMC, and one in m for reconstruction. –GeoGeometry is now always built in cm, but appears to user of UgliXXXHandle methods as m. Fardet Shield now appears in MC db tables (thanks Robert!), so that MC PTSim sees shield. –Also, caldet hall dimensions in db fixed.(Robert & Mike) PTSim/GeoGeometry Bug fixes in response to validation work – my own and Masaki’s. –For example, Masaki’s studies showed that muon test tracks gets stuck in steel planes during tracking. Fix introduced in response to this. Help has arrived! Masaki Ishi (Indiana) –So far, main focus has been on validation studies comparing PTSim w/GeoGeometry to GMINOS. Kregg Arms (Minnesota) –Ramping up to speed on required tools. Validation and performance have become the primary focus.

4 Oct 13, 2005Status of Geo/PTSimS. Kasahara 4 PTSim/GeoGeometry Validation Validation Techniques: Drawing – visual inspection Use of TGeo tools, esp. CheckOverlaps() Compare results of GeoXXXNode methods to those of UgliXXXNode Compare results of GeoXXXNode methods to GeoXXXNode baseline – self-consistency Compare results of reconstruction w/GeoGeometry to those w/UgliGeometry Compare PTSim w/GeoGeometry to that of GMINOS (Masaki) Compare PTSim w/GeoGeometry to that of PTSim baseline – self-consistency Those techniques with check-marks are in use – but not all are fully developed.

5 Oct 13, 2005Status of Geo/PTSimS. Kasahara 5 PTSim/GeoGeometry Validation Drawing the geometry – visual inspection Geometry structure is browsable. Navigate through volumes by opening folders/subfolders. Drop down menus appear w/right-click on volume. Valuable as a first step to catch gross errors when geometry changes. Drawbacks: Manual – time consuming. Hard to catch small errors. “Draw”

6 Oct 13, 2005Status of Geo/PTSimS. Kasahara 6 PTSim/GeoGeometry Validation Use of TGeo tools, esp. CheckOverlaps() CheckOverlaps() method can be invoked from volumes (also theoretically from manager) Immediate daughter volumes are checked for overlap with each other and for extrusion from parent Is able to catch small errors not apparent by visual inspection. Drawbacks: Currently I’m using it only manually through TBrowser on a volume-by-volume basis. Should be automated.

7 Oct 13, 2005Status of Geo/PTSimS. Kasahara 7 PTSim/GeoGeometry Validation Compare results of GeoXXXNode methods to those of UgliXXXNode Approximately 60 methods implemented by both Geo and Ugli to support use in reconstruction. – For example: TVector3 UgliStripNode::Intersection(const PlexStripEndId orthogonalstrip) const; has a twin: TVector3 GeoStripNode::Intersection(const PlexStripEndId orthogonalstrip) const; UgliXXXHandle methods alternatively invoke Ugli or GeoXXXNode methods, depending on which geometry type was built at construction. (Ugli is default, Geo can be selected as alternate.) New validation program GeoGeometry/test/TestGeo developed this summer: –Constructs one geometry of each type: UgliGeomHandle ugli(vldc); // this geometry is constructed as UgliGeometry UgliLoanPool::Instance() -> SetUseGeo(true); UgliGeomHandle geo(vldc); // this geometry is constructed as GeoGeometry –Handles are passed to test methods, one for each Node method. For example: bool TestStrip_Intersection(const UgliGeomHandle& ugli, const UgliGeomHandle& geo); –The process is repeated for each of 3 detector types. Used to debug GeoGeometry methods, and to maintain integrity.

8 Oct 13, 2005Status of Geo/PTSimS. Kasahara 8 PTSim/GeoGeometry Validation Example Output of TestGeo: Unresolved discrepancies are logged:

9 Oct 13, 2005Status of Geo/PTSimS. Kasahara 9 PTSim/GeoGeometry Validation Compare PTSim w/GeoGeometry results to baseline PTSim Masaki has begun validating PTSim against GMINOS. It’s also useful to be able to validate PTSim results against baseline PTSim. –PTSim tests aspects of the geometry that can’t be caught through visualization, checkoverlaps, or TestGeo. –Can be used during geometry performance upgrades to test validity of newer geometry in PTSim before committing to cvs. A very crude beginning to this has been made (and is in use): –When the user activates validation: jc.Path(“Reco”).Mod(“PTSimModule”).Set(“Validate=1”); a ptsimvalidate.root file is created. –The file contains an ntuple with Masaki’s trk end points and a set of histograms related to performance. –A script (ParticleTransportSim/test/validate_ptsim.C) is a simple plotting script to display the results against those of a baseline ptsimvalidate.root file. This is crude and incomplete – would like to see it pursued.

10 Oct 13, 2005Status of Geo/PTSimS. Kasahara 10 PTSim/GeoGeometry Validation Example of validate_ptsim.C use: ptsimvalidate.10_01_2005.pc6.root is baseline file. ptsimvalidate.10_11_2005.pc6.root is file generated after recent changes to geometry. Both files generated using a reroot file of GeV muons provided by Masaki as input to PTSim. –Mu+, p(0,0,-5GeV), vtx(300,0,1798) Red – baseline Black - new

11 Oct 13, 2005Status of Geo/PTSimS. Kasahara 11 PTSim/GeoGeometry Validation Example of validate_ptsim.C used to catch an experimental geometry gone bad: ptsimvalidate.10_01_2005.pc6.root is baseline file. ptsimvalidate.10_11_2005dev.pc2.root with special module volume shape. Both files generated using a reroot file of GeV muons provided by Masaki as input to PTSim. Red – baseline Black - new

12 Oct 13, 2005Status of Geo/PTSimS. Kasahara 12 PTSim/GeoGeometry Performance PTSim is slow compared to GMINOS (or so I’m told). GeoGeometry build time is slow (don’t need to be told). How slow? –On a local pc w/these parameters: AMD Athlon XP processor, cpu MHz MHz –~ 1minute build to far detector geometry. (Near detector and caldet are faster.) –~ 1 sec/event to process Masaki’s muons (5 GeV muons directed along beam direction). PTSim performance can be improved by geometry changes, for example modularizing geometry to create more depth to geometry structure. –“Flat” geometries, e.g.: Hall -> PlanePair have poorer performance than layered geometries, e.g.: Hall -> SuperModule -> PlaneGroup -> PlanePair Two changes to improve performance which have been modestly successful: –Remove pre-built LocalToGlobal matrices from GeoNode’s – improves build time? –Group shield planes into 5 container volumes. Is able to catch small errors not apparent by visual inspection. Drawbacks: Currently I’m using it only manually through TBrowser on a volume by volume basis. Should be automatized.

13 Oct 13, 2005Status of Geo/PTSimS. Kasahara 13 PTSim/GeoGeometry Performance Shield Groups Outer & Inner are modeled as boxes Top is modeled as TGeoXtru as box w/ trap cut-out to fit over top of detector. Top – 120 planes OuterE – 16 planes OuterW – 16 planes InnerE – 8 planesInnerW – 8 planes

14 Oct 13, 2005Status of Geo/PTSimS. Kasahara 14 PTSim/GeoGeometry Performance validate_ptsim.C performance plots: ptsimvalidate.10_01_2005.pc6.root is baseline file. ptsimvalidate.10_11_2005.pc6.root is file generated after recent changes to geometry. Both files generated using a reroot file of GeV muons provided by Masaki as input to PTSim. Red – baseline Black - new


Download ppt "Oct 13, 2005Status of Geo/PTSimS. Kasahara 1 Status of GeoGeometry/PTSim development Proposal for new MC system: GNUMI – Geant3 based. Used to simulate."

Similar presentations


Ads by Google