- // need public access to the TGraphs..
- TGraph * GetGraphAmpVsTimeHighGain(int imod, int icol, int irow) const // Return a pointer to the high gain graph
- { int towId = GetTowerNum(imod, icol, irow); return fGraphAmpVsTimeHighGain[towId];}; //!
- TGraph * GetGraphAmpVsTimeLowGain(int imod, int icol, int irow) const // Return a pointer to the low gain graph
- {int towId = GetTowerNum(imod, icol, irow); return fGraphAmpVsTimeLowGain[towId];};
- TGraph * GetGraphAmpVsTimeHighGain(int towId) const // Return a pointer to the high gain graph
- { return fGraphAmpVsTimeHighGain[towId];}; //!
- TGraph * GetGraphAmpVsTimeLowGain(int towId) const // Return a pointer to the low gain graph
- { return fGraphAmpVsTimeLowGain[towId];}; //!
-
- // and similarly for the TProfiles
- TProfile * GetProfAmpVsTimeHighGain(int imod, int icol, int irow) const // Return a pointer to the high gain profile
- { int towId = GetTowerNum(imod, icol, irow); return fProfAmpVsTimeHighGain[towId];}; //!
- TProfile * GetProfAmpVsTimeLowGain(int imod, int icol, int irow) const // Return a pointer to the low gain profile
- { int towId = GetTowerNum(imod, icol, irow); return fProfAmpVsTimeLowGain[towId];}; //!
- TProfile * GetProfAmpVsTimeHighGain(int towId) const // Return a pointer to the high gain profile
- { return fProfAmpVsTimeHighGain[towId];}; //!
- TProfile * GetProfAmpVsTimeLowGain(int towId) const // Return a pointer to the low gain profile
- { return fProfAmpVsTimeLowGain[towId];}; //!
-
- // how many points do we have in each TGraph
+ // for TTree
+ TTree * GetTreeAmpVsTime() const { return fTreeAmpVsTime; } //!
+ TTree * GetTreeAvgAmpVsTime() const {return fTreeAvgAmpVsTime; } //!
+ TTree * GetTreeLEDAmpVsTime() const {return fTreeLEDAmpVsTime; } //!
+ TTree * GetTreeLEDAvgAmpVsTime() const {return fTreeLEDAvgAmpVsTime; } //!
+
+ // how many points do we have for each tower&gain