GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Access to EventHeader. after Digitization
Re: Access to EventHeader. after Digitization [message #19900 is a reply to message #19293] Thu, 17 November 2016 13:18 Go to previous messageGo to previous message
Michael Papenbrock is currently offline  Michael Papenbrock
Messages: 24
Registered: September 2014
continuous participant
From: *physics.uu.se
Hi!

I just ran into a similar problem, but within a FairTask, which was also executed after digitization. I used the following code in order to access the event time:
FairRootManager *ioManager = FairRootManager::Instance();
  if (FairRunAna::Instance()->IsTimeStamp()) {
    Double_t eventTime = ioManager->GetEventTime();
  }


Whether I call it in the Init() or Exec() method yields zero. However, the event times in the digi root-file look fine. Has this been resolved or is there a common workaround?
 
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: HGS-HIRe SUMMER STUDENT PROGRAM at G S I / F A I R, July 24 - Sep. 14, 2017
Next Topic: Merry Christmas
Goto Forum:
  


Current Time: Wed May 25 12:01:51 CEST 2022

Total time taken to generate the page: 0.01201 seconds