Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DefaultHepRepTypeTree.h
Go to the documentation of this file.
1// Copyright FreeHEP, 2005.
2#ifndef CHEPREP_DEFAULTHEPREPTYPETREE_H
3#define CHEPREP_DEFAULTHEPREPTYPETREE_H 1
4
5#include "cheprep/config.h"
6
7#include <string>
8#include <vector>
9#include <set>
10
11#include "HEPREP/HepRep.h"
13#include "HEPREP/HepRepType.h"
14#include "HEPREP/HepRepWriter.h"
15#include "HEPREP/HepRepTreeID.h"
16
17#include "DefaultHepRepTreeID.h"
18
19/**
20 * @author Mark Donszelmann
21 */
22namespace cheprep {
23
25
26 private:
27 std::vector<HEPREP::HepRepType*> types;
28
29 public:
32
34 void addType(HEPREP::HepRepType* type);
35 std::vector<HEPREP::HepRepType* > getTypeList();
36 HEPREP::HepRepType* getType(std::string name);
37};
38
39} // cheprep
40
41
42#endif
HEPREP::HepRepTypeTree * copy()
std::vector< HEPREP::HepRepType * > getTypeList()
HEPREP::HepRepType * getType(std::string name)
void addType(HEPREP::HepRepType *type)