Parent Directory
|
Revision Log
Porting of CaloMatra to a library for the EV
| 1 | mocchiut | 1.1 | /** |
| 2 | * \file CaloViewer.h | ||
| 3 | * \author Emiliano Mocchiutti | ||
| 4 | */ | ||
| 5 | #ifndef caloviewer_h | ||
| 6 | #define caloviewer_h | ||
| 7 | |||
| 8 | #include <PamLevel2.h> | ||
| 9 | |||
| 10 | #include <TTree.h> | ||
| 11 | #include <TFriendElement.h> | ||
| 12 | #include <TChain.h> | ||
| 13 | #include <TFile.h> | ||
| 14 | #include <TList.h> | ||
| 15 | #include <TKey.h> | ||
| 16 | #include <TSystemFile.h> | ||
| 17 | #include <TSystemDirectory.h> | ||
| 18 | #include <TSQLServer.h> | ||
| 19 | #include <TCanvas.h> | ||
| 20 | #include <TPad.h> | ||
| 21 | #include <TPaveLabel.h> | ||
| 22 | #include <TLatex.h> | ||
| 23 | #include <TStyle.h> | ||
| 24 | #include <TH2F.h> | ||
| 25 | |||
| 26 | #include <iostream> | ||
| 27 | |||
| 28 | using namespace std; | ||
| 29 | |||
| 30 | /** | ||
| 31 | * | ||
| 32 | */ | ||
| 33 | class CaloViewer : public TObject { | ||
| 34 | |||
| 35 | private: | ||
| 36 | // | ||
| 37 | PamLevel2 *L2; | ||
| 38 | Bool_t debug; | ||
| 39 | // | ||
| 40 | |||
| 41 | public: | ||
| 42 | // | ||
| 43 | // | ||
| 44 | CaloViewer(); | ||
| 45 | CaloViewer(PamLevel2 *L2); | ||
| 46 | ~CaloViewer(){ Delete(); }; | ||
| 47 | // | ||
| 48 | void SetDebug(Bool_t d){ debug=d; }; | ||
| 49 | // | ||
| 50 | void Clear(); | ||
| 51 | void Clear(Option_t *option){Clear();}; | ||
| 52 | void Delete(); | ||
| 53 | void Delete(Option_t *option){Delete();}; | ||
| 54 | // | ||
| 55 | void Draw(TString type = "box"); | ||
| 56 | void Print(); | ||
| 57 | void Print(Option_t *option){Print();}; | ||
| 58 | // | ||
| 59 | ClassDef(CaloViewer,1); | ||
| 60 | }; | ||
| 61 | |||
| 62 | #endif | ||
| 63 |
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |