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

CandHeader.cxx

Go to the documentation of this file.
00001 
00002 // $Id: CandHeader.cxx,v 1.7 2004/02/10 15:25:52 rhatcher Exp $
00003 //
00004 // CandHeader.cxx
00005 //
00006 // Begin_Html<img src="../../pedestrians.gif" align=center>
00007 // <a href="../source_warning.html">Warning for beginners</a>.<br> 
00008 //
00009 // CandHeader is the header for Cand MINOS data from Reco.
00010 // It serves to tag the specifics of where/when the data was recorded.
00011 //
00012 // Author:  G. Irwin 11/2000
00013 //
00014 // Also see <a href="../../root_crib/index.html">The ROOT Crib</a> and 
00015 // <a href="../CandData.html"> CandData Classes</a> (part of
00016 // <a href="../index.html">The MINOS Class User Guide</a>)End_Html
00018 
00019 #include "CandData/CandHeader.h"
00020 
00021 #include <iostream>
00022 using std::cout;
00023 using std::endl;
00024 
00025 ClassImp(CandHeader)
00026 
00027 //______________________________________________________________________
00028 CandHeader::CandHeader() :
00029    RecMinosHdr(), fRun(-1), fSnarl(-1), fEvent(-1)
00030 {
00031 }
00032 
00033 //______________________________________________________________________
00034 CandHeader::CandHeader(const VldContext &vldc, Int_t run, Int_t snarl, Int_t event) :
00035    RecMinosHdr(vldc), fRun(run), fSnarl(snarl), fEvent(event)
00036 {
00037 }
00038 
00039 //______________________________________________________________________
00040 CandHeader::~CandHeader()
00041 {
00042 }
00043 
00044 //______________________________________________________________________
00045 void CandHeader::Print(Option_t *option) const
00046 {
00047   RecMinosHdr::Print(option);
00048   cout << " Run " << fRun 
00049        << " Snarl " << fSnarl 
00050        << " PhysicsEvent "<< fEvent
00051        << endl;
00052 }

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