67 lines
2.3 KiB
C++
67 lines
2.3 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * GEANT4 collaboration. *
|
|
// * By copying, distributing or modifying the Program (or any work *
|
|
// * based on the Program) you indicate your acceptance of this *
|
|
// * statement, and all its terms. *
|
|
// ********************************************************************
|
|
//
|
|
// File: G4VDCIOentry.hh
|
|
//
|
|
// History:
|
|
// '01.09.12 Youhei Morita Initial creation
|
|
|
|
#ifndef VDCIO_ENTRY_T_HH
|
|
#define VDCIO_ENTRY_T_HH 1
|
|
|
|
#include "G4Types.hh"
|
|
#include <string>
|
|
#include "G4PersistencyCenter.hh"
|
|
|
|
// Class Description:
|
|
// Abstract base class for digits collection I/O manager entry
|
|
|
|
class G4VDCIOentry
|
|
{
|
|
public: // With description
|
|
G4VDCIOentry(std::string n);
|
|
// Constructor
|
|
|
|
virtual ~G4VDCIOentry() {}
|
|
// Destructor
|
|
|
|
public: // With description
|
|
void SetVerboseLevel(G4int v) { m_verbose = v; }
|
|
// Set verbose level.
|
|
|
|
std::string GetName() { return m_name; }
|
|
// Returns the name of the DC I/O manager entry
|
|
|
|
virtual void CreateDCIOmanager(std::string, std::string) {}
|
|
// virtual method for creating DC I/O manager for the detector
|
|
|
|
protected:
|
|
G4int m_verbose;
|
|
|
|
private:
|
|
std::string m_name;
|
|
|
|
}; // End of class G4VDCIOentry
|
|
|
|
#endif
|
|
|