Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NtpSRPlane.h

Go to the documentation of this file.
00001 
00002 // NtpSRPlane
00003 //
00004 // NtpSRPlane is an ntuple class to hold info about a group of associated
00005 // planes
00006 //
00007 // Based on Roy Lee's CandEventSR/PlaneInfoSR
00008 //
00010 
00011 #ifndef NTPSRPLANE_H
00012 #define NTPSRPLANE_H
00013 
00014 #include <iosfwd> // ostream fwd decl'
00015 #include "TObject.h"
00016 
00017 class NtpSRPlane;
00018 std::ostream& operator << (std::ostream& os, const NtpSRPlane& ntp);
00019 
00020 class NtpSRPlane : public TObject {
00021 
00022  public:
00023   // Constructors & Destructors
00024   NtpSRPlane(): n(0),nu(0),nv(0),beg(0),begu(0),begv(0),end(0),
00025     endu(0),endv(0) {}
00026   virtual ~NtpSRPlane() {}
00027 
00028   // State testing methods
00029   virtual std::ostream& Print(std::ostream& os) const;
00030   virtual void Print(Option_t* option = "") const; 
00031 
00032  public:
00033   // Ntuple is treated like a C-struct with public data members and
00034   // code rule breaking field data members not prefaced by "f" and all
00035   // lowercase, by popular demand.
00036 
00037   UShort_t n;    // number of planes 
00038   UShort_t nu;   // number of u planes 
00039   UShort_t nv;   // number of v planes 
00040   UShort_t beg;  // begin plane number
00041   UShort_t begu; // begin u-plane number
00042   UShort_t begv; // begin v-plane number
00043   UShort_t end;  // end plane number
00044   UShort_t endu; // end u-plane number
00045   UShort_t endv; // end v-plane number
00046 
00047   ClassDef(NtpSRPlane,1)
00048 };
00049 
00050 
00051 #endif // NTPSRPLANE_H

Generated on Mon Feb 15 11:07:07 2010 for loon by  doxygen 1.3.9.1