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

Diff of /yoda/event/EventHeader.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 2.1 by kusanagi, Fri Dec 3 22:04:04 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvspamela/yoda/event/EventHeader.h,v $   * $Source: /home/cvsmanager/yoda/event/EventHeader.h,v $
3   * $Id: EventHeader.h,v 1.6 2004/03/16 10:18:28 nagni Exp $   * $Id: EventHeader.h,v 2.0 2004/09/21 20:49:57 kusanagi Exp $
4   * $Author: nagni $   * $Author: kusanagi $
5   *   *
6   * Header file for the EventHeader class.   * Header file for the EventHeader class.
7   */   */
# Line 9  Line 9 
9  #define EVENT_HEADER_H  #define EVENT_HEADER_H
10    
11  #include <iostream>  #include <iostream>
12  // #include <root/TROOT.h>  #include <TROOT.h>
13  // #include <root/TTree.h>  #include <TTree.h>
 #include <TROOT.h> //Substituted by Maurizio 05 Feb 2004  
 #include <TTree.h> //Substituted by Maurizio 05 Feb 2004  
14    
15    
16  #include "SubPacket.h"  #include "SubPacket.h"
17  #include "PscuHeader.h"  #include "PscuHeader.h"
18  #include "EventCounter.h"  #include "EventCounter.h"
19    
20    
21  namespace pamela {  namespace pamela {
22    /**    /**
23     * Common raw event header. It contains the PSCU header and the Counter.     * Common raw event header. It contains the PSCU header and the Counter.
# Line 38  namespace pamela { Line 37  namespace pamela {
37      /** Get the event counter. */      /** Get the event counter. */
38      pamela::EventCounter *GetCounter() { return &Counter; }      pamela::EventCounter *GetCounter() { return &Counter; }
39      /** Get the PSCU header (information from the Pamela CPU board). */      /** Get the PSCU header (information from the Pamela CPU board). */
40      pamela::PscuHeader *GetPscuHeader() { return &Pscu; }      pamela::PscuHeader *GetPscuHeader() throw (Exception) { return &Pscu; }
41      ClassDef(EventHeader, 1)      ClassDef(EventHeader, 1)
42    };    };
43  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23