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

ANtpInfoObjectFillerBeam.h

Go to the documentation of this file.
00001 
00002 // $Id: ANtpInfoObjectFillerBeam.h,v 1.11 2009/11/13 14:59:13 rodriges Exp $
00003 //
00004 // A class to easily get at the SR ntuple information
00005 //
00006 // B. Rebel 02/2005
00008 #ifndef ANTPINFOOBJECTFILLERBEAM_H
00009 #define ANTPINFOOBJECTFILLERBEAM_H
00010 
00011 #include "TObjArray.h"
00012 #include "TClonesArray.h"
00013 #include "AnalysisNtuples/Module/ANtpInfoObjectFiller.h"
00014 #include "BeamDataUtil/BMSpillAna.h"
00015 
00016 class VldContext;
00017 class VldTimeStamp;
00018 class NtpMCRecord;
00019 class NtpSRRecord;
00020 class NtpStRecord;
00021 class NtpBDLiteRecord;
00022 class ANtpBeamInfo;
00023 class ANtpTruthInfoBeam;
00024 
00025 class ANtpInfoObjectFillerBeam : public ANtpInfoObjectFiller
00026 {
00027 
00028  public:
00029   ANtpInfoObjectFillerBeam();
00030   ANtpInfoObjectFillerBeam(Detector::Detector_t detector);
00031   virtual ~ANtpInfoObjectFillerBeam();
00032   
00033   //methods to fill the appropriate info objects
00034   void FillBeamInformation(VldTimeStamp &timeStamp, Detector::Detector_t det,
00035                            SimFlag::SimFlag_t dataType, ANtpBeamInfo *beamInfo);
00036   void FillBeamInformation(NtpBDLiteRecord *bdRecord, ANtpBeamInfo *beamInfo);
00037   // (PAR 2009-11-13) This is static because I want to call it from
00038   // ANtpInfoObjectFillerMRCC without an object. That's based on a
00039   // massive hack anyway, but this is the easiest way to deal with it in the short term
00040   static void FillBeamMCTruthInformation(NtpMCTruth *ntpMCTruth, TClonesArray *stdArray, 
00041                                          ANtpTruthInfoBeam *truthInfo); 
00042  private:
00043 
00044   BMSpillAna *fSpillAna;
00045   
00046   ClassDef(ANtpInfoObjectFillerBeam, 2) //ANtpInfoObjectFillerBeam
00047 };
00048 
00049 #endif // ANTPINFOOBECTFILLERBEAM_H
00050 
00051 

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