Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TpcPrototypeDefs.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TpcPrototypeDefs.h
1
#ifndef TPC_TPCDAQDEFS_H
2
#define TPC_TPCDAQDEFS_H
3
4
#include "
ChanMap.h
"
5
6
#include <map>
7
#include <string>
8
#include <vector>
9
10
class
TCanvas;
11
class
TPaveText;
12
13
namespace
TpcPrototypeDefs
14
{
16
namespace
FEEv2
17
{
18
static
const
unsigned
int
kPACKET_ID
= 3000;
19
20
static
const
unsigned
int
kPACKET_LENGTH
= 137;
21
static
const
unsigned
int
kN_CHANNELS
= 256;
22
static
const
unsigned
int
kSAMPLE_LENGTH
= 128;
23
24
static
const
unsigned
int
kN_FEES
= 8;
25
static
const
unsigned
int
kMaxPadY
=16*8;
26
static
const
unsigned
int
kMaxPadX
=16;
27
29
static
TPCR2Map
TpcR2Map
;
30
31
class
SampleFit_PowerLawDoubleExp_PDFMaker
32
{
33
public
:
34
SampleFit_PowerLawDoubleExp_PDFMaker
();
35
~SampleFit_PowerLawDoubleExp_PDFMaker
();
36
void
MakeSectionPage
(
const
std::string
&
title
);
37
38
private
:
39
TCanvas *
m_canvas
;
40
TPaveText *
m_pavedtext
;
41
};
42
44
bool
SampleFit_PowerLawDoubleExp
(
//
45
const
std::vector<double> &samples,
//
46
double
&peak,
47
double
&peak_sample,
48
double
&
pedestal
,
49
std::map<int, double> ¶meters_io,
50
const
int
verbosity
= 0);
51
52
// Abhisek's power-law + exp signal shape model
53
double
54
SignalShape_PowerLawExp
(
double
*
x
,
double
*par);
55
double
56
SignalShape_PowerLawDoubleExp
(
double
*
x
,
double
*par);
57
58
}
// namespace FEEv2
59
60
}
// namespace TpcPrototypeDefs
61
62
#endif //TPC_TPCDAQDEFS_H
prototype
blob
master
offline
packages
tpc2019
TpcPrototypeDefs.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:29
using
1.8.2 with
sPHENIX GitHub integration