HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HarpoPedMgr.h
Go to the documentation of this file.
1 #ifndef HARPOPEDMGR_H
2 #define HARPOPEDMGR_H
3 //
5 // HarpoPedMgr
6 //
8 
9 //#include "Rtypes.h"
10 #include "TString.h"
11 #include "TFile.h"
12 #include "TTree.h"
13 #include "HarpoPedestal.h"
14 
16 {
17 public:
18  HarpoPedMgr();
19  virtual ~HarpoPedMgr();
20 
22  void SetFile(TString *file);
24  HarpoPedestal * Lookup(Long_t run, Long_t detno);
27  // HarpoPedestal * GetPedestals() { return p; }
28 
31  void WriteRunPedestals(Long_t run, HarpoPedestal * p,
32  Int_t plane, Int_t card = 0);
33 
34 protected:
36 
37 private:
38  const char * fn;
39  TFile *f;
40 };
41 
42 #endif // HARPOPEDMGR_H
43 // Local Variables:
44 // mode: c++
45 // End:
const char * fn
Definition: HarpoPedMgr.h:38
void WriteRunPedestals(Long_t run, HarpoPedestal *p, Int_t plane, Int_t card=0)
Definition: HarpoPedMgr.cxx:83
HarpoPedestal * Lookup(Long_t run, Long_t detno)
! Serach pedestal and means for given plane
Definition: HarpoPedMgr.cxx:37
void SetFile(TString *file)
Set Femimos Pedistal File Name.
Definition: HarpoPedMgr.cxx:30
virtual ~HarpoPedMgr()
Definition: HarpoPedMgr.cxx:22
HarpoPedMgr()
A class HarpoPedMgr.
Definition: HarpoPedMgr.cxx:15
TFile * f
Definition: HarpoPedMgr.h:39
HarpoPedestal * p
Definition: HarpoPedMgr.h:35