Utility class to create particles and detector elements from a Root file. More...
#include <TreeUtility.h>
Public Member Functions | |
unsigned | convertCalibratablesToParticleDeposits (const std::vector< Calibratable > &input, std::vector< ParticleDepositPtr > &toBeFilled, CalibrationTarget target, DetectorElementPtr offset, DetectorElementPtr ecal, DetectorElementPtr hcal, bool includeOffset=false) |
void | dumpCaloDataToCSV (TChain &chain, std::string csvFilename, double range, bool gaus=false) |
unsigned | getCalibratablesFromRootFile (TChain &tree, std::vector< Calibratable > &toBeFilled) |
unsigned | getParticleDepositsDirectly (TChain &sourceChain, std::vector< ParticleDepositPtr > &toBeFilled, CalibrationTarget target, DetectorElementPtr offset, DetectorElementPtr ecal, DetectorElementPtr hcal, bool includeOffset=false) |
TreeUtility () | |
virtual | ~TreeUtility () |
Private Attributes | |
std::map< std::string, unsigned > | vetos_ |
Utility class to create particles and detector elements from a Root file.
Definition at line 27 of file TreeUtility.h.
TreeUtility::TreeUtility | ( | ) |
Definition at line 11 of file TreeUtility.cc.
|
virtual |
Definition at line 14 of file TreeUtility.cc.
unsigned TreeUtility::convertCalibratablesToParticleDeposits | ( | const std::vector< Calibratable > & | input, |
std::vector< ParticleDepositPtr > & | toBeFilled, | ||
CalibrationTarget | target, | ||
DetectorElementPtr | offset, | ||
DetectorElementPtr | ecal, | ||
DetectorElementPtr | hcal, | ||
bool | includeOffset = false |
||
) |
Definition at line 238 of file TreeUtility.cc.
void TreeUtility::dumpCaloDataToCSV | ( | TChain & | chain, |
std::string | csvFilename, | ||
double | range, | ||
bool | gaus = false |
||
) |
Definition at line 48 of file TreeUtility.cc.
unsigned TreeUtility::getCalibratablesFromRootFile | ( | TChain & | tree, |
std::vector< Calibratable > & | toBeFilled | ||
) |
Definition at line 21 of file TreeUtility.cc.
unsigned TreeUtility::getParticleDepositsDirectly | ( | TChain & | sourceChain, |
std::vector< ParticleDepositPtr > & | toBeFilled, | ||
CalibrationTarget | target, | ||
DetectorElementPtr | offset, | ||
DetectorElementPtr | ecal, | ||
DetectorElementPtr | hcal, | ||
bool | includeOffset = false |
||
) |
Definition at line 116 of file TreeUtility.cc.
|
private |
Definition at line 51 of file TreeUtility.h.