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
PROTOTYPE3_FEM.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PROTOTYPE3_FEM.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PROTOTYPE3_PROTOTYPE3FEM_H
4
#define PROTOTYPE3_PROTOTYPE3FEM_H
5
6
#include <string>
7
#include <vector>
8
9
namespace
PROTOTYPE3_FEM
10
{
12
const
int
PACKET_ID
= 21101;
13
15
const
int
NSAMPLES
= 24;
16
18
const
int
NCH_IHCAL_ROWS
= 4;
19
const
int
NCH_IHCAL_COLUMNS
= 4;
20
22
const
int
NCH_OHCAL_ROWS
= 4;
23
const
int
NCH_OHCAL_COLUMNS
= 4;
24
26
const
int
NCH_EMCAL_ROWS
= 8;
27
const
int
NCH_EMCAL_COLUMNS
= 8;
28
30
const
int
SATURATED_ADC_ERROR
= 100;
31
33
const
int
DEAD_CHANNEL_ERROR
= 300;
34
36
int
GetHBDCh
(
const
std::string
&caloname,
int
i_column,
int
i_row);
37
39
bool
SampleFit_PowerLawExp
(
//
40
const
std::vector<double> &samples,
//
41
double
&peak,
//
42
double
&peak_sample,
//
43
double
&pedstal,
//
44
const
int
verbosity
= 0);
45
46
// Abhisek's power-law + exp signal shape model
47
double
SignalShape_PowerLawExp
(
double
*
x
,
double
*par);
48
53
const
int
PACKET_EMCAL_HIGHETA_FLAG
= 905;
54
55
}
// namespace PROTOTYPE3_FEM
56
57
#endif
prototype
blob
master
offline
packages
Prototype3
PROTOTYPE3_FEM.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:29
using
1.8.2 with
sPHENIX GitHub integration