LCFIPlus
0.6.5
|
#include <assert.h>
#include "EventStore.h"
#include "LcfiInterface.h"
#include "JetFinder.h"
#include "TreeStorer.h"
#include "LCIOStorer.h"
#include "VertexFitterLCFI.h"
#include "VertexFinderTearDown.h"
#include "VertexFinderSuehara.h"
#include "VertexFinderPerfect.h"
#include "algoSigProb.h"
#include "algoEtc.h"
#include "Driver.h"
#include "geometry.h"
#include "VertexSelector.h"
#include "TROOT.h"
#include "TInterpreter.h"
#include "TFile.h"
#include "TTree.h"
#include "TNtuple.h"
#include "TLorentzVector.h"
#include "TCut.h"
#include <string>
#include "TRandom3.h"
#include "TRootBrowser.h"
#include "TRint.h"
#include "TSystem.h"
#include "TEveManager.h"
#include "TEveBrowser.h"
#include "TGClient.h"
#include "TGFrame.h"
#include "TGButton.h"
#include "EventNavigator.h"
#include "TrackSelector.h"
Classes | |
struct | KalVtx |
struct | KalTrk |
Typedefs | |
typedef ROOT::Math::SVector < double, 2 > | SVector2 |
typedef ROOT::Math::SVector < double, 3 > | SVector3 |
typedef ROOT::Math::SMatrix < double, 2, 2, ROOT::Math::MatRepStd < double, 2, 2 > > | SMatrix2 |
typedef ROOT::Math::SMatrix < double, 3, 3, ROOT::Math::MatRepStd < double, 3, 3 > > | SMatrix3 |
typedef ROOT::Math::SMatrix < double, 2, 2, ROOT::Math::MatRepSym < double, 2 > > | SMatrixSym2 |
typedef ROOT::Math::SMatrix < double, 3, 3, ROOT::Math::MatRepSym < double, 3 > > | SMatrixSym3 |
typedef ROOT::Math::SMatrix < double, 5, 5, ROOT::Math::MatRepSym < double, 5 > > | SMatrixSym5 |
typedef ROOT::Math::SMatrix < double, 2, 3, ROOT::Math::MatRepStd < double, 2, 3 > > | SMatrix23 |
typedef ROOT::Math::SMatrix < double, 3, 2, ROOT::Math::MatRepStd < double, 3, 2 > > | SMatrix32 |
Functions | |
vector< int > | findMcJetFlavor (vector< const Jet * > jets, vector< const MCParticle * > mcps) |
vector< MCVertex * > | findMcVertex (vector< const MCParticle * > mcps) |
void | matchMcVertex (const Event &evt, vector< MCVertex * > &vtxList, map< MCVertex *, int > &table, bool vertexing) |
void | matchMcVertexJet (const Event &evt, const vector< MCVertex * > &vtxList, map< MCVertex *, int > &table, const vector< const Jet * > &jets) |
void | matchMcVertexReco (const Event &evt, const vector< MCVertex * > &vtxList, map< MCVertex *, int > &table, Vertex *vertex) |
void | matchMcVertexRecoV0 (const Event &evt, const vector< MCVertex * > &vtxList, map< MCVertex *, int > &table) |
vector< Vertex * > | findAdditionalVertices (const Event &evt, const Jet *jet, const vector< Vertex * > &seedList, const Vertex *primaryVertex) |
vector< const Track * > | findSingleTracks (const Event &evt, const Jet &jet, const vector< lcfiplus::Vertex * > &vtxList) |
void | eventDisplay (const char *input, int start) |
int | main (int argc, char *argv[]) |
void | testSuehara (const char *inputlist, const char *output) |
void | testTomohiko () |
Variables | |
const int | SINGLE_MC_TRACK = 1 << 0 |
const int | NOT_ENOUGH_RECOTRK = 1 << 1 |
const int | TEARDOWN_FAILED = 1 << 2 |
const int | TEARDOWN_LARGE_CHISQ = 1 << 3 |
const int | ZVTOP_FAILED = 1 << 4 |
const int | ZVTOP_LARGE_CHISQ = 1 << 5 |
const int | TRACKS_NOT_IN_JETS = 1 << 6 |
const int | TRACKS_IN_MULTIPLE_JETS = 1 << 7 |
const int | RECO_MATCH = 1 << 8 |
const int | V0_MATCH = 1 << 9 |
typedef ROOT::Math::SMatrix<double, 2,2,ROOT::Math::MatRepStd<double,2,2> > SMatrix2 |
typedef ROOT::Math::SMatrix<double, 2,3,ROOT::Math::MatRepStd<double,2,3> > SMatrix23 |
typedef ROOT::Math::SMatrix<double, 3,3,ROOT::Math::MatRepStd<double,3,3> > SMatrix3 |
typedef ROOT::Math::SMatrix<double, 3,2,ROOT::Math::MatRepStd<double,3,2> > SMatrix32 |
typedef ROOT::Math::SMatrix<double, 2,2,ROOT::Math::MatRepSym<double,2> > SMatrixSym2 |
typedef ROOT::Math::SMatrix<double, 3,3,ROOT::Math::MatRepSym<double,3> > SMatrixSym3 |
typedef ROOT::Math::SMatrix<double, 5,5,ROOT::Math::MatRepSym<double,5> > SMatrixSym5 |
typedef ROOT::Math::SVector<double, 2> SVector2 |
typedef ROOT::Math::SVector<double, 3> SVector3 |
void eventDisplay | ( | const char * | input, |
int | start | ||
) |
vector<int> findMcJetFlavor | ( | vector< const Jet * > | jets, |
vector< const MCParticle * > | mcps | ||
) |
References lcfiplus::MCParticle::getFlavor(), and lcfiplus::MCParticle::getVertex().
vector<MCVertex*> findMcVertex | ( | vector< const MCParticle * > | mcps | ) |
References lcfiplus::MCVertex::add(), lcfiplus::MCParticle::getDaughters(), lcfiplus::MCVertex::getDaughters(), lcfiplus::MCParticle::getEndVertex(), lcfiplus::MCParticle::getParent(), lcfiplus::MCVertex::getParent(), lcfiplus::MCParticle::getPDG(), lcfiplus::MCParticle::getSemiStableParent(), lcfiplus::MCParticle::getVertex(), lcfiplus::MCParticle::isSemiStable(), lcfiplus::MCParticle::isStable(), lcfiplus::MCParticle::isStableTrack(), and lcfiplus::MCVertex::setParent().
vector<const Track*> findSingleTracks | ( | const Event & | evt, |
const Jet & | jet, | ||
const vector< lcfiplus::Vertex * > & | vtxList | ||
) |
References lcfiplus::Jet::getTracks().
int main | ( | int | argc, |
char * | argv[] | ||
) |
void matchMcVertex | ( | const Event & | evt, |
vector< MCVertex * > & | vtxList, | ||
map< MCVertex *, int > & | table, | ||
bool | vertexing | ||
) |
References lcfiplus::MCVertex::add(), lcfiplus::Jet::add(), lcfiplus::LcfiInterface::forceZvtop(), lcfiplus::Vertex::getChi2(), lcfiplus::Vertex::getChi2Track(), lcfiplus::MCParticle::getDaughters(), lcfiplus::MCVertex::getDaughters(), lcfiplus::MCParticle::getEndVertex(), lcfiplus::MCVertex::getParent(), lcfiplus::MCParticle::getPDG(), lcfiplus::MCParticle::getTanLambda(), lcfiplus::Event::getTracks(), lcfiplus::Vertex::getTracks(), lcfiplus::Track::getX(), lcfiplus::Vertex::getX(), lcfiplus::Track::getY(), lcfiplus::Vertex::getY(), lcfiplus::Track::getZ(), lcfiplus::Vertex::getZ(), NOT_ENOUGH_RECOTRK, SINGLE_MC_TRACK, TEARDOWN_FAILED, TEARDOWN_LARGE_CHISQ, ZVTOP_FAILED, and ZVTOP_LARGE_CHISQ.
void testSuehara | ( | const char * | inputlist, |
const char * | output | ||
) |
References lcfiplus::constVector(), lcfiplus::tpar::d0, lcfiplus::tpar::d0d0, lcfiplus::VertexFinderPerfect::findPerfectVertices(), lcfiplus::Track::getCovMatrix(), lcfiplus::Track::getD0(), lcfiplus::Track::getId(), lcfiplus::Track::getMcp(), lcfiplus::MCParticle::getPDG(), lcfiplus::MCParticle::getSemiStableBParent(), lcfiplus::MCParticle::getSemiStableCParent(), lcfiplus::MCParticle::getSemiStableParent(), lcfiplus::Vertex::getTracks(), lcfiplus::Jet::getTracks(), lcfiplus::Track::getZ0(), lcfiplus::LCIOStorer::InitJetCollection(), lcfiplus::LCIOStorer::InitVertexCollection(), lcfiplus::Globals::Instance(), lcfiplus::Event::Instance(), lcfiplus::VertexSelectorConfig::k0width, lcfiplus::VertexFinderSuehara::makeSingleTrackVertices(), lcfiplus::VertexSelectorConfig::maxpos, lcfiplus::VertexSelectorConfig::minpos, lcfiplus::LCIOStorer::Next(), lcfiplus::Exception::Print(), lcfiplus::VertexFinderSuehara::recombineVertices(), lcfiplus::VertexSelectorConfig::rejectk0, lcfiplus::Globals::setBField(), lcfiplus::tpar::z0, and lcfiplus::tpar::z0z0.
void testTomohiko | ( | ) |
References KalTrk::compute(), lcfiplus::Globals::Instance(), lcfiplus::Event::Instance(), lcfiplus::algoEtc::makeBeamVertex(), lcfiplus::TrackSelectorConfig::maxD0, lcfiplus::TrackSelectorConfig::maxInnermostHitRadius, lcfiplus::TrackSelectorConfig::maxZ0, lcfiplus::TrackSelectorConfig::minVtxPlusFtdHits, lcfiplus::LCIOStorer::Next(), KalVtx::pos, lcfiplus::Globals::setBField(), and KalTrk::update().
const int NOT_ENOUGH_RECOTRK = 1 << 1 |
Referenced by matchMcVertex().
const int RECO_MATCH = 1 << 8 |
Referenced by matchMcVertexReco().
const int SINGLE_MC_TRACK = 1 << 0 |
Referenced by matchMcVertex().
const int TEARDOWN_FAILED = 1 << 2 |
Referenced by matchMcVertex().
const int TEARDOWN_LARGE_CHISQ = 1 << 3 |
Referenced by matchMcVertex().
const int TRACKS_IN_MULTIPLE_JETS = 1 << 7 |
Referenced by matchMcVertexJet().
const int TRACKS_NOT_IN_JETS = 1 << 6 |
Referenced by matchMcVertexJet().
const int V0_MATCH = 1 << 9 |
Referenced by matchMcVertexRecoV0().
const int ZVTOP_FAILED = 1 << 4 |
Referenced by matchMcVertex().
const int ZVTOP_LARGE_CHISQ = 1 << 5 |
Referenced by matchMcVertex().