source: Sophya/trunk/AddOn/TAcq/branap.h@ 3687

Last change on this file since 3687 was 3687, checked in by ansari, 16 years ago

suite modifs prog analyse - Reza 27/11/2009

File size: 839 bytes
Line 
1#ifndef BRANAPARAM
2#define BRANAPARAM
3
4//--------------------------------------------------------------
5// Projet BAORadio - (C) LAL/IRFU 2008-2010
6// Classe de gestion des parametres programmes d'analyse
7//--------------------------------------------------------------
8
9#include "machdefs.h"
10
11#include <string>
12#include <vector>
13#include <iostream>
14
15class BRAnaParam {
16public:
17 BRAnaParam(uint_4 nmean=1000, uint_4 nzon=4, uint_4 npaqz=128);
18 int DecodeArgs(int narg, char* arg[]);
19 int Usage(bool fgshort);
20
21 int PaqSizeFromFits();
22
23 ostream& Print(ostream& os);
24
25 static int DecodeMiniFitsHeader(const char* filename, uint_4& paqsz, uint_4& npaq);
26
27 vector<string> dirlist_;
28 string action_;
29 string outpath_;
30 uint_4 nmean_;
31 uint_4 imin_, imax_, istep_;
32 uint_4 paqsize_;
33 uint_4 nzones_, npaqinzone_;
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.