00001 00002 // $Id: ANtpSliceManipulator.h,v 1.1 2005/05/04 14:06:54 minoscvs Exp $ 00003 // 00004 // A class to easily get at the SR ntuple information 00005 // 00006 // B. Rebel 10/2004 00008 #ifndef ANTPSLICEMANIPULATOR_H 00009 #define ANTPSLICEMANIPULATOR_H 00010 00011 #include "TClonesArray.h" 00012 00013 #include "CandNtupleSR/NtpSRSlice.h" 00014 #include "CandNtupleSR/NtpSREvent.h" 00015 #include "CandNtupleSR/NtpSRStrip.h" 00016 #include "CandNtupleSR/NtpSRTrack.h" 00017 #include "CandNtupleSR/NtpSRShower.h" 00018 00019 class ANtpSliceManipulator 00020 { 00021 00022 public: 00023 ANtpSliceManipulator(); 00024 virtual ~ANtpSliceManipulator(); 00025 00026 NtpSRSlice *GetSlice(); //get the set slice 00027 NtpSRStrip *GetStrip(Int_t index); //get strip at index in slice 00028 00029 void SetSliceInSnarl(Int_t sliceIndex); //set slice to use 00030 void Initialize(TClonesArray *sliceArray, TClonesArray *stripArray); //initialize for a new record 00031 00032 private: 00033 00034 NtpSRSlice *fNtpSRSlice; 00035 00036 TClonesArray *fSliceArray; 00037 TClonesArray *fStripArray; 00038 00039 ClassDef(ANtpSliceManipulator, 1) //ANtpSliceManipulator 00040 }; 00041 00042 #endif // ANTPSLICEMANIPULATOR_H 00043 00044
1.3.9.1