Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8308952
PhotonFlux.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
PhotonFlux.h
View Options
//==============================================================================
// PhotonFlux.h
//
// Copyright (C) 2010-2013 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: 2018-06-29 20:11:00 +0100 (Fri, 29 Jun 2018) $
// $Author: ullrich $
//==============================================================================
//
// Functor class.
// Photon flux is given in: d2sig/(dQ2 dW2)
//==============================================================================
#ifndef PhotonFlux_h
#define PhotonFlux_h
#include
"Enumerations.h"
#include
"EventGeneratorSettings.h"
#include
"TH1D.h"
class
Nucleus
;
class
PhotonFlux
{
public
:
PhotonFlux
();
PhotonFlux
(
double
s
);
void
setS
(
double
);
double
operator
()(
double
Q2
,
double
W2
,
GammaPolarization
p
)
const
;
//UPC:
double
operator
()(
double
Egamma
)
const
;
double
nuclearPhotonFlux
(
double
Egamma
)
const
;
private
:
double
fluxTransverse
(
double
Q2
,
double
W2
)
const
;
double
fluxLongitudinal
(
double
Q2
,
double
W2
)
const
;
double
mS
;
bool
mSIsSet
;
//UPC:
double
uiNuclearPhotonFlux
(
double
*
,
double
*
)
const
;
double
sigma_nn
(
double
)
const
;
double
TAA
(
double
);
double
TAAForIntegration
(
const
double
*
)
const
;
void
calculateTAAlookupTable
();
bool
mIsUPC
;
double
mEBeamEnergy
;
TH1D
*
mTAA_of_b
;
double
mB
;
Nucleus
*
mNucleus
;
Nucleus
*
mNucleusUPC
;
EventGeneratorSettings
*
mSettings
;
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Dec 21, 1:42 PM (15 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4014498
Default Alt Text
PhotonFlux.h (2 KB)
Attached To
rSARTRESVN sartresvn
Event Timeline
Log In to Comment