Commit 4158b891 authored by Mark Sutton's avatar Mark Sutton Committed by Graeme Stewart
Browse files

Tier0 vtx analysis (TrigInDetAnalysis-01-01-45)

	* TrigInDetAnalysis-01-01-45
	* Tier0 vtx analysis
parent e4abbb5e
......@@ -29,9 +29,14 @@ class TIDDirectory {
public:
TIDDirectory() : mHAddState(true), mDAddState(true), mPop(0), mDir(0) { }
// TIDDirectory() : mHAddState(true), mDAddState(true), mPop(0), mDir(0) { }
TIDDirectory(const std::string& n) : mPop(gDirectory), mDir(0) {
TIDDirectory(const std::string& n="") : mPop(gDirectory), mDir(0) {
if ( n=="" ) {
mDir = gDirectory;
return;
}
if ( n.find("/")==std::string::npos ) {
/// only create directory if it doesn't already exist
......@@ -95,8 +100,8 @@ public:
protected:
bool mHAddState;
bool mDAddState;
// bool mHAddState;
// bool mDAddState;
TDirectory* mPop;
TDirectory* mDir;
......
......@@ -20,6 +20,7 @@
#include "TrigInDetAnalysis/TrackAssociator.h"
#include "TrigInDetAnalysis/Track.h"
#include "TrigInDetAnalysis/TIDAVertex.h"
#include "TrigInDetAnalysis/TIDAFeatureStore.h"
#include "TH1.h"
......@@ -46,6 +47,10 @@ public:
virtual void execute( const std::vector<TIDA::Track*>& tracks1,
const std::vector<TIDA::Track*>& tracks2,
TrackAssociator* matcher ) = 0;
virtual void execute_vtx( const std::vector<TIDA::Vertex*>& ,
const std::vector<TIDA::Vertex*>& ) { }
virtual void finalise() = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment