Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
DefaultHepRepInstanceTree.h
이 파일의 문서화 페이지로 가기
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"
14 #include "HEPREP/HepRepInstance.h"
15 #include "HEPREP/HepRepWriter.h"
16 #include "HEPREP/HepRepTreeID.h"
17 
18 #include "DefaultHepRepTreeID.h"
19 
24 namespace cheprep {
25 
27 
28  private:
30  std::vector<HEPREP::HepRepInstance*> instances;
31  std::vector<HEPREP::HepRepTreeID*> instanceTrees;
32 
33  public:
36 
37  void overlay(HEPREP::HepRepInstanceTree * instanceTree);
41  std::vector<HEPREP::HepRepInstance*> getInstances();
44  std::vector<HEPREP::HepRepTreeID*> getInstanceTreeList();
45 };
46 
47 } // cheprep
48 
49 
50 #endif
void addInstanceTree(HEPREP::HepRepTreeID *treeID)
const XML_Char * name
Definition: expat.h:151
void removeInstance(HEPREP::HepRepInstance *instance)
std::vector< HEPREP::HepRepTreeID * > instanceTrees
void addInstance(HEPREP::HepRepInstance *instance)
std::vector< HEPREP::HepRepInstance * > instances
std::vector< HEPREP::HepRepTreeID * > getInstanceTreeList()
HEPREP::HepRepInstanceTree * copy(HEPREP::HepRepTypeTree *typeTree, HEPREP::HepRepSelectFilter *filter)
const XML_Char * version
Definition: expat.h:187
static MCTruthManager * instance
DefaultHepRepInstanceTree(std::string name, std::string version, HEPREP::HepRepTreeID *typeTree)
void overlay(HEPREP::HepRepInstanceTree *instanceTree)
std::vector< HEPREP::HepRepInstance * > getInstances()