/[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 3.0 by kusanagi, Fri Mar 4 15:54:11 2005 UTC revision 6.1 by kusanagi, Wed Mar 8 13:51:45 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/event/PamelaRun.h,v $   * $Source: /home/cvsmanager/yoda/event/PamelaRun.h,v $
3   * $Id: PamelaRun.h,v 2.1 2004/12/16 17:32:46 kusanagi Exp $   * $Id: PamelaRun.h,v 6.0 2006/02/07 17:11:07 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Header file for the PamelaRun class.   * Header file for the PamelaRun class.
# Line 19  Line 19 
19   * <H2> <A HREF="yoda6.html">Existing subpackets</A></H2>   * <H2> <A HREF="yoda6.html">Existing subpackets</A></H2>
20   * <H2> <A HREF="yoda7.html">Writing new subpackets</A></H2>   * <H2> <A HREF="yoda7.html">Writing new subpackets</A></H2>
21   * <H2> <A HREF="yoda8.html">Writing Algorithms</A></H2>   * <H2> <A HREF="yoda8.html">Writing Algorithms</A></H2>
22     * <H2> <A HREF="yoda9.html">Bibliography</A></H2>
23   *   *
24   */   */
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 59  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 69  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 119  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      static std::string GetRunName(int run);      static std::string GetRunName(int run);
131      //static int RunExists(int = 1) throw (std::exception);      //static int RunExists(int = 1) throw (std::exception);
132            
# Line 139  namespace pamela { Line 146  namespace pamela {
146      void WriteFiles(void);      void WriteFiles(void);
147      void FillTrees(const pamela::PacketType*);      void FillTrees(const pamela::PacketType*);
148      std::string GetRun(){ return Run; }      std::string GetRun(){ return Run; }
149      ClassDef(PamelaRun, 1)      std::string GetPath(){ return Path; }
150        std::string GetUnpackPath(){ return UnpackPath; }
151        ClassDef(PamelaRun, 3)
152    };    };
153  }  }
154    

Legend:
Removed from v.3.0  
changed lines
  Added in v.6.1

  ViewVC Help
Powered by ViewVC 1.1.23