1 #ifndef SupernovaDirectionCalculator_H
2 #define SupernovaDirectionCalculator_H
std::vector< double > m_log10_energy
Vector of log10(energy) for weight interpolation.
double GetEventWeight(double log10_energy)
Return the weight for the event.
std::stringstream m_ss
For easy formatting of Log messages.
void StreamToLog(int level)
LogLevel
Log level enumerations.
std::vector< double > m_weight
Vector of weights for interpolation.
util::Stopwatch * m_stopwatch
The stopwatch, if we're using one.
int m_verbose
Verbosity level, as defined in tool parameter file.
void CalculateDirection(float direction[3], float costheta_cut)
std::string m_input_filter_name
void Log(const std::string &message, const int message_level)
Format messages in the same way as for tools.
std::string m_stopwatch_file
Image filename to save the histogram to, if required.
bool m_weight_events
Enable weighting of events.
SupernovaDirectionCalculator()
bool Initialise(std::string configfile, DataModel &data)