1 | #ifndef _FROGUTIL_H_
|
---|
2 | #define _FROGUTIL_H_
|
---|
3 |
|
---|
4 | /***********************************************************************
|
---|
5 | ** **
|
---|
6 | ** /----------------------------------------------\ **
|
---|
7 | ** | Delphes, a framework for the fast simulation | **
|
---|
8 | ** | of a generic collider experiment | **
|
---|
9 | ** \------------- arXiv:0903.2225v1 ------------/ **
|
---|
10 | ** **
|
---|
11 | ** **
|
---|
12 | ** This package uses: **
|
---|
13 | ** ------------------ **
|
---|
14 | ** ROOT: Nucl. Inst. & Meth. in Phys. Res. A389 (1997) 81-86 **
|
---|
15 | ** FastJet algorithm: Phys. Lett. B641 (2006) [hep-ph/0512210] **
|
---|
16 | ** Hector: JINST 2:P09005 (2007) [physics.acc-ph:0707.1198v2] **
|
---|
17 | ** FROG: [hep-ex/0901.2718v1] **
|
---|
18 | ** HepMC: Comput. Phys. Commun.134 (2001) 41 **
|
---|
19 | ** **
|
---|
20 | ** ------------------------------------------------------------------ **
|
---|
21 | ** **
|
---|
22 | ** Main authors: **
|
---|
23 | ** ------------- **
|
---|
24 | ** **
|
---|
25 | ** Severine Ovyn Xavier Rouby **
|
---|
26 | ** severine.ovyn@uclouvain.be xavier.rouby@cern **
|
---|
27 | ** **
|
---|
28 | ** Center for Particle Physics and Phenomenology (CP3) **
|
---|
29 | ** Universite catholique de Louvain (UCL) **
|
---|
30 | ** Louvain-la-Neuve, Belgium **
|
---|
31 | ** **
|
---|
32 | ** Copyright (C) 2008-2009, **
|
---|
33 | ** All rights reserved. **
|
---|
34 | ** **
|
---|
35 | ***********************************************************************/
|
---|
36 |
|
---|
37 |
|
---|
38 | /// \file FrogUtil.h
|
---|
39 | /// \brief FrogDisplay class
|
---|
40 |
|
---|
41 | #include "SmearUtil.h"
|
---|
42 |
|
---|
43 | #include "BaseColl.h"
|
---|
44 | #include "BaseColl_Id.h"
|
---|
45 | #include "BaseColl_Name.h"
|
---|
46 | #include "Base.h"
|
---|
47 | #include "CMS_Geom_Calo.h"
|
---|
48 | #include "CMS_Geom_Tracking.h"
|
---|
49 | #include "Event.h"
|
---|
50 | #include "Event_Beam.h"
|
---|
51 | #include "Event_CaloHit.h"
|
---|
52 | #include "Event_CaloTower.h"
|
---|
53 | #include "Event_Candidate.h"
|
---|
54 | #include "Event_Cluster_SiStrip.h"
|
---|
55 | #include "Event_dEdX.h"
|
---|
56 | #include "Event_Electron.h"
|
---|
57 | #include "Event_Hit.h"
|
---|
58 | #include "Event_Jet.h"
|
---|
59 | #include "Event_MET.h"
|
---|
60 | #include "Event_Photon.h"
|
---|
61 | #include "Event_Segment.h"
|
---|
62 | #include "Event_Sim_Hit.h"
|
---|
63 | #include "Event_Sim_Particle.h"
|
---|
64 | #include "Event_Sim_Track.h"
|
---|
65 | #include "Event_Sim_Vertex.h"
|
---|
66 | #include "Event_SingleStrip.h"
|
---|
67 | #include "Event_Track.h"
|
---|
68 | #include "Event_Vertex.h"
|
---|
69 | #include "Prim_Circle.h"
|
---|
70 | #include "Prim_Cube.h"
|
---|
71 | #include "Prim_CustomCube.h"
|
---|
72 | #include "Prim_CustomSurface.h"
|
---|
73 | #include "Prim_Cylinder.h"
|
---|
74 | #include "Prim_Disc.h"
|
---|
75 | #include "Prim_FiveSidedPolygon.h"
|
---|
76 | #include "Prim_Line.h"
|
---|
77 | #include "Prim_PartialSphere.h"
|
---|
78 | #include "Prim_Rectangle.h"
|
---|
79 | #include "Prim_Sphere.h"
|
---|
80 | #include "Prim_Tube.h"
|
---|
81 |
|
---|
82 | #define EVTID_SIM 21000000
|
---|
83 |
|
---|
84 | using namespace FROG;
|
---|
85 |
|
---|
86 | using namespace std;
|
---|
87 | class FrogDisplay {
|
---|
88 |
|
---|
89 | public:
|
---|
90 | /// Constructor
|
---|
91 | FrogDisplay();
|
---|
92 | FrogDisplay(const string& DetDatacard);
|
---|
93 | FrogDisplay(const RESOLution* DetDatacard);
|
---|
94 | FrogDisplay(const FrogDisplay& frog);
|
---|
95 | FrogDisplay& operator=(const FrogDisplay& frog);
|
---|
96 | ~FrogDisplay() {delete DET;}
|
---|
97 |
|
---|
98 | void BuildEvents(const string& outputfilename);
|
---|
99 | void BuildGeom();
|
---|
100 |
|
---|
101 | private:
|
---|
102 | RESOLution *DET;
|
---|
103 | unsigned int nEntryFrog;
|
---|
104 |
|
---|
105 | };
|
---|
106 |
|
---|
107 | #endif
|
---|