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

FileLumper.h

Go to the documentation of this file.
00001 //==========================================================
00002 //
00003 // FileLumper.h
00004 //
00005 // Authors: Pedro Ochoa
00006 //
00007 // Written: December 21 2007
00008 //
00009 //===========================================================
00010 
00011 #ifndef FILELUMPER_H
00012 #define FILELUMPER_H
00013 
00014 #include <iostream>
00015 #include "TFile.h"
00016 #include "TTree.h"
00017 #include "MCNNAnalysis/NNReader.h"
00018 #include "MCNNAnalysis/MinosCompactEvent.h"
00019 #include "MCNNAnalysis/MinosAnalysisResult.h"
00020 
00021 class FileLumper{
00022 
00023  public:
00024   FileLumper();
00025   FileLumper(const char* path_to_unmerged, const char* filename, Int_t pieces_in);
00026   ~FileLumper();
00027 
00028 
00029  private:
00030   TTree *OutputTree;
00031   TFile *OutputFile;
00032   void SetBranches();
00033   NNReader *nread;
00034   Int_t tot_entries;
00035   MinosCompactEvent *cce;
00036   MinosAnalysisResult *mar;
00037 
00038   /*MinosCompactEvent* pcomptevt = NULL;
00039   MinosAnalysisResult* OutputResult = NULL;
00040   int   OutputRun = 0;
00041   int   OutputSnarl = 0;
00042   int   OutputEvent = 0;
00043   int   OutputNuId = 0 ;
00044   int   OutputNuIdNoOsc = 0;
00045   int   OutputNuAction = 0 ;
00046   float OutputNuE = 0;
00047   float OutputNuENoOsc = 0;
00048   float OutputY   = 0;
00049   float OutputEMFrac   = 0;
00050   int OutputIdRes = 0;
00051 
00052   float OutputQtot    = 0;
00053   float OutputVtxX    = 0;
00054   float OutputVtxY    = 0;
00055   float OutputVtxU    = 0;
00056   float OutputVtxV    = 0;
00057   float OutputVtxZ    = 0;
00058   float OutputTVtxX   = 0;
00059   float OutputTVtxY   = 0;
00060   float OutputTVtxZ   = 0;
00061   float Outputtpx = 0 ;
00062   float Outputtpy = 0;
00063   float Outputtpz = 0;
00064   int Outputtptype = 0;
00065   int   OutputNPln    = 0;
00066   int   OutputNPlnU    = 0;
00067   int   OutputNPlnV    = 0;
00068   int   OutputNStp    = 0;
00069   int OutputMCPresel = 0;
00070   int OutputDataPresel = 0;
00071   int OutputXTalk = 0;
00072   int OutputXTalkTagged = 0;
00073   int OutputXTalkMisTagged = 0;
00074   int OutputPhysics = 0;
00075   float OutputW2 = 0;
00076   float OutputTotPt = 0;
00077   float snarl_pot = 0;
00078   int good_snarl = 0;//1=good snarl;0=bad snarl (beam wise)    
00079   float OutputRecoE   = 0;*/
00080 
00081 
00082 };
00083 
00084 #endif

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