Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:19:17

0001 /*
0002  * Copyright (c) 2014-2024 Key4hep-Project.
0003  *
0004  * This file is part of Key4hep.
0005  * See https://key4hep.github.io/key4hep-doc/ for further info.
0006  *
0007  * Licensed under the Apache License, Version 2.0 (the "License");
0008  * you may not use this file except in compliance with the License.
0009  * You may obtain a copy of the License at
0010  *
0011  *     http://www.apache.org/licenses/LICENSE-2.0
0012  *
0013  * Unless required by applicable law or agreed to in writing, software
0014  * distributed under the License is distributed on an "AS IS" BASIS,
0015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0016  * See the License for the specific language governing permissions and
0017  * limitations under the License.
0018  */
0019 #ifndef SIMG4INTERFACE_ISIMG4EVENTPROVIDERTOOL_H
0020 #define SIMG4INTERFACE_ISIMG4EVENTPROVIDERTOOL_H
0021 
0022 // from Gaudi
0023 #include "GaudiKernel/IAlgTool.h"
0024 
0025 class G4Event;
0026 
0027 /** @class ISimG4EventProviderTool SimG4Interface/ISimG4EventProviderTool.h ISimG4EventProviderTool.h
0028  *
0029  *  Abstract interface to Geant4 Primary Generator classes
0030  *
0031  *  @author Andrea Dell'Acqua, J. Lingemann
0032  *  @date   2014-10-02
0033  */
0034 
0035 class ISimG4EventProviderTool : virtual public IAlgTool {
0036 public:
0037   DeclareInterfaceID(ISimG4EventProviderTool, 1, 0);
0038 
0039   /** get initialization hook for the geometry
0040    *  @return pointer to the G4Event containing primary particles
0041    */
0042   virtual G4Event* g4Event() = 0;
0043 };
0044 
0045 #endif /* SIMG4INTERFACE_ISIMG4EVENTPROVIDERTOOL_H */