Page MenuHomeHEPForge

FinalStateGenerator.h
No OneTemporary

FinalStateGenerator.h

//==============================================================================
// FinalStateGenerator.h
//
// Copyright (C) 2010-2013 Tobias Toll and Thomas Ullrich
//
// This file is part of Sartre.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation.
// This program 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 General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// Author: Thomas Ullrich
// Last update:
// $Date: 2016-11-01 17:24:37 +0000 (Tue, 01 Nov 2016) $
// $Author: ullrich $
//==============================================================================
#ifndef FinalStateGenerator_h
#define FinalStateGenerator_h
#include "TLorentzVector.h"
class Event;
class FinalStateGenerator {
public:
FinalStateGenerator();
virtual ~FinalStateGenerator();
virtual bool generate(int id, double t, double y, double Q2,
bool isIncoherent, int A, Event *event) = 0;
bool isValid(TLorentzVector &) const;
protected:
double mT;
double mQ2;
double mY;
double mS;
double mMY2;
double mMassVM;
double mA;
bool mIsIncoherent;
TLorentzVector mElectronBeam;
TLorentzVector mHadronBeam;
};
#endif

File Metadata

Mime Type
text/x-c++
Expires
Sat, Dec 21, 1:57 PM (15 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4006971
Default Alt Text
FinalStateGenerator.h (1 KB)

Event Timeline