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 version: 1.1
//
// 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: 2013-05-29 21:26:19 +0100 (Wed, 29 May 2013) $
// $Author: thomas.ullrich@bnl.gov $
//==============================================================================
#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, 3:21 PM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4000225
Default Alt Text
FinalStateGenerator.h (1 KB)

Event Timeline