#include "PhysicsTools/UtilAlgos/interface/BasicMuonAnalyzer.h"
#include "PhysicsTools/UtilAlgos/interface/FWLiteAnalyzerWrapper.h"
Go to the source code of this file.
Typedefs | |
typedef fwlite::AnalyzerWrapper < BasicMuonAnalyzer > | WrappedFWLiteMuonAnalyzer |
Functions | |
int | main (int argc, char *argv[]) |
Definition at line 4 of file FWLiteWithBasicAnalyzer.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
------------------ CALO JETS ------------------
------------------ PF JETS ------------------
Definition at line 6 of file FWLiteWithBasicAnalyzer.cc.
References fwlite::AnalyzerWrapper< T >::beginJob(), gather_cfg::cout, AutoLibraryLoader::enable(), and PythonProcessDesc::processDesc().
{ // load framework libraries gSystem->Load( "libFWCoreFWLite" ); AutoLibraryLoader::enable(); // only allow one argument for this simple example which should be the // the python cfg file if ( argc < 2 ) { std::cout << "Usage : " << argv[0] << " [parameters.py]" << std::endl; return 0; } // get the python configuration PythonProcessDesc builder(argv[1]); WrappedFWLiteMuonAnalyzer ana(*(builder.processDesc()->getProcessPSet()), std::string("muonAnalyzer"), std::string("analyzeBasicPat")); ana.beginJob(); ana.analyze(); ana.endJob(); return 0; }