--- calo/flight/CaloEnergy/inc/CaloEnergy.h 2009/08/17 15:00:53 1.8 +++ calo/flight/CaloEnergy/inc/CaloEnergy.h 2009/08/18 09:24:50 1.9 @@ -124,6 +124,9 @@ Float_t en_xop[11]; ///< detected energy [MIP] for each plane of section XO Float_t en_yep[11]; ///< detected energy [MIP] for each plane of section YE Float_t enstrip[2][22][96]; ///< detected energy [MIP] for each strip of calorimeter + // + Float_t encol[2][3]; + Int_t fColumn; // Float_t x0max; ///< plane of maximum given externally (only test purpose) // @@ -219,8 +222,16 @@ void UseCaloPreSampler(); ///< use pre-sampler routine to refit the track (level2 default fitting could be wrong, in this case we force "shower fitting" in the DV library). CaloPreSampler* GetCaloPreSampler(){return cp;}; ///< Get pre-sampler object. // - Float_t Get_track_coordx(Int_t i, Int_t j){ return track_coordx[i][j];}; - Float_t Get_track_coordy(Int_t i, Int_t j){ return track_coordy[i][j];}; + Float_t *Get_track_coordx(){ return *track_coordx;}; ///< X position of the track for all the planes and views + Float_t *Get_track_coordy(){ return *track_coordy;}; ///< Y position of the track for all the planes and views + // + Float_t Get_track_coordx(Int_t i, Int_t j){ return track_coordx[i][j];}; ///< X position of the track for plane i and view j + Float_t Get_track_coordy(Int_t i, Int_t j){ return track_coordy[i][j];}; ///< X position of the track for plane i and view j + // + Float_t *Get_encol(){ return *encol;}; ///< integrated energy over columns [MIP] + Float_t Get_encol(Int_t i, Int_t j){ return encol[i][j];}; ///< integrated energy over view i and column j [MIP] + // + Int_t Get_column(){return fColumn;}; ///< number of column which contains the track // ClassDef(CaloEnergy,1); };