Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DefaultHepRepInstanceTree.h
Go to the documentation of this file.
1// Copyright FreeHEP, 2005.
2#ifndef CHEPREP_DEFAULTHEPREPINSTANCETREE_H
3#define CHEPREP_DEFAULTHEPREPINSTANCETREE_H 1
4
5#include "cheprep/config.h"
6
7#include <string>
8#include <vector>
9#include <set>
10
11#include "HEPREP/HepRep.h"
15#include "HEPREP/HepRepWriter.h"
16#include "HEPREP/HepRepTreeID.h"
17
18#include "DefaultHepRepTreeID.h"
19
20/**
21 * @author Mark Donszelmann
22 * @version $Id: DefaultHepRepInstanceTree.h,v 1.3 2005-06-02 21:28:45 duns Exp $
23 */
24namespace cheprep {
25
27
28 private:
29 HEPREP::HepRepTreeID* typeTree;
30 std::vector<HEPREP::HepRepInstance*> instances;
31 std::vector<HEPREP::HepRepTreeID*> instanceTrees;
32
33 public:
34 DefaultHepRepInstanceTree(std::string name, std::string version, HEPREP::HepRepTreeID* typeTree);
36
37 void overlay(HEPREP::HepRepInstanceTree * instanceTree);
39 void addInstance(HEPREP::HepRepInstance* instance);
41 std::vector<HEPREP::HepRepInstance*> getInstances();
44 std::vector<HEPREP::HepRepTreeID*> getInstanceTreeList();
45};
46
47} // cheprep
48
49
50#endif
std::vector< HEPREP::HepRepInstance * > getInstances()
void overlay(HEPREP::HepRepInstanceTree *instanceTree)
void removeInstance(HEPREP::HepRepInstance *instance)
std::vector< HEPREP::HepRepTreeID * > getInstanceTreeList()
void addInstance(HEPREP::HepRepInstance *instance)
HEPREP::HepRepInstanceTree * copy(HEPREP::HepRepTypeTree *typeTree, HEPREP::HepRepSelectFilter *filter)
void addInstanceTree(HEPREP::HepRepTreeID *treeID)