/[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 1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 4.4 by kusanagi, Sat May 28 10:44:09 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvspamela/yoda/event/PamelaRun.h,v $   * $Source: /home/cvsmanager/yoda/event/PamelaRun.h,v $
3   * $Id: PamelaRun.h,v 1.6 2004/03/16 10:18:28 nagni Exp $   * $Id: PamelaRun.h,v 4.1 2005/05/07 08:48:25 kusanagi Exp $
4   * $Author: nagni $   * $Author: kusanagi $
5   *   *
6   * Header file for the PamelaRun class.   * Header file for the PamelaRun class.
7   */   */
# 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
# Line 41  Line 42 
42  #include "Algorithm.h"  #include "Algorithm.h"
43  #include "EventHeader.h"  #include "EventHeader.h"
44  #include "RunInfo.h"  #include "RunInfo.h"
45    #include <sstream>
46    
47    
48  /**  /**
49   * pamela is the base namespace of this package.   * pamela is the base namespace of this package.
# Line 53  namespace pamela { Line 56  namespace pamela {
56     */     */
57    class PamelaRun {    class PamelaRun {
58    private:    private:
59        std::stringstream oss;
60      /**      /**
61       * The path to the bases of the ROOT repository.       * The path to the bases of the ROOT repository.
62       */       */
# Line 69  namespace pamela { Line 73  namespace pamela {
73       * The information about the run to be stored in the ROOT files       * The information about the run to be stored in the ROOT files
74       */       */
75      pamela::RunInfo info;      pamela::RunInfo info;
76      std::string RunExists(std::string) throw (std::exception);      void RunExists(std::string) throw (std::exception);
77      std::string GetDirName(const pamela::PacketType*) const;      std::string GetDirName(const pamela::PacketType*) const;
78      std::string GetFileName(const pamela::SubPacket*, std::string) const;      std::string GetFileName(const pamela::SubPacket*, std::string) ;
79      std::string GetFileName(const pamela::SubPacket*) const;      std::string GetFileName(const pamela::SubPacket*) ;
80      TChain* ReadHeaderTree(const pamela::PacketType*) throw (std::exception);      TChain* ReadHeaderTree(const pamela::PacketType*) throw (std::exception);
81      TTree* CreateTTree(pamela::Algorithm*, const pamela::SubPacket*, std::string name)      TTree* CreateTTree(pamela::Algorithm*, const pamela::SubPacket*, std::string name)
82        throw (std::exception);        throw (std::exception);
# Line 112  namespace pamela { Line 116  namespace pamela {
116       * The map of all subpackets that are currently read from the trees.       * The map of all subpackets that are currently read from the trees.
117       */       */
118      SubPacketMap SubPacketAddresses;      SubPacketMap SubPacketAddresses;
119          
120        
121    
122    public:    public:
123      PamelaRun(std::string, std::string);      PamelaRun(std::string, std::string);
# Line 135  namespace pamela { Line 140  namespace pamela {
140      void WriteFiles(void);      void WriteFiles(void);
141      void FillTrees(const pamela::PacketType*);      void FillTrees(const pamela::PacketType*);
142      std::string GetRun(){ return Run; }      std::string GetRun(){ return Run; }
143      ClassDef(PamelaRun, 1)      ClassDef(PamelaRun, 2)
144    };    };
145  }  }
146    

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

  ViewVC Help
Powered by ViewVC 1.1.23