susy_cfa
b611ccad937ea179f86a1f5663960264616c0a20
|
#include <event_handler.hpp>
Public Member Functions | |
event_handler (const std::string &file_name, const std::string &type) | |
void | ReduceTree (int num_entries, const TString &out_file_name, int num_total_entries) |
long | TotalEntries () const |
short | GetVersion () const |
const std::string & | SampleName () const |
const std::string & | SampleName (const std::string &sample_name) |
void | SetFile (const std::string &file, bool is_8TeV=false) |
void | AddFiles (const std::string &file) |
~event_handler () | |
Public Attributes | |
event_handler_base * | ehb |
Static Private Member Functions | |
static event_handler_base * | LookUpType (const std::string &file_name, const std::string &type) |
Definition at line 13 of file event_handler.hpp.
event_handler::event_handler | ( | const std::string & | file_name, |
const std::string & | type | ||
) |
Definition at line 19 of file event_handler.cpp.
event_handler::~event_handler | ( | ) |
Definition at line 59 of file event_handler.cpp.
References ehb.
void event_handler::AddFiles | ( | const std::string & | file | ) |
Definition at line 55 of file event_handler.cpp.
References cfa::AddFiles(), and ehb.
Referenced by main().
short event_handler::GetVersion | ( | ) | const |
Definition at line 39 of file event_handler.cpp.
References ehb, and cfa::GetVersion().
|
staticprivate |
Definition at line 27 of file event_handler.cpp.
void event_handler::ReduceTree | ( | int | num_entries, |
const TString & | out_file_name, | ||
int | num_total_entries | ||
) |
Definition at line 23 of file event_handler.cpp.
References ehb, and event_handler_base::ReduceTree().
Referenced by main().
const std::string & event_handler::SampleName | ( | ) | const |
Definition at line 43 of file event_handler.cpp.
References ehb, and cfa::SampleName().
const std::string & event_handler::SampleName | ( | const std::string & | sample_name | ) |
Definition at line 47 of file event_handler.cpp.
References ehb, and cfa::SampleName().
void event_handler::SetFile | ( | const std::string & | file, |
bool | is_8TeV = false |
||
) |
Definition at line 51 of file event_handler.cpp.
References ehb, and cfa::SetFile().
long event_handler::TotalEntries | ( | ) | const |
Definition at line 35 of file event_handler.cpp.
References ehb, and cfa::TotalEntries().
Referenced by main().
event_handler_base* event_handler::ehb |
Definition at line 24 of file event_handler.hpp.
Referenced by AddFiles(), GetVersion(), main(), ReduceTree(), SampleName(), SetFile(), TotalEntries(), and ~event_handler().