Skip to content
Snippets Groups Projects
Commit f30b80a4 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


Former-commit-id: 4ddd1c97f8e146fcc0e9d7909a8b0dd6d25b4846
parent 49288048
No related branches found
No related tags found
Loading
...@@ -29,9 +29,14 @@ class TIDDirectory { ...@@ -29,9 +29,14 @@ class TIDDirectory {
public: 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 ) { if ( n.find("/")==std::string::npos ) {
/// only create directory if it doesn't already exist /// only create directory if it doesn't already exist
...@@ -95,8 +100,8 @@ public: ...@@ -95,8 +100,8 @@ public:
protected: protected:
bool mHAddState; // bool mHAddState;
bool mDAddState; // bool mDAddState;
TDirectory* mPop; TDirectory* mPop;
TDirectory* mDir; TDirectory* mDir;
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "TrigInDetAnalysis/TrackAssociator.h" #include "TrigInDetAnalysis/TrackAssociator.h"
#include "TrigInDetAnalysis/Track.h" #include "TrigInDetAnalysis/Track.h"
#include "TrigInDetAnalysis/TIDAVertex.h"
#include "TrigInDetAnalysis/TIDAFeatureStore.h" #include "TrigInDetAnalysis/TIDAFeatureStore.h"
#include "TH1.h" #include "TH1.h"
...@@ -46,6 +47,10 @@ public: ...@@ -46,6 +47,10 @@ public:
virtual void execute( const std::vector<TIDA::Track*>& tracks1, virtual void execute( const std::vector<TIDA::Track*>& tracks1,
const std::vector<TIDA::Track*>& tracks2, const std::vector<TIDA::Track*>& tracks2,
TrackAssociator* matcher ) = 0; TrackAssociator* matcher ) = 0;
virtual void execute_vtx( const std::vector<TIDA::Vertex*>& ,
const std::vector<TIDA::Vertex*>& ) { }
virtual void finalise() = 0; virtual void finalise() = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment