GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » Kalman low efficiency
Re: Kalman low efficiency [message #11953 is a reply to message #11951] Thu, 02 June 2011 13:07 Go to previous messageGo to previous message
Susanna Costanza is currently offline  Susanna Costanza
Messages: 33
Registered: January 2008
Location: Pavia
continuous participant
From: *1-79-r.retail.telecomitalia.it
Hi,
for each event, I do the following:
    for (Int_t k = 0; k < kalfit->GetEntriesFast(); k++) {
       kalTrack = (PndTrack*) kalfit->At(k);
       if (!kalTrack) continue;
       if (kalTrack->GetFlag() < 0) continue;

where kalfit is the TClonesArray of PndTracks produced by the Kalman:
      TClonesArray *kalfit = new TClonesArray("PndTrack");
      reco->SetBranchAddress("SttMvdGenTrack", &kalfit);

Then, if the track is a primary track (I check the MCTrackId of the corresponding TrackCand), I fill the histogram of the momentum distribution:
     hgen->Fill(kalTrack->GetParamFirst().GetMomentum().Mag());


Susanna
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MC true matching to reconstucted one
Next Topic: TPC signal data available on GRID
Goto Forum:
  


Current Time: Sun Nov 24 02:53:18 CET 2024

Total time taken to generate the page: 0.01010 seconds