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

FillEvent.h

Go to the documentation of this file.
00001 #ifndef ANP_FILLEVENT_H
00002 #define ANP_FILLEVENT_H
00003 
00004 //
00005 // $Id: FillEvent.h,v 1.9 2008/04/29 21:07:16 rustem Exp $
00006 //
00007 // This algorithm fills event information from standard ntuples.
00008 // It has to execute after FillTrack and FillShower.
00009 // 
00010 // 1) Match track and shower indicies for this event,
00011 // 2) Fill basic pulse height and vertex variables,
00012 // 3) Fill RecoNu object,
00013 //
00014 
00015 // C/C++
00016 #include <map>
00017 
00018 // Local
00019 #include "PhysicsNtuple/AlgStore.h"
00020 
00021 // Local
00022 #include "FillBasic.h"
00023 
00024 namespace Anp
00025 {
00026    class FillEvent : public AlgStore
00027    {
00028    public:
00029       
00030       FillEvent();
00031       virtual ~FillEvent();     
00032       
00033       bool Run(Record& record, TObject *ptr = 0);
00034       
00035       void Config(const Registry &reg);
00036 
00037    private:
00038 
00039       const RecoNu Fill(const Event &event, const Record &record) const;
00040 
00041       void FillNearestT(Event &event, const Record &record) const;
00042       void FillNearestR(Event &event, const Record &record) const;
00043 
00044    private:
00045 
00046       FillBasic fBasic;
00047 
00048       int fEndPlaneFD;
00049       int fEndPlaneND;
00050 
00051       int fAddKey;
00052    };
00053 }
00054 
00055 #endif

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