/[PAMELA software]/yodaUtility/yodaUtility.h
ViewVC logotype

Annotation of /yodaUtility/yodaUtility.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Sun Apr 30 11:08:14 2006 UTC (18 years, 7 months ago) by kusanagi
CVS Tags: yodaUtility2_0/00, yodaUtility1_0/00
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Various utilities for the yoda environment and its related softwares.
YFile 	   	- Inheriths from TFile     - Add custom features to a TFile object.
YException 	- Inheriths from exception - YODA specific Exceptions.
YMcmd	   	- Decoder for the Mcmd packets.
YSQLConnection 	- Singletn class for DB connections.
yodaUtility     - Various functions.
sgp4		- C++ NORAD SGP4/SDP4 Implementation - Developed by Michael F. Henry.

1 kusanagi 1.1 /**************************************************************
2     *
3     *****************CONFIGURATION ZONE****************************
4     *
5     **************************************************************/
6     #include <TList.h>
7     #include <TTree.h>
8     #include <TChain.h>
9     #include <TH1.h>
10     #include <TSystemDirectory.h>
11     #include <TFile.h>
12     #include <TString.h>
13     #include <Rtypes.h>
14     #include <iostream>
15    
16    
17     class Utility {
18     public:
19     /*
20     static const char *scriptRepository = "/home/pamela_yoda/scriptdef/";
21     //static const char *libYoda = "/opt/yoda/lib/libyoda.so";
22     static const char *LogTemplate = "/home/pamela_yoda/scriptdef/FilesUtility/LogTemplate.xsl";
23     static const char *VarDumpTemplate = "/home/pamela_yoda/scriptdef/FilesUtility/VarDumpTemplate.xsl";
24     static const char *ArrDumpTemplate = "/home/pamela_yoda/scriptdef/FilesUtility/ArrDumpTemplate.xsl";
25     static const char *RunHeaderTemplate = "/home/pamela_yoda/scriptdef/FilesUtility/RunHeaderTemplate.xsl";
26     static const char *PhysEndRunTemplate = "/home/pamela_yoda/scriptdef/FilesUtility/PhysEndRunTemplate.xsl";
27     static const char *McmdTemplate = "/home/pamela_yoda/scriptdef/FilesUtility/McmdTemplate.xsl";
28     */
29    
30     static void digForFiles(TList& out, TSystemDirectory *tsd, std::string defin);
31     static void makeAllFriend(TTree& out, TList* input);
32     static void makeAllChained(TChain& out, TList* input);
33     static TFile* getFile(TString base, TString packetType, TString subType);
34     static Int_t getLastNotZeroBin(TH1 *histo);
35     static Int_t getFirstNotZeroBin(TH1 *histo);
36     };
37    
38    

  ViewVC Help
Powered by ViewVC 1.1.23