BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
BDSOutputNone.hh
1/*
2Beam Delivery Simulation (BDSIM) Copyright (C) Royal Holloway,
3University of London 2001 - 2022.
4
5This file is part of BDSIM.
6
7BDSIM is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published
9by the Free Software Foundation version 3 of the License.
10
11BDSIM is distributed in the hope that it will be useful, but
12WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
18*/
19#ifndef BDSOutputNone_h
20#define BDSOutputNone_h
21
22#include "BDSOutput.hh"
23
33{
34public:
35 BDSOutputNone(): BDSOutput("", "", -1){;}
36 virtual ~BDSOutputNone(){;}
37
39 virtual void NewFile(){;}
40 virtual void CloseFile(){;}
41private:
42 virtual void WriteHeader(){;}
43 virtual void WriteParticleData(){;}
44 virtual void WriteBeam(){;}
45 virtual void WriteOptions(){;}
46 virtual void WriteModel(){;}
47 virtual void WriteFileEventLevel(){;}
48 virtual void WriteFileRunLevel(){;}
50};
51
52#endif
No output class.
virtual void WriteOptions()
No action.
virtual void WriteFileEventLevel()
No action.
virtual void WriteFileRunLevel()
No action.
BDSOutputNone()
Default constructor.
virtual void NewFile()
No action.
virtual void WriteParticleData()
No action.
virtual void WriteModel()
No action.
virtual void WriteBeam()
No action.
virtual void CloseFile()
No action.
virtual void WriteHeader()
No action.
Output base class that defines interface for all output types.
Definition: BDSOutput.hh:73