00001 00002 // $Id: CandHeader.h,v 1.5 2001/07/04 04:14:39 rhatcher Exp $ 00003 // 00004 // CandHeader.h 00005 // 00006 // CandHeader is the header for Cand MINOS data from Reco. 00007 // It serves to tag the specifics of where/when the data was recorded. 00008 // 00009 // Author: G. Irwin 11/2000 00011 00012 #ifndef CANDHEADER_H 00013 #define CANDHEADER_H 00014 00015 #include "Record/RecMinosHdr.h" 00016 00017 class CandHeader : public RecMinosHdr 00018 { 00019 00020 public: 00021 CandHeader(); // necessary for streamer io 00022 CandHeader(const VldContext &vldc, 00023 Int_t run, Int_t snarl, Int_t event = -1); 00024 00025 virtual ~CandHeader(); 00026 00027 Int_t GetRun() const { return fRun; } 00028 Int_t GetSnarl() const { return fSnarl; } 00029 Int_t GetEvent() const { return fEvent; } 00030 00031 virtual void Print(Option_t *option="") const; 00032 00033 protected: 00034 00035 Int_t fRun; // run # 00036 Int_t fSnarl; // snarl # 00037 Int_t fEvent; // physics event # in snarl 00038 00039 ClassDef(CandHeader,1) // tag candidate records 00040 }; 00041 00042 #endif // CANDHEADER_H
1.3.9.1