TWiki> CMS Web>TrackerSoftware >SomeFindings (revision 8)EditAttach

Some findings

CMKIN

  • Datacard parameters
    MSTJ(22)=2
    A particle is decayed only if its proper lifetime is smaller than PARJ(71), which is set to cτ = 10 mm. Strange particles are "stable", charm and bottom decay.

OSCAR

  • Simulate tracker only
    • Use reduced geometry file Xml
  • Simulated V0 daughters
    Mantis/MantisApplication: add to src/NewTrackAction.cc
#include "G4VProcess.hh"
// Lengths are in mm for OSCAR!
if( (aTrack->GetCreatorProcess()->GetProcessType() == fElectromagnetic &&
     aTrack->GetCreatorProcess()->GetProcessName() == "conv") ||
    (aTrack->GetCreatorProcess()->GetProcessType() == fDecay &&
     aTrack->GetCreatorProcess()->GetProcessName() == "Decay") )
  if(fabs(aTrack->GetPosition().z())    < 50. * 10 &&
     fabs(aTrack->GetPosition().perp()) < 15. * 10)
    trkInfo->storeTrack(true);

Mantis/MantisApplication: add to BuildFile

 <use name=geant4>
 <use name=clhep>

compile in Mantis/MantisApplication/src
scramv1 build

  • If an oscar job fails (exceeds the max cpu time, or lose terminal connection etc), just copy the content of the nameoftherun.runid file (
    CARF:ResumeRun= @{[ ... a huge hexadecimal string ... ]}@
    ) to the end of the .oscarrc file, and run again. The simulation should continue from the last successful event.
-- GergelyPatay - 21 Jun 2006

ORCA

  • Compilation
    • TrackerReco/PixelTrackFinder: add to src/SeedGeneratorByRecTracksRecAlgo.cc
      #include "CARF/Reco/interface/RecConfig.h"
    • TrackerReco/TkEvent: add to interface/TkSimEventDispatch.h
      #include "TrackerReco/TkEvent/interface/TkSimEvent.h"
    • To skip cache scan:
      scramv1 build --fast
  • SimTrack filtering
    • TkEvent/src/SimpleCarfSimTrackFilter.cc: change the condition
      theSimTrack.charge() != 0

-- FerencSikler - 07 Jun 2006

Edit | Attach | Watch | Print version | History: r14 | r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r8 - 2006-06-21 - GergelyPatay
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback