mirror of
https://github.com/OpenCMT/uLib.git
synced 2025-12-06 07:21:31 +01:00
Moved class from mutom-g4-castor
This commit is contained in:
44
src/Root/muCastorInfo.h
Normal file
44
src/Root/muCastorInfo.h
Normal file
@@ -0,0 +1,44 @@
|
||||
#ifndef muCastor_RUN_H
|
||||
#define muCastor_RUN_H
|
||||
|
||||
//------------------------------------------------
|
||||
// The Virtual Monte Carlo examples
|
||||
// Copyright (C) 2007, 2008 Ivana Hrivnacova
|
||||
// All rights reserved.
|
||||
//
|
||||
// For the licensing terms see geant4_vmc/LICENSE.
|
||||
// Contact: vmc@pcroot.cern.ch
|
||||
//-------------------------------------------------
|
||||
|
||||
/// \file muCastorInfo.h
|
||||
/// \brief Definition of the muCastorInfo class
|
||||
///
|
||||
/// \authors G. Bonomi, A. Donzella - INFN
|
||||
|
||||
#include <TObject.h>
|
||||
#include <TVector3.h>
|
||||
|
||||
class muCastorInfo : public TObject
|
||||
{
|
||||
public:
|
||||
muCastorInfo();
|
||||
virtual ~muCastorInfo();
|
||||
|
||||
// methods
|
||||
virtual void Print(const Option_t* option = "") const;
|
||||
|
||||
void SetMuGen (Int_t muGen) { fMuGen = muGen; };
|
||||
void SetMuTrk (Int_t muTrk) { fMuTrk = muTrk; };
|
||||
|
||||
Int_t GetMuGen() { return fMuGen; };
|
||||
|
||||
private:
|
||||
Int_t fMuGen; // Generated muons
|
||||
Int_t fMuTrk; // Tracked muons
|
||||
|
||||
ClassDef(muCastorInfo,1) //muCastorInfo
|
||||
};
|
||||
|
||||
#endif //muCastor_RUN_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user