LCFIPlus  0.6.5
algoEtc.h
Go to the documentation of this file.
1 // algoEtc.h
2 
3 #ifndef AlgoEtc_h
4 #define AlgoEtc_h 1
5 
6 #include "lcfiplus.h"
7 #include "JetFinder.h"
8 
9 namespace lcfiplus {
10 namespace algoEtc {
11 
12 // beam pseudo-tracks for primary vertex fitter
13 void makeBeamTracks(Track*& t1, Track*& t2, bool smear=true);
14 void makeBeamVertex(Vertex*& vtx, bool smear=true);
15 void connectVerticesToJets(const JetVec& jets, const vector<Vertex*>& vtcs, vector<vector<Vertex*> >& jetVertices, vector<vector<const Track*> >& jetResidualTracks, const Vertex* ip = 0);
16 vector<const Track*> extractTracks(VertexVec& vtx);
17 double calcThrust( vector<TVector3>& list, TVector3& taxis );
18 
19 bool SimpleSecMuonFinder(const Track* tr, double d0sigth, double z0sigth, double maxpos, double mudepmin,
20  double ecaldepmin, double ecaldepmax, double hcaldepmin, double hcaldepmax, double maxclusterpertrackenergy = 10.);
21 bool SimpleSecElectronFinder(const Track* tr, double d0sigth, double z0sigth, double maxpos, double emin,
22  double minfracecal, double minecalpertrackenergy, double maxecalpertrackenergy);
23 
24 }
25 }
26 
27 #endif
Definition: lcfiplus.h:771
void connectVerticesToJets(const JetVec &jets, const vector< Vertex * > &vtcs, vector< vector< Vertex * > > &jetVertices, vector< vector< const Track * > > &jetResidualTracks, const Vertex *ip=0)
Definition: algoEtc.cc:105
Definition: lcfiplus.h:384
bool SimpleSecElectronFinder(const Track *tr, double d0sigth, double z0sigth, double maxpos, double emin, double minfracecal, double minecalpertrackenergy, double maxecalpertrackenergy)
Definition: algoEtc.cc:354
double calcThrust(vector< TVector3 > &list, TVector3 &taxis)
Definition: algoEtc.cc:182
const vector< const Jet * > JetVec
Definition: lcfiplus.h:80
bool SimpleSecMuonFinder(const Track *tr, double d0sigth, double z0sigth, double maxpos, double mudepmin, double ecaldepmin, double ecaldepmax, double hcaldepmin, double hcaldepmax, double maxclusterpertrackenergy=10.)
Definition: algoEtc.cc:334
vector< const Track * > extractTracks(VertexVec &vtx)
Definition: algoEtc.cc:173
void makeBeamTracks(Track *&t1, Track *&t2, bool smear=true)
Definition: algoEtc.cc:14
const vector< const Vertex * > VertexVec
Definition: lcfiplus.h:79
void makeBeamVertex(Vertex *&vtx, bool smear=true)
Definition: algoEtc.cc:80