| 145 |
|
|
| 146 |
/*! Fills the ROOT and the vector histogram. |
/*! Fills the ROOT and the vector histogram. |
| 147 |
* |
* |
| 148 |
* @param value The value of the X coordinate associated to the event. |
* @param xValue The value of the X coordinate associated to the event. |
| 149 |
* @param value The value of the Y coordinate associated to the event. |
* @param yValue The value of the Y coordinate associated to the event. |
| 150 |
* @param weight The weight which will be applied to the event. |
* @param weight The weight which will be applied to the event. |
| 151 |
*/ |
*/ |
| 152 |
void Fill(double xValue, double yValue, double weight = 1.); |
void Fill(double xValue, double yValue, double weight = 1.); |
| 273 |
_rootHisto = NULL; |
_rootHisto = NULL; |
| 274 |
} |
} |
| 275 |
|
|
| 276 |
|
// Specializations for _CreateHistos(). See Histo2DAction.cpp |
| 277 |
|
template<> |
| 278 |
|
void Histo2DAction<Int_t>::_CreateHisto(); |
| 279 |
|
|
| 280 |
|
template<> |
| 281 |
|
void Histo2DAction<Float_t>::_CreateHisto(); |
| 282 |
|
|
| 283 |
|
template<> |
| 284 |
|
void Histo2DAction<Double_t>::_CreateHisto(); |
| 285 |
|
|
| 286 |
template<class HistoType> |
template<class HistoType> |
| 287 |
void Histo2DAction<HistoType>::_InitHistos() { |
void Histo2DAction<HistoType>::_InitHistos() { |
| 288 |
|
|
| 335 |
|
|
| 336 |
template<class HistoType> |
template<class HistoType> |
| 337 |
Histo2DAction<HistoType>::~Histo2DAction() { |
Histo2DAction<HistoType>::~Histo2DAction() { |
| 338 |
|
|
| 339 |
|
delete _rootHisto; |
| 340 |
|
_rootHisto = NULL; |
| 341 |
} |
} |
| 342 |
|
|
| 343 |
template<class HistoType> |
template<class HistoType> |