Geant4 9.6.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 * @version $Id: DefaultHepRepTypeTree.h,v 1.3 2005-06-02 21:28:45 duns Exp $
22 */
23namespace cheprep {
24
26
27 private:
28 std::vector<HEPREP::HepRepType*> types;
29
30 public:
33
35 void addType(HEPREP::HepRepType* type);
36 std::vector<HEPREP::HepRepType* > getTypeList();
37 HEPREP::HepRepType* getType(std::string name);
38};
39
40} // cheprep
41
42
43#endif
HEPREP::HepRepTypeTree * copy()
std::vector< HEPREP::HepRepType * > getTypeList()
HEPREP::HepRepType * getType(std::string name)
void addType(HEPREP::HepRepType *type)