GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » [FIXED] use MC particle hypothesis in PndRecoKalmanTask
Re: use MC particle hypothesis in PndRecoKalmanTask [message #15620 is a reply to message #15617] Wed, 30 October 2013 16:31 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
You need to add the mc track associator for the forward ideal tracker and to uncomment the correlated line in the kalman task:

  PndFtsTrackerIdeal* trackFts = new PndFtsTrackerIdeal();
  trackFts->SetRelativeMomentumSmearing(0.05);
  trackFts->SetVertexSmearing(0.05, 0.05, 0.05);
  trackFts->SetTrackingEfficiency(1.);
  trackFts->SetTrackOutput("FtsIdealTrack");
  fRun->AddTask(trackFts);


->PndMCTrackAssociator* trackMCfwd = new PndMCTrackAssociator();
->trackMCfwd->SetTrackInBranchName("FtsIdealTrack");
->trackMCfwd->SetTrackOutBranchName("FtsIdealTrackID");
->fRun->AddTask(trackMCfwd);

  PndRecoKalmanTask* recoKalmanFwd = new PndRecoKalmanTask();
  recoKalmanFwd->SetTrackInBranchName("FtsIdealTrack");
->recoKalmanFwd->SetTrackInIDBranchName("FtsIdealTrackID");
  recoKalmanFwd->SetTrackOutBranchName("FtsIdealGenTrack");
  recoKalmanFwd->SetBusyCut(50); // CHECK to be tuned
  recoKalmanFwd->SetIdealHyp(kTRUE);
  //recoKalmanFwd->SetNumIterations(3);
  fRun->AddTask(recoKalmanFwd);


Remember to switch on the idealhyp also for the barrel kalman task:

  recoKalman->SetIdealHyp(kTRUE);


The default macros in macro/run have such modification (but idealhyp set to kFALSE)
 
Read Message icon5.gif
Read Message
Read Message
Previous Topic: FIXED Access GetMicroCandidate from RhoCandList or RhoCandidate
Next Topic: loop over PndMcTracks
Goto Forum:
  


Current Time: Thu Apr 18 21:23:03 CEST 2024

Total time taken to generate the page: 0.00973 seconds