Skip to content
Snippets Groups Projects

gFEX bug fixes, jFEX taus, jFEX forward electrons, jFEX large-R jets w/ p.u.sub.

Merged Ben Carlson requested to merge bcarlson/athena:BenMarch20 into 21.3
Files
5
@@ -5,46 +5,21 @@
#include "xAODTrigL1Calo/JGTowerContainer.h"
#include "xAODTrigger/EmTauRoIContainer.h"
//Example ROOT Includes
//#include "TTree.h"
//#include "TH1D.h"
class JFexEleTau: public ::AthAnalysisAlgorithm {
public:
JFexEleTau( const std::string& name, ISvcLocator* pSvcLocator );
virtual ~JFexEleTau();
///uncomment and implement methods as required
//IS EXECUTED:
virtual StatusCode initialize(); //once, before any input is loaded
virtual StatusCode beginInputFile(); //start of each input file, only metadata loaded
//virtual StatusCode firstExecute(); //once, after first eventdata is loaded (not per file)
virtual StatusCode execute(); //per event
//virtual StatusCode endInputFile(); //end of each input file
//virtual StatusCode metaDataStop(); //when outputMetaStore is populated by MetaDataTools
virtual StatusCode finalize(); //once, after all events processed
virtual StatusCode analyzeSeedRun2(float eta, float phi, const xAOD::JGTowerContainer* jTowers, xAOD::EmTauRoIContainer* clustersForTau); // Use a given seed to produce a candidate
virtual StatusCode analyzeSeedRun3(float eta, float phi, const xAOD::JGTowerContainer* jTowers, xAOD::EmTauRoIContainer* clustersForTau); // Use a given seed to produce a candidate
virtual StatusCode analyzeSeedEle(float eta, float phi, const xAOD::JGTowerContainer* jTowers, xAOD::EmTauRoIContainer* clustersForEle); // Use a given seed to produce a candidate
///Other useful methods provided by base class are:
///evtStore() : ServiceHandle to main event data storegate
///inputMetaStore() : ServiceHandle to input metadata storegate
///outputMetaStore() : ServiceHandle to output metadata storegate
///histSvc() : ServiceHandle to output ROOT service (writing TObjects)
///currentFile() : TFile* to the currently open input file
///retrieveMetadata(...): See twiki.cern.ch/twiki/bin/view/AtlasProtected/AthAnalysisBase#ReadingMetaDataInCpp
private:
//Example algorithm property, see constructor for declaration:
//int m_nProperty = 0;
// Algorithm properties
bool m_regenerateSeeds = false;
bool m_applyNoise = false;
bool m_checkMax = false;
@@ -52,10 +27,6 @@ class JFexEleTau: public ::AthAnalysisAlgorithm {
bool m_useRun2 = false;
bool m_singleTowerSeed = false;
//Example histogram, see initialize method for registration to output histSvc
//TH1D* m_myHist = 0;
//TTree* m_myTree = 0;
};
#endif //> !TRIGT1CALOFEXSIM_JFEXELETAU_H
Loading