ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DefaultHepRepFactory.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DefaultHepRepFactory.h
1
// Copyright FreeHEP, 2005.
2
#ifndef CHEPREP_DEFAULTHEPREPFACTORY_H
3
#define CHEPREP_DEFAULTHEPREPFACTORY_H 1
4
5
#include "
cheprep/config.h
"
6
7
#include <string>
8
#include <iostream>
9
10
#include "
HEPREP/HepRep.h
"
11
#include "
HEPREP/HepRepFactory.h
"
12
#include "
HEPREP/HepRepReader.h
"
13
#include "
HEPREP/HepRepWriter.h
"
14
#include "
HEPREP/HepRepPoint.h
"
15
#include "
HEPREP/HepRepInstance.h
"
16
#include "
HEPREP/HepRepInstanceTree.h
"
17
#include "
HEPREP/HepRepTreeID.h
"
18
#include "
HEPREP/HepRepAction.h
"
19
#include "
HEPREP/HepRepType.h
"
20
#include "
HEPREP/HepRepTypeTree.h
"
21
25
namespace
cheprep {
26
27
class
DefaultHepRepFactory
:
public
virtual
HEPREP::HepRepFactory
{
28
29
public
:
30
DefaultHepRepFactory
();
31
~DefaultHepRepFactory
();
32
33
// static HEPREP::HepRepFactory* create();
34
HEPREP::HepRepReader
*
createHepRepReader
(std::istream*
in
);
35
HEPREP::HepRepReader
*
createHepRepReader
(std::string
filename
);
36
HEPREP::HepRepWriter
*
createHepRepWriter
(std::ostream* out,
bool
randomAccess,
bool
compress
);
37
HEPREP::HepRepPoint
*
createHepRepPoint
(
HEPREP::HepRepInstance
*
instance
,
38
double
x
,
double
y
,
double
z
);
39
HEPREP::HepRepInstance
*
createHepRepInstance
(
HEPREP::HepRepInstance
* parent,
HEPREP::HepRepType
* type);
40
HEPREP::HepRepInstance
*
createHepRepInstance
(
HEPREP::HepRepInstanceTree
* parent,
HEPREP::HepRepType
* type);
41
HEPREP::HepRepTreeID
*
createHepRepTreeID
(std::string
name
, std::string
version
, std::string qualifier =
"top-level"
);
42
HEPREP::HepRepAction
*
createHepRepAction
(std::string name, std::string expression);
43
HEPREP::HepRepInstanceTree
*
createHepRepInstanceTree
(std::string name, std::string version,
44
HEPREP::HepRepTreeID
* typeTreeID);
45
HEPREP::HepRepType
*
createHepRepType
(
HEPREP::HepRepType
* parent, std::string name);
46
HEPREP::HepRepType
*
createHepRepType
(
HEPREP::HepRepTypeTree
* parent, std::string name);
47
HEPREP::HepRepTypeTree
*
createHepRepTypeTree
(
HEPREP::HepRepTreeID
* treeID);
48
HEPREP::HepRep
*
createHepRep
();
49
};
50
51
}
// cheprep
52
53
54
#endif
geant4
tree
geant4-10.6-release
source
visualization
HepRep
include
cheprep
DefaultHepRepFactory.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:54
using
1.8.2 with
ECCE GitHub integration