susy_cfa  b611ccad937ea179f86a1f5663960264616c0a20
Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
event_handler Class Reference

#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_baseehb
 

Static Private Member Functions

static event_handler_baseLookUpType (const std::string &file_name, const std::string &type)
 

Detailed Description

Definition at line 13 of file event_handler.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

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().

event_handler_base * event_handler::LookUpType ( const std::string &  file_name,
const std::string &  type 
)
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().

Member Data Documentation

event_handler_base* event_handler::ehb

The documentation for this class was generated from the following files: