00001 #ifndef ANP_FILLHEADER_H 00002 #define ANP_FILLHEADER_H 00003 00004 // $Id: FillHeader.h,v 1.7 2008/01/31 22:18:17 rustem Exp $ 00005 // 00006 // FillHeader fill Header object with snarl data 00007 // 00008 00009 // C/C++ 00010 #include <string> 00011 00012 // Local 00013 #include "PhysicsNtuple/AlgStore.h" 00014 00015 class BMSpillAna; 00016 00017 namespace Anp 00018 { 00019 class FillHeader : public AlgStore 00020 { 00021 public: 00022 00023 FillHeader(); 00024 virtual ~FillHeader(); 00025 00026 bool Run(Record &record, TObject *ptr = 0); 00027 00028 void Config(const Registry& reg); 00029 00030 private: 00031 00032 std::string fBeam; // store beam type for Monte-Carlo 00033 00034 bool fBrief; // fill only detector and data/simulation variables 00035 00036 BMSpillAna *fSpill; // make a copy of object that chooses good beam spills 00037 }; 00038 } 00039 00040 #endif
1.3.9.1