00001 #ifndef ANP_FILLEVENT_H
00002 #define ANP_FILLEVENT_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include <map>
00017
00018
00019 #include "PhysicsNtuple/AlgStore.h"
00020
00021
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 ®);
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