EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SimpleAnalysis.cc File Reference
#include <TROOT.h>
#include <TFile.h>
#include <TChain.h>
#include <TTree.h>
#include <TString.h>
#include <TObjString.h>
#include "TInterpreter.h"
#include <unistd.h>
#include <stdlib.h>
#include <iostream>
#include <stdio.h>
#include <getopt.h>
#include <glob.h>
#include <vector>
#include <map>
#include <any>
#include "classes/DelphesClasses.h"
#include "external/ExRootAnalysis/ExRootTreeReader.h"
#include "ModuleHandler.h"
#include "TreeHandler.h"
+ Include dependency graph for SimpleAnalysis.cc:

Go to the source code of this file.

Functions

void PrintHelp ()
 
std::vector< std::string > fileVector (const std::string &pattern)
 
int main (int argc, char *argv[])
 

Variables

static std::string input_dir = ""
 
static std::string output_file = ""
 
static std::string module_sequence = ""
 
static int nevents = -1
 

Function Documentation

std::vector<std::string> fileVector ( const std::string &  pattern)

Definition at line 47 of file SimpleAnalysis.cc.

View newest version in sPHENIX GitHub at line 47 of file SimpleAnalysis.cc

References eicpy.build::files.

int main ( int  argc,
char *  argv[] 
)

Definition at line 61 of file SimpleAnalysis.cc.

View newest version in sPHENIX GitHub at line 61 of file SimpleAnalysis.cc

References ModuleHandler::addModule(), data, TreeHandler::execute(), exit(), eicpy.qaplots::file, eicpy.build::files, fileVector(), TreeHandler::finalize(), TreeHandler::getInstance(), ModuleHandler::getInstance(), ModuleHandler::getModules(), TreeHandler::initialize(), input_dir, module_sequence, name, nevents, output_file, and PrintHelp().

+ Here is the call graph for this function:

void PrintHelp ( )

Definition at line 36 of file SimpleAnalysis.cc.

View newest version in sPHENIX GitHub at line 36 of file SimpleAnalysis.cc

References exit().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

std::string input_dir = ""
static

Definition at line 25 of file SimpleAnalysis.cc.

View newest version in sPHENIX GitHub at line 25 of file SimpleAnalysis.cc

Referenced by main().

std::string module_sequence = ""
static

Definition at line 27 of file SimpleAnalysis.cc.

View newest version in sPHENIX GitHub at line 27 of file SimpleAnalysis.cc

Referenced by ModuleHandler::addModule(), ModuleHandler::getModules(), main(), and ModuleHandler::ModuleHandler().

std::string output_file = ""
static

Definition at line 26 of file SimpleAnalysis.cc.

View newest version in sPHENIX GitHub at line 26 of file SimpleAnalysis.cc

Referenced by DelphesSkim(), and main().