/* Copyright 2008-2010, Technische Universitaet Muenchen,
Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
This file is part of GENFIT.
GENFIT is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
GENFIT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with GENFIT. If not, see .
*/
/**
* @author Johannes Rauch (Technische Universität München, original author)
*
*/
/** @addtogroup GFRave
* @{
*/
#ifndef GFRAVETRACKPARAMETERS_H
#define GFRAVETRACKPARAMETERS_H
#include "Track.h"
#include "AbsTrackRep.h"
#include
#include
#include
#include
#include
#include
namespace genfit {
/**
* @brief GFRaveTrackParameters class
* Contains a pointer to the original genfit::Track, the weight of the track in the vertex,
* and smoothed (with the vertex information) state and covariance of the track.
*/
class GFRaveTrackParameters : public TObject
{
public:
// constructors, destructors
GFRaveTrackParameters();
GFRaveTrackParameters(const Track* track, MeasuredStateOnPlane* originalState, double weight, const TVectorD & state6, const TMatrixDSym & cov6x6, bool isSmoothed);
GFRaveTrackParameters(const Track* track, MeasuredStateOnPlane* originalState, double weight);
// Accessors
double getWeight() const {return weight_;}
bool hasTrack() const {return originalTrack_.GetObject() != NULL;}
const Track* getTrack() const {return static_cast