Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VAnalysisReader Class Referenceabstract

#include <G4VAnalysisReader.hh>

Inheritance diagram for G4VAnalysisReader:
Collaboration diagram for G4VAnalysisReader:

Public Member Functions

 G4VAnalysisReader (const G4String &type, G4bool isMaster)
 
virtual ~G4VAnalysisReader ()
 
void SetFileName (const G4String &fileName)
 
G4String GetFileName () const
 
G4int ReadH1 (const G4String &h1Name, const G4String &fileName="")
 
G4int ReadH2 (const G4String &h2Name, const G4String &fileName="")
 
G4int ReadH3 (const G4String &h3Name, const G4String &fileName="")
 
G4int ReadP1 (const G4String &h1Name, const G4String &fileName="")
 
G4int ReadP2 (const G4String &h2Name, const G4String &fileName="")
 
G4bool SetFirstHistoId (G4int firstId)
 
G4bool SetFirstH1Id (G4int firstId)
 
G4bool SetFirstH2Id (G4int firstId)
 
G4bool SetFirstH3Id (G4int firstId)
 
G4bool SetFirstProfileId (G4int firstId)
 
G4bool SetFirstP1Id (G4int firstId)
 
G4bool SetFirstP2Id (G4int firstId)
 
G4bool SetFirstNtupleId (G4int firstId)
 
G4int GetNtuple (const G4String &ntupleName, const G4String &fileName="")
 
G4bool SetNtupleIColumn (const G4String &columnName, G4int &value)
 
G4bool SetNtupleFColumn (const G4String &columnName, G4float &value)
 
G4bool SetNtupleDColumn (const G4String &columnName, G4double &value)
 
G4bool SetNtupleSColumn (const G4String &columnName, G4String &value)
 
G4bool SetNtupleIColumn (const G4String &columnName, std::vector< int > &vector)
 
G4bool SetNtupleFColumn (const G4String &columnName, std::vector< float > &vector)
 
G4bool SetNtupleDColumn (const G4String &columnName, std::vector< double > &vector)
 
G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value)
 
G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value)
 
G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value)
 
G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value)
 
G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< int > &vector)
 
G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< float > &vector)
 
G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< double > &vector)
 
G4bool GetNtupleRow ()
 
G4bool GetNtupleRow (G4int ntupleId)
 
G4bool IsAscii () const
 
G4int GetNofH1s () const
 
G4int GetNofH2s () const
 
G4int GetNofH3s () const
 
G4int GetNofP1s () const
 
G4int GetNofP2s () const
 
G4int GetNofNtuples () const
 
G4int GetH1Id (const G4String &name, G4bool warn=true) const
 
G4int GetH2Id (const G4String &name, G4bool warn=true) const
 
G4int GetH3Id (const G4String &name, G4bool warn=true) const
 
G4int GetP1Id (const G4String &name, G4bool warn=true) const
 
G4int GetP2Id (const G4String &name, G4bool warn=true) const
 
G4int GetH1Nbins (G4int id) const
 
G4double GetH1Xmin (G4int id) const
 
G4double GetH1Xmax (G4int id) const
 
G4double GetH1Width (G4int id) const
 
G4int GetH2Nxbins (G4int id) const
 
G4double GetH2Xmin (G4int id) const
 
G4double GetH2Xmax (G4int id) const
 
G4double GetH2XWidth (G4int id) const
 
G4int GetH2Nybins (G4int id) const
 
G4double GetH2Ymin (G4int id) const
 
G4double GetH2Ymax (G4int id) const
 
G4double GetH2YWidth (G4int id) const
 
G4int GetH3Nxbins (G4int id) const
 
G4double GetH3Xmin (G4int id) const
 
G4double GetH3Xmax (G4int id) const
 
G4double GetH3XWidth (G4int id) const
 
G4int GetH3Nybins (G4int id) const
 
G4double GetH3Ymin (G4int id) const
 
G4double GetH3Ymax (G4int id) const
 
G4double GetH3YWidth (G4int id) const
 
G4int GetH3Nzbins (G4int id) const
 
G4double GetH3Zmin (G4int id) const
 
G4double GetH3Zmax (G4int id) const
 
G4double GetH3ZWidth (G4int id) const
 
G4int GetP1Nbins (G4int id) const
 
G4double GetP1Xmin (G4int id) const
 
G4double GetP1Xmax (G4int id) const
 
G4double GetP1XWidth (G4int id) const
 
G4double GetP1Ymin (G4int id) const
 
G4double GetP1Ymax (G4int id) const
 
G4int GetP2Nxbins (G4int id) const
 
G4double GetP2Xmin (G4int id) const
 
G4double GetP2Xmax (G4int id) const
 
G4double GetP2XWidth (G4int id) const
 
G4int GetP2Nybins (G4int id) const
 
G4double GetP2Ymin (G4int id) const
 
G4double GetP2Ymax (G4int id) const
 
G4double GetP2YWidth (G4int id) const
 
G4double GetP2Zmin (G4int id) const
 
G4double GetP2Zmax (G4int id) const
 
G4String GetH1Title (G4int id) const
 
G4String GetH1XAxisTitle (G4int id) const
 
G4String GetH1YAxisTitle (G4int id) const
 
G4String GetH2Title (G4int id) const
 
G4String GetH2XAxisTitle (G4int id) const
 
G4String GetH2YAxisTitle (G4int id) const
 
G4String GetH2ZAxisTitle (G4int id) const
 
G4String GetH3Title (G4int id) const
 
G4String GetH3XAxisTitle (G4int id) const
 
G4String GetH3YAxisTitle (G4int id) const
 
G4String GetH3ZAxisTitle (G4int id) const
 
G4String GetP1Title (G4int id) const
 
G4String GetP1XAxisTitle (G4int id) const
 
G4String GetP1YAxisTitle (G4int id) const
 
G4String GetP1ZAxisTitle (G4int id) const
 
G4String GetP2Title (G4int id) const
 
G4String GetP2XAxisTitle (G4int id) const
 
G4String GetP2YAxisTitle (G4int id) const
 
G4String GetP2ZAxisTitle (G4int id) const
 
void SetVerboseLevel (G4int verboseLevel)
 
G4int GetVerboseLevel () const
 
G4String GetType () const
 
G4String GetFileType () const
 

Protected Member Functions

virtual G4int ReadH1Impl (const G4String &h1Name, const G4String &fileName, G4bool isUserFileName)=0
 
virtual G4int ReadH2Impl (const G4String &h2Name, const G4String &fileName, G4bool isUserFileName)=0
 
virtual G4int ReadH3Impl (const G4String &h3Name, const G4String &fileName, G4bool isUserFileName)=0
 
virtual G4int ReadP1Impl (const G4String &p1Name, const G4String &fileName, G4bool isUserFileName)=0
 
virtual G4int ReadP2Impl (const G4String &p2Name, const G4String &fileName, G4bool isUserFileName)=0
 
virtual G4int ReadNtupleImpl (const G4String &ntupleName, const G4String &fileName, G4bool isUserFileName)=0
 
void SetH1Manager (G4VH1Manager *h1Manager)
 
void SetH2Manager (G4VH2Manager *h2Manager)
 
void SetH3Manager (G4VH3Manager *h3Manager)
 
void SetP1Manager (G4VP1Manager *p1Manager)
 
void SetP2Manager (G4VP2Manager *p2Manager)
 
void SetNtupleManager (G4VRNtupleManager *ntupleManager)
 
void SetFileManager (G4BaseFileManager *fileManager)
 

Protected Attributes

G4AnalysisManagerState fState
 

Detailed Description

Definition at line 56 of file G4VAnalysisReader.hh.

Constructor & Destructor Documentation

G4VAnalysisReader::G4VAnalysisReader ( const G4String type,
G4bool  isMaster 
)

Definition at line 46 of file G4VAnalysisReader.cc.

47  : fState(type, isMaster),
48  fVH1Manager(nullptr),
49  fVH2Manager(nullptr),
50  fVH3Manager(nullptr),
51  fVP1Manager(nullptr),
52  fVP2Manager(nullptr),
53  fVNtupleManager(nullptr),
54  fFileManager(nullptr)
55 {}
G4AnalysisManagerState fState
G4VAnalysisReader::~G4VAnalysisReader ( )
virtual

Definition at line 58 of file G4VAnalysisReader.cc.

59 {}

Member Function Documentation

G4String G4VAnalysisReader::GetFileName ( ) const

Definition at line 118 of file G4VAnalysisReader.cc.

119 {
120  return fFileManager->GetFileName();
121 }
G4String G4VAnalysisReader::GetFileType ( ) const
G4int G4VAnalysisReader::GetH1Id ( const G4String name,
G4bool  warn = true 
) const
G4int G4VAnalysisReader::GetH1Nbins ( G4int  id) const
G4String G4VAnalysisReader::GetH1Title ( G4int  id) const
G4double G4VAnalysisReader::GetH1Width ( G4int  id) const
G4String G4VAnalysisReader::GetH1XAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetH1Xmax ( G4int  id) const
G4double G4VAnalysisReader::GetH1Xmin ( G4int  id) const
G4String G4VAnalysisReader::GetH1YAxisTitle ( G4int  id) const
G4int G4VAnalysisReader::GetH2Id ( const G4String name,
G4bool  warn = true 
) const
G4int G4VAnalysisReader::GetH2Nxbins ( G4int  id) const
G4int G4VAnalysisReader::GetH2Nybins ( G4int  id) const
G4String G4VAnalysisReader::GetH2Title ( G4int  id) const
G4String G4VAnalysisReader::GetH2XAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetH2Xmax ( G4int  id) const
G4double G4VAnalysisReader::GetH2Xmin ( G4int  id) const
G4double G4VAnalysisReader::GetH2XWidth ( G4int  id) const
G4String G4VAnalysisReader::GetH2YAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetH2Ymax ( G4int  id) const
G4double G4VAnalysisReader::GetH2Ymin ( G4int  id) const
G4double G4VAnalysisReader::GetH2YWidth ( G4int  id) const
G4String G4VAnalysisReader::GetH2ZAxisTitle ( G4int  id) const
G4int G4VAnalysisReader::GetH3Id ( const G4String name,
G4bool  warn = true 
) const
G4int G4VAnalysisReader::GetH3Nxbins ( G4int  id) const
G4int G4VAnalysisReader::GetH3Nybins ( G4int  id) const
G4int G4VAnalysisReader::GetH3Nzbins ( G4int  id) const
G4String G4VAnalysisReader::GetH3Title ( G4int  id) const
G4String G4VAnalysisReader::GetH3XAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetH3Xmax ( G4int  id) const
G4double G4VAnalysisReader::GetH3Xmin ( G4int  id) const
G4double G4VAnalysisReader::GetH3XWidth ( G4int  id) const
G4String G4VAnalysisReader::GetH3YAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetH3Ymax ( G4int  id) const
G4double G4VAnalysisReader::GetH3Ymin ( G4int  id) const
G4double G4VAnalysisReader::GetH3YWidth ( G4int  id) const
G4String G4VAnalysisReader::GetH3ZAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetH3Zmax ( G4int  id) const
G4double G4VAnalysisReader::GetH3Zmin ( G4int  id) const
G4double G4VAnalysisReader::GetH3ZWidth ( G4int  id) const
G4int G4VAnalysisReader::GetNofH1s ( ) const

Definition at line 429 of file G4VAnalysisReader.cc.

430 {
431  return fVH1Manager->GetHnManager()->GetNofHns();
432 }
G4int G4VAnalysisReader::GetNofH2s ( ) const

Definition at line 435 of file G4VAnalysisReader.cc.

436 {
437  return fVH2Manager->GetHnManager()->GetNofHns();
438 }
G4int G4VAnalysisReader::GetNofH3s ( ) const

Definition at line 441 of file G4VAnalysisReader.cc.

442 {
443  return fVH3Manager->GetHnManager()->GetNofHns();
444 }
G4int G4VAnalysisReader::GetNofNtuples ( ) const

Definition at line 459 of file G4VAnalysisReader.cc.

460 {
461  return fVNtupleManager->GetNofNtuples();
462 }
G4int G4VAnalysisReader::GetNofP1s ( ) const

Definition at line 447 of file G4VAnalysisReader.cc.

448 {
449  return fVP1Manager->GetHnManager()->GetNofHns();
450 }
G4int G4VAnalysisReader::GetNofP2s ( ) const

Definition at line 453 of file G4VAnalysisReader.cc.

454 {
455  return fVP2Manager->GetHnManager()->GetNofHns();
456 }
G4int G4VAnalysisReader::GetNtuple ( const G4String ntupleName,
const G4String fileName = "" 
)

Definition at line 291 of file G4VAnalysisReader.cc.

293 {
294  if ( fileName != "" ) {
295  return ReadNtupleImpl(ntupleName, fileName, true);
296  }
297  else {
298  if ( fFileManager->GetFileName() == "" ) {
299  G4ExceptionDescription description;
300  description
301  << "Cannot get Ntuple. File name has to be set first.";
302  G4Exception("G4VAnalysisReader::GetNtuple()",
303  "Analysis_WR011", JustWarning, description);
304  return kInvalidId;
305  }
306  return ReadNtupleImpl(ntupleName, fFileManager->GetFileName(), false);
307  }
308 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
virtual G4int ReadNtupleImpl(const G4String &ntupleName, const G4String &fileName, G4bool isUserFileName)=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
const G4int kInvalidId

Here is the call graph for this function:

G4bool G4VAnalysisReader::GetNtupleRow ( )

Definition at line 416 of file G4VAnalysisReader.cc.

417 {
418  return fVNtupleManager->GetNtupleRow();
419 }
G4bool G4VAnalysisReader::GetNtupleRow ( G4int  ntupleId)

Definition at line 423 of file G4VAnalysisReader.cc.

424 {
425  return fVNtupleManager->GetNtupleRow(ntupleId);
426 }
G4int G4VAnalysisReader::GetP1Id ( const G4String name,
G4bool  warn = true 
) const
G4int G4VAnalysisReader::GetP1Nbins ( G4int  id) const
G4String G4VAnalysisReader::GetP1Title ( G4int  id) const
G4String G4VAnalysisReader::GetP1XAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetP1Xmax ( G4int  id) const
G4double G4VAnalysisReader::GetP1Xmin ( G4int  id) const
G4double G4VAnalysisReader::GetP1XWidth ( G4int  id) const
G4String G4VAnalysisReader::GetP1YAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetP1Ymax ( G4int  id) const
G4double G4VAnalysisReader::GetP1Ymin ( G4int  id) const
G4String G4VAnalysisReader::GetP1ZAxisTitle ( G4int  id) const
G4int G4VAnalysisReader::GetP2Id ( const G4String name,
G4bool  warn = true 
) const
G4int G4VAnalysisReader::GetP2Nxbins ( G4int  id) const
G4int G4VAnalysisReader::GetP2Nybins ( G4int  id) const
G4String G4VAnalysisReader::GetP2Title ( G4int  id) const
G4String G4VAnalysisReader::GetP2XAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetP2Xmax ( G4int  id) const
G4double G4VAnalysisReader::GetP2Xmin ( G4int  id) const
G4double G4VAnalysisReader::GetP2XWidth ( G4int  id) const
G4String G4VAnalysisReader::GetP2YAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetP2Ymax ( G4int  id) const
G4double G4VAnalysisReader::GetP2Ymin ( G4int  id) const
G4double G4VAnalysisReader::GetP2YWidth ( G4int  id) const
G4String G4VAnalysisReader::GetP2ZAxisTitle ( G4int  id) const
G4double G4VAnalysisReader::GetP2Zmax ( G4int  id) const
G4double G4VAnalysisReader::GetP2Zmin ( G4int  id) const
G4String G4VAnalysisReader::GetType ( ) const
G4int G4VAnalysisReader::GetVerboseLevel ( ) const
G4bool G4VAnalysisReader::IsAscii ( ) const
G4int G4VAnalysisReader::ReadH1 ( const G4String h1Name,
const G4String fileName = "" 
)

Definition at line 124 of file G4VAnalysisReader.cc.

126 {
127  if ( fileName != "" ) {
128  return ReadH1Impl(h1Name, fileName, true);
129  }
130  else {
131  if ( fFileManager->GetFileName() == "" ) {
132  G4ExceptionDescription description;
133  description
134  << "Cannot get H1. File name has to be set first.";
135  G4Exception("G4VAnalysisReader::ReadH1()",
136  "Analysis_WR011", JustWarning, description);
137  return kInvalidId;
138  }
139  return ReadH1Impl(h1Name, fFileManager->GetFileName(), false);
140  }
141 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
virtual G4int ReadH1Impl(const G4String &h1Name, const G4String &fileName, G4bool isUserFileName)=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
const G4int kInvalidId

Here is the call graph for this function:

virtual G4int G4VAnalysisReader::ReadH1Impl ( const G4String h1Name,
const G4String fileName,
G4bool  isUserFileName 
)
protectedpure virtual

Implemented in G4CsvAnalysisReader, G4RootAnalysisReader, and G4XmlAnalysisReader.

Here is the caller graph for this function:

G4int G4VAnalysisReader::ReadH2 ( const G4String h2Name,
const G4String fileName = "" 
)

Definition at line 144 of file G4VAnalysisReader.cc.

146 {
147  if ( fileName != "" ) {
148  return ReadH2Impl(h2Name, fileName, true);
149  }
150  else {
151  if ( fFileManager->GetFileName() == "" ) {
152  G4ExceptionDescription description;
153  description
154  << "Cannot get H2. File name has to be set first.";
155  G4Exception("G4VAnalysisReader::ReadH2()",
156  "Analysis_WR011", JustWarning, description);
157  return kInvalidId;
158  }
159  return ReadH2Impl(h2Name, fFileManager->GetFileName(), false);
160  }
161 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
virtual G4int ReadH2Impl(const G4String &h2Name, const G4String &fileName, G4bool isUserFileName)=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
const G4int kInvalidId

Here is the call graph for this function:

virtual G4int G4VAnalysisReader::ReadH2Impl ( const G4String h2Name,
const G4String fileName,
G4bool  isUserFileName 
)
protectedpure virtual

Implemented in G4CsvAnalysisReader, G4RootAnalysisReader, and G4XmlAnalysisReader.

Here is the caller graph for this function:

G4int G4VAnalysisReader::ReadH3 ( const G4String h3Name,
const G4String fileName = "" 
)

Definition at line 164 of file G4VAnalysisReader.cc.

166 {
167  if ( fileName != "" ) {
168  return ReadH3Impl(h3Name, fileName, true);
169  }
170  else {
171  if ( fFileManager->GetFileName() == "" ) {
172  G4ExceptionDescription description;
173  description
174  << "Cannot get H3. File name has to be set first.";
175  G4Exception("G4VAnalysisReader::ReadH2()",
176  "Analysis_WR011", JustWarning, description);
177  return kInvalidId;
178  }
179  return ReadH3Impl(h3Name, fFileManager->GetFileName(), false);
180  }
181 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
virtual G4int ReadH3Impl(const G4String &h3Name, const G4String &fileName, G4bool isUserFileName)=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
const G4int kInvalidId

Here is the call graph for this function:

virtual G4int G4VAnalysisReader::ReadH3Impl ( const G4String h3Name,
const G4String fileName,
G4bool  isUserFileName 
)
protectedpure virtual

Implemented in G4CsvAnalysisReader, G4RootAnalysisReader, and G4XmlAnalysisReader.

Here is the caller graph for this function:

virtual G4int G4VAnalysisReader::ReadNtupleImpl ( const G4String ntupleName,
const G4String fileName,
G4bool  isUserFileName 
)
protectedpure virtual

Implemented in G4CsvAnalysisReader, G4RootAnalysisReader, and G4XmlAnalysisReader.

Here is the caller graph for this function:

G4int G4VAnalysisReader::ReadP1 ( const G4String h1Name,
const G4String fileName = "" 
)

Definition at line 184 of file G4VAnalysisReader.cc.

186 {
187  if ( fileName != "" ) {
188  return ReadP1Impl(p1Name, fileName, true);
189  }
190  else {
191  if ( fFileManager->GetFileName() == "" ) {
192  G4ExceptionDescription description;
193  description
194  << "Cannot get P1. File name has to be set first.";
195  G4Exception("G4VAnalysisReader::ReadP1()",
196  "Analysis_WR011", JustWarning, description);
197  return kInvalidId;
198  }
199  return ReadP1Impl(p1Name, fFileManager->GetFileName(), false);
200  }
201 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
virtual G4int ReadP1Impl(const G4String &p1Name, const G4String &fileName, G4bool isUserFileName)=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
const G4int kInvalidId

Here is the call graph for this function:

virtual G4int G4VAnalysisReader::ReadP1Impl ( const G4String p1Name,
const G4String fileName,
G4bool  isUserFileName 
)
protectedpure virtual

Implemented in G4CsvAnalysisReader, G4RootAnalysisReader, and G4XmlAnalysisReader.

Here is the caller graph for this function:

G4int G4VAnalysisReader::ReadP2 ( const G4String h2Name,
const G4String fileName = "" 
)

Definition at line 204 of file G4VAnalysisReader.cc.

206 {
207  if ( fileName != "" ) {
208  return ReadP2Impl(p2Name, fileName, true);
209  }
210  else {
211  if ( fFileManager->GetFileName() == "" ) {
212  G4ExceptionDescription description;
213  description
214  << "Cannot get P2. File name has to be set first.";
215  G4Exception("G4VAnalysisReader::ReadP2()",
216  "Analysis_WR011", JustWarning, description);
217  return kInvalidId;
218  }
219  return ReadP2Impl(p2Name, fFileManager->GetFileName(), false);
220  }
221 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
virtual G4int ReadP2Impl(const G4String &p2Name, const G4String &fileName, G4bool isUserFileName)=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
const G4int kInvalidId

Here is the call graph for this function:

virtual G4int G4VAnalysisReader::ReadP2Impl ( const G4String p2Name,
const G4String fileName,
G4bool  isUserFileName 
)
protectedpure virtual

Implemented in G4CsvAnalysisReader, G4RootAnalysisReader, and G4XmlAnalysisReader.

Here is the caller graph for this function:

void G4VAnalysisReader::SetFileManager ( G4BaseFileManager fileManager)
protected

Definition at line 102 of file G4VAnalysisReader.cc.

103 {
104  fFileManager.reset(fileManager);
105 }

Here is the caller graph for this function:

void G4VAnalysisReader::SetFileName ( const G4String fileName)

Definition at line 112 of file G4VAnalysisReader.cc.

113 {
114  fFileManager->SetFileName(fileName);
115 }
G4bool G4VAnalysisReader::SetFirstH1Id ( G4int  firstId)

Definition at line 241 of file G4VAnalysisReader.cc.

242 {
243  return fVH1Manager->GetHnManager()->SetFirstId(firstId);
244 }

Here is the caller graph for this function:

G4bool G4VAnalysisReader::SetFirstH2Id ( G4int  firstId)

Definition at line 247 of file G4VAnalysisReader.cc.

248 {
249  return fVH2Manager->GetHnManager()->SetFirstId(firstId);
250 }

Here is the caller graph for this function:

G4bool G4VAnalysisReader::SetFirstH3Id ( G4int  firstId)

Definition at line 253 of file G4VAnalysisReader.cc.

254 {
255  return fVH3Manager->GetHnManager()->SetFirstId(firstId);
256 }

Here is the caller graph for this function:

G4bool G4VAnalysisReader::SetFirstHistoId ( G4int  firstId)

Definition at line 224 of file G4VAnalysisReader.cc.

225 {
226  G4bool finalResult = true;
227 
228  G4bool result = SetFirstH1Id(firstId);
229  finalResult = finalResult && result;
230 
231  result = SetFirstH2Id(firstId);
232  finalResult = finalResult && result;
233 
234  result = SetFirstH3Id(firstId);
235  finalResult = finalResult && result;
236 
237  return finalResult;
238 }
G4double G4ParticleHPJENDLHEData::G4double result
bool G4bool
Definition: G4Types.hh:79
G4bool SetFirstH1Id(G4int firstId)
G4bool SetFirstH2Id(G4int firstId)
G4bool SetFirstH3Id(G4int firstId)

Here is the call graph for this function:

G4bool G4VAnalysisReader::SetFirstNtupleId ( G4int  firstId)

Definition at line 285 of file G4VAnalysisReader.cc.

286 {
287  return fVNtupleManager->SetFirstId(firstId);
288 }
G4bool G4VAnalysisReader::SetFirstP1Id ( G4int  firstId)

Definition at line 273 of file G4VAnalysisReader.cc.

274 {
275  return fVP1Manager->GetHnManager()->SetFirstId(firstId);
276 }

Here is the caller graph for this function:

G4bool G4VAnalysisReader::SetFirstP2Id ( G4int  firstId)

Definition at line 279 of file G4VAnalysisReader.cc.

280 {
281  return fVP2Manager->GetHnManager()->SetFirstId(firstId);
282 }

Here is the caller graph for this function:

G4bool G4VAnalysisReader::SetFirstProfileId ( G4int  firstId)

Definition at line 259 of file G4VAnalysisReader.cc.

260 {
261  G4bool finalResult = true;
262 
263  G4bool result = SetFirstP1Id(firstId);
264  finalResult = finalResult && result;
265 
266  result = SetFirstP2Id(firstId);
267  finalResult = finalResult && result;
268 
269  return finalResult;
270 }
G4double G4ParticleHPJENDLHEData::G4double result
bool G4bool
Definition: G4Types.hh:79
G4bool SetFirstP2Id(G4int firstId)
G4bool SetFirstP1Id(G4int firstId)

Here is the call graph for this function:

void G4VAnalysisReader::SetH1Manager ( G4VH1Manager h1Manager)
protected

Definition at line 66 of file G4VAnalysisReader.cc.

67 {
68  fVH1Manager.reset(h1Manager);
69 }

Here is the caller graph for this function:

void G4VAnalysisReader::SetH2Manager ( G4VH2Manager h2Manager)
protected

Definition at line 72 of file G4VAnalysisReader.cc.

73 {
74  fVH2Manager.reset(h2Manager);
75 }

Here is the caller graph for this function:

void G4VAnalysisReader::SetH3Manager ( G4VH3Manager h3Manager)
protected

Definition at line 78 of file G4VAnalysisReader.cc.

79 {
80  fVH3Manager.reset(h3Manager);
81 }

Here is the caller graph for this function:

G4bool G4VAnalysisReader::SetNtupleDColumn ( const G4String columnName,
G4double value 
)

Definition at line 325 of file G4VAnalysisReader.cc.

327 {
328  return fVNtupleManager->SetNtupleDColumn(columnName, value);
329 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4bool G4VAnalysisReader::SetNtupleDColumn ( const G4String columnName,
std::vector< double > &  vector 
)

Definition at line 353 of file G4VAnalysisReader.cc.

355 {
356  return fVNtupleManager->SetNtupleDColumn(columnName, vector);
357 }
G4bool G4VAnalysisReader::SetNtupleDColumn ( G4int  ntupleId,
const G4String columnName,
G4double value 
)

Definition at line 376 of file G4VAnalysisReader.cc.

379 {
380  return fVNtupleManager->SetNtupleDColumn(ntupleId, columnName, value);
381 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4bool G4VAnalysisReader::SetNtupleDColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< double > &  vector 
)

Definition at line 408 of file G4VAnalysisReader.cc.

411 {
412  return fVNtupleManager->SetNtupleDColumn(ntupleId, columnName, vector);
413 }
G4bool G4VAnalysisReader::SetNtupleFColumn ( const G4String columnName,
G4float value 
)

Definition at line 318 of file G4VAnalysisReader.cc.

320 {
321  return fVNtupleManager->SetNtupleFColumn(columnName, value);
322 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4bool G4VAnalysisReader::SetNtupleFColumn ( const G4String columnName,
std::vector< float > &  vector 
)

Definition at line 346 of file G4VAnalysisReader.cc.

348 {
349  return fVNtupleManager->SetNtupleFColumn(columnName, vector);
350 }
G4bool G4VAnalysisReader::SetNtupleFColumn ( G4int  ntupleId,
const G4String columnName,
G4float value 
)

Definition at line 368 of file G4VAnalysisReader.cc.

371 {
372  return fVNtupleManager->SetNtupleFColumn(ntupleId, columnName, value);
373 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4bool G4VAnalysisReader::SetNtupleFColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< float > &  vector 
)

Definition at line 400 of file G4VAnalysisReader.cc.

403 {
404  return fVNtupleManager->SetNtupleFColumn(ntupleId, columnName, vector);
405 }
G4bool G4VAnalysisReader::SetNtupleIColumn ( const G4String columnName,
G4int value 
)

Definition at line 311 of file G4VAnalysisReader.cc.

313 {
314  return fVNtupleManager->SetNtupleIColumn(columnName, value);
315 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4bool G4VAnalysisReader::SetNtupleIColumn ( const G4String columnName,
std::vector< int > &  vector 
)

Definition at line 339 of file G4VAnalysisReader.cc.

341 {
342  return fVNtupleManager->SetNtupleIColumn(columnName, vector);
343 }
G4bool G4VAnalysisReader::SetNtupleIColumn ( G4int  ntupleId,
const G4String columnName,
G4int value 
)

Definition at line 360 of file G4VAnalysisReader.cc.

363 {
364  return fVNtupleManager->SetNtupleIColumn(ntupleId, columnName, value);
365 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4bool G4VAnalysisReader::SetNtupleIColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< int > &  vector 
)

Definition at line 392 of file G4VAnalysisReader.cc.

395 {
396  return fVNtupleManager->SetNtupleIColumn(ntupleId, columnName, vector);
397 }
void G4VAnalysisReader::SetNtupleManager ( G4VRNtupleManager ntupleManager)
protected

Definition at line 96 of file G4VAnalysisReader.cc.

97 {
98  fVNtupleManager.reset(ntupleManager);
99 }

Here is the caller graph for this function:

G4bool G4VAnalysisReader::SetNtupleSColumn ( const G4String columnName,
G4String value 
)

Definition at line 332 of file G4VAnalysisReader.cc.

334 {
335  return fVNtupleManager->SetNtupleSColumn(columnName, value);
336 }
G4bool G4VAnalysisReader::SetNtupleSColumn ( G4int  ntupleId,
const G4String columnName,
G4String value 
)

Definition at line 384 of file G4VAnalysisReader.cc.

387 {
388  return fVNtupleManager->SetNtupleSColumn(ntupleId, columnName, value);
389 }
void G4VAnalysisReader::SetP1Manager ( G4VP1Manager p1Manager)
protected

Definition at line 84 of file G4VAnalysisReader.cc.

85 {
86  fVP1Manager.reset(p1Manager);
87 }

Here is the caller graph for this function:

void G4VAnalysisReader::SetP2Manager ( G4VP2Manager p2Manager)
protected

Definition at line 90 of file G4VAnalysisReader.cc.

91 {
92  fVP2Manager.reset(p2Manager);
93 }

Here is the caller graph for this function:

void G4VAnalysisReader::SetVerboseLevel ( G4int  verboseLevel)

Definition at line 469 of file G4VAnalysisReader.cc.

470 {
471  fState.SetVerboseLevel(verboseLevel);
472 }
G4AnalysisManagerState fState

Member Data Documentation

G4AnalysisManagerState G4VAnalysisReader::fState
protected

Definition at line 251 of file G4VAnalysisReader.hh.


The documentation for this class was generated from the following files: