Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8310023
Nucleon.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
Nucleon.h
View Options
//==============================================================================
// Nucleon.h
//
// Copyright (C) 2010-2019 Tobias Toll and Thomas Ullrich
//
// This file is part of Sartre.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation.
// This program is distributed in the hope that it will be useful,
// but without any warranty; without even the implied warranty of
// merchantability or fitness for a particular purpose. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// Author: Thomas Ullrich
// Last update:
// $Date: 2019-03-08 19:12:33 +0000 (Fri, 08 Mar 2019) $
// $Author: ullrich $
//==============================================================================
#ifndef Nucleon_h
#define Nucleon_h
#include
<string>
#include
"TVector3.h"
using
namespace
std
;
class
Nucleon
{
public
:
Nucleon
();
Nucleon
(
const
TVector3
&
,
unsigned
int
);
Nucleon
(
const
TVector3
&
);
const
TVector3
&
position
()
const
;
unsigned
int
charge
()
const
;
void
setPosition
(
const
TVector3
&
);
void
setCharge
(
unsigned
int
);
private
:
TVector3
mPosition
;
unsigned
int
mCharge
;
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Dec 21, 5:10 PM (11 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4014145
Default Alt Text
Nucleon.h (1 KB)
Attached To
rSARTRESVN sartresvn
Event Timeline
Log In to Comment