/[PAMELA software]/yoda/event/physics/anticoinc/AnticounterEvent.h
ViewVC logotype

Annotation of /yoda/event/physics/anticoinc/AnticounterEvent.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Jul 20 13:03:25 2004 UTC (20 years, 4 months ago) by kusanagi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
File MIME type: text/plain
FILE REMOVED
*** empty log message ***

1 kusanagi 1.1 /** @file
2 kusanagi 1.2 * $Source: /home/cvsmanager/yoda/event/physics/anticoinc/AnticounterEvent.h,v $
3     * $Id: AnticounterEvent.h,v 1.1 2004/07/06 12:20:23 kusanagi Exp $
4     * $Author: kusanagi $
5 kusanagi 1.1 *
6     * Header file for the raw anticoincidence events
7     */
8     #ifndef ANTICOUNTER_EVENT_H
9     #define ANTICOUNTER_EVENT_H
10    
11     #include <exception>
12    
13     #include <TObject.h>
14    
15     #include "event/SubPacket.h"
16    
17     namespace pamela {
18     /**
19     * Namespace for all code related to the anticoincidence unit.
20     */
21     namespace anticoinc {
22     /**
23     * Raw anticounter subpacket
24     */
25     class AnticounterEvent: public pamela::SubPacket {
26     private:
27     int Hit; // Global hit flag
28     int CasHit[4]; // Which CAS PMTs have activity
29     int CatHit[4]; // Which CAT PMTs have activity
30     int CasCluster[88]; // Cluster ID in CAS shift registers
31     int CatCluster[88]; // Cluster ID in CAT shift registers
32     int StatusFlag; // Status of the ANTI system
33     int StatusPmtFlag[16]; // Database driven status flag;
34     public:
35     AnticounterEvent(void);
36     ~AnticounterEvent(void);
37     int GetHit(void) const { return Hit; }
38     const int* GetCasHit(void) const { return CasHit; }
39     const int* GetCatHit(void) const { return CatHit; }
40     const int* GetCasCluster(void) const { return CasCluster; }
41     const int* GetCatCluster(void) const { return CatCluster; }
42     int GetStatusFlag(void) const { return StatusFlag; }
43     const int* GetStatusPmtFlag(void) const { return StatusPmtFlag; }
44     // ... and the setters ...
45     ClassDef(AnticounterEvent, 1)
46     };
47     }
48     }
49     #endif /* ANTICOUNTER_EVENT_H */

  ViewVC Help
Powered by ViewVC 1.1.23