Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
12
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
CEPCSW
Commits
666145fa
Commit
666145fa
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
WIP: setup DummyFastSimG4Model
parent
4f52b394
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Simulation/DetSimFastModel/src/DummyFastSimG4Model.cpp
+21
-0
21 additions, 0 deletions
Simulation/DetSimFastModel/src/DummyFastSimG4Model.cpp
Simulation/DetSimFastModel/src/DummyFastSimG4Model.h
+12
-0
12 additions, 0 deletions
Simulation/DetSimFastModel/src/DummyFastSimG4Model.h
with
33 additions
and
0 deletions
Simulation/DetSimFastModel/src/DummyFastSimG4Model.cpp
+
21
−
0
View file @
666145fa
#include
"DummyFastSimG4Model.h"
DummyFastSimG4Model
::
DummyFastSimG4Model
(
G4String
aModelName
,
G4Region
*
aEnvelope
)
:
G4VFastSimulationModel
(
aModelName
,
aEnvelope
)
{
}
DummyFastSimG4Model
::~
DummyFastSimG4Model
()
{
}
G4bool
DummyFastSimG4Model
::
IsApplicable
(
const
G4ParticleDefinition
&
aParticle
)
{
return
true
;
}
G4bool
DummyFastSimG4Model
::
ModelTrigger
(
const
G4FastTrack
&
aFastTrack
)
{
return
true
;
}
void
DummyFastSimG4Model
::
DoIt
(
const
G4FastTrack
&
aFastTrack
,
G4FastStep
&
aFastStep
)
{
}
This diff is collapsed.
Click to expand it.
Simulation/DetSimFastModel/src/DummyFastSimG4Model.h
+
12
−
0
View file @
666145fa
#ifndef DummyFastSimG4Model_h
#define DummyFastSimG4Model_h
#include
"G4VFastSimulationModel.hh"
class
DummyFastSimG4Model
:
public
G4VFastSimulationModel
{
public:
DummyFastSimG4Model
(
G4String
aModelName
,
G4Region
*
aEnvelope
);
~
DummyFastSimG4Model
();
virtual
G4bool
IsApplicable
(
const
G4ParticleDefinition
&
aParticle
);
virtual
G4bool
ModelTrigger
(
const
G4FastTrack
&
aFastTrack
);
virtual
void
DoIt
(
const
G4FastTrack
&
aFastTrack
,
G4FastStep
&
aFastStep
);
};
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment