BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
BesActionInitializer.hh
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26// $Id: BesActionInitializer.hh,v 1.1 2022/01/24 23:47:17 dengzy Exp $
27// GEANT4 tag $Name: BesSim-00-01-30 $
28//
29//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
30//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
31
32#ifndef BesActionInitializer_h
33#define BesActionInitializer_h 1
34
35#include "G4VUserActionInitialization.hh"
36#include "globals.hh"
37
38//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
39
40class BesActionInitializer : public G4VUserActionInitialization
41{
42public:
43
46
47 void Build() const;
48 void BuildForMaster() const;
49
50 void SetAsciiFlag( std::string flag) {m_asciiFlag = flag;}
51 void SetAsciiFile( std::string file) {m_asciiFile = file;}
52 void SetRootFlag( G4bool flag) {m_rootFlag = flag;}
53 void SetRootFile( std::string file) {m_rootFile = file;}
54 void SetTuningFile(std::vector<std::string> file) {m_tuningFile = file;}
55 void SetTDSFlag(G4bool flag) {m_TDSFlag = flag;}
56 void SetBesGenActionFlag(G4bool flag) {m_besGenActionFlag = flag;}
57
58private:
59 std::string m_asciiFlag;
60 std::string m_asciiFile;
61 G4bool m_rootFlag;
62 std::string m_rootFile;
63 std::vector<std::string> m_tuningFile;
64 G4bool m_TDSFlag;
65 G4bool m_besGenActionFlag;
66};
67
68//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
69
70#endif
71
char * file
Definition DQA_TO_DB.cxx:15
void SetAsciiFile(std::string file)
void SetAsciiFlag(std::string flag)
void SetBesGenActionFlag(G4bool flag)
void SetTDSFlag(G4bool flag)
void SetTuningFile(std::vector< std::string > file)
void SetRootFile(std::string file)
void SetRootFlag(G4bool flag)