EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EicDigiParData.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EicDigiParData.cxx
1 //
2 // AYK (ayk@bnl.gov), 2014/10/14
3 //
4 // Bare digi class;
5 //
6 
7 #include <TFile.h>
8 
9 #include <FairRun.h>
10 
11 #include "EicDigiParData.h"
12 
13 // -----------------------------------------------------------------------------------------------
14 
16 {
17  FairRun *fRun = FairRun::Instance();
18 
19  // I guess there is no need to save/restore current directory here?;
20  fRun->GetOutputFile()->cd();
21 
22  // Yes, save under detector-specific pre-defined name;
23  //digi->Write(dname->cname() + "DigiParData");
24  Write(name);
25 
26  return 0;
27 } // EicDigiParData::mergeIntoOutputFile()
28 
29 // -----------------------------------------------------------------------------------------------
30