/[PAMELA software]/yoda/event/PamelaRun.h
ViewVC logotype

Diff of /yoda/event/PamelaRun.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4.4 by kusanagi, Sat May 28 10:44:09 2005 UTC revision 6.2 by mocchiut, Fri Sep 29 10:19:12 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/event/PamelaRun.h,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/event/PamelaRun.h,v $
3   * $Id: PamelaRun.h,v 4.1 2005/05/07 08:48:25 kusanagi Exp $   * $Id: PamelaRun.h,v 6.1 2006/03/08 13:51:45 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Header file for the PamelaRun class.   * Header file for the PamelaRun class.
# Line 25  Line 25 
25  #ifndef PAMELA_RUN_H  #ifndef PAMELA_RUN_H
26  #define PAMELA_RUN_H  #define PAMELA_RUN_H
27    
28  //#include <string>  
 //#include <map>  
 //#include <list>  
   
 //#include <root/TFile.h>  
 //#include <root/TTree.h>  
 //#include <root/TChain.h>  
29  #include <TFile.h> //Substituted by Maurizio 05 Feb 2004  #include <TFile.h> //Substituted by Maurizio 05 Feb 2004
30  #include <TTree.h> //Substituted by Maurizio 05 Feb 2004  #include <TTree.h> //Substituted by Maurizio 05 Feb 2004
31  #include <TChain.h> //Substituted by Maurizio 05 Feb 2004  #include <TChain.h> //Substituted by Maurizio 05 Feb 2004
32    
   
 #include "PacketType.h"  
 #include "SubPacket.h"  
33  #include "Algorithm.h"  #include "Algorithm.h"
34  #include "EventHeader.h"  #include "EventHeader.h"
35  #include "RunInfo.h"  #include "RunInfo.h"
36  #include <sstream>  #include <list>
   
37    
38  /**  /**
39   * pamela is the base namespace of this package.   * pamela is the base namespace of this package.
# Line 60  namespace pamela { Line 50  namespace pamela {
50      /**      /**
51       * The path to the bases of the ROOT repository.       * The path to the bases of the ROOT repository.
52       */       */
53      std::string Path;       std::string Path;
54        /**
55         * The path to the bases for Unpacking.
56         */
57        std::string UnpackPath;
58      /**      /**
59       * The run name;       * The run name;
60       */       */
# Line 70  namespace pamela { Line 64  namespace pamela {
64       */       */
65      int RunNumber;      int RunNumber;
66      /**      /**
67         * compression Level.
68         */
69        short compression;
70        /**
71         * Multiple/Single unpack.
72         */
73        bool Multiple;
74        /**
75         * single File.
76         */
77        TFile *SingleFile;
78        /**
79       * The information about the run to be stored in the ROOT files       * The information about the run to be stored in the ROOT files
80       */       */
81      pamela::RunInfo info;      pamela::RunInfo info;
# Line 120  namespace pamela { Line 126  namespace pamela {
126            
127    
128    public:    public:
129      PamelaRun(std::string, std::string);      PamelaRun(std::string, std::string, bool, short);
130        virtual ~PamelaRun(){};
131      static std::string GetRunName(int run);      static std::string GetRunName(int run);
132      //static int RunExists(int = 1) throw (std::exception);      //static int RunExists(int = 1) throw (std::exception);
133            
# Line 140  namespace pamela { Line 147  namespace pamela {
147      void WriteFiles(void);      void WriteFiles(void);
148      void FillTrees(const pamela::PacketType*);      void FillTrees(const pamela::PacketType*);
149      std::string GetRun(){ return Run; }      std::string GetRun(){ return Run; }
150      ClassDef(PamelaRun, 2)      std::string GetPath(){ return Path; }
151        std::string GetUnpackPath(){ return UnpackPath; }
152        ClassDef(PamelaRun, 3)
153    };    };
154  }  }
155    

Legend:
Removed from v.4.4  
changed lines
  Added in v.6.2

  ViewVC Help
Powered by ViewVC 1.1.23