BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcCalibModLowHigh.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// Environment:
3
// This software was developed for the BESIII collaboration. If you
4
// use all or part of it, please give an appropriate acknowledgement.
5
//
6
// Copyright Information:
7
// Copyright (C) 2005 IHEP
8
//
9
//------------------------------------------------------------------------
10
11
#ifndef EMCCALIBMODLOWHIGH_H
12
#define EMCCALIBMODLOWHIGH_H
13
14
//-------------
15
// C Headers --
16
//-------------
17
#include <ctime>
18
19
#include <cstring>
20
21
#include "GaudiKernel/Algorithm.h"
22
23
24
#include "EmcCalibConstSvc/IEmcCalibConstSvc.h"
25
#include "GaudiKernel/Bootstrap.h"
26
#include "GaudiKernel/ISvcLocator.h"
27
28
// Ntuple
29
#include "GaudiKernel/NTuple.h"
30
31
using namespace
std
;
32
33
class
EmcCalibModLowHigh
:
public
Algorithm {
34
35
public
:
36
EmcCalibModLowHigh
(
const
std::string& name, ISvcLocator* pSvcLocator );
37
38
//--------------
39
// Destructor
40
//--------------
41
virtual
~EmcCalibModLowHigh
();
42
43
StatusCode
initialize
();
44
StatusCode
execute
();
45
StatusCode
finalize
();
46
47
private
:
48
// read in calibration constants from file or initialize them to 1
49
void
initCalibConst();
50
51
void
SetModLowHighChannel();
52
53
private
:
54
// cut on minimum number of direct hits needed per xtal
55
int
m_deadIxtal;
56
int
m_hotIxtal;
57
58
// file name extensions for different output files
59
std::string m_fileExt;
60
61
// file directory
62
std::string m_fileDir;
63
std::string m_inputFileDir;
64
// the old absolute constants the new once are relative to
65
double
* m_oldConstants;
66
int
* m_IxtalNumber;
67
IEmcCalibConstSvc
* m_emcCalibConstSvc;
68
};
69
70
#endif
// EMCCALIBModLowHigh_H
EmcCalibModLowHigh::finalize
StatusCode finalize()
Definition
EmcCalibModLowHigh.cxx:130
EmcCalibModLowHigh::EmcCalibModLowHigh
EmcCalibModLowHigh(const std::string &name, ISvcLocator *pSvcLocator)
Definition
EmcCalibModLowHigh.cxx:58
EmcCalibModLowHigh::~EmcCalibModLowHigh
virtual ~EmcCalibModLowHigh()
Definition
EmcCalibModLowHigh.cxx:80
EmcCalibModLowHigh::execute
StatusCode execute()
Definition
EmcCalibModLowHigh.cxx:121
EmcCalibModLowHigh::initialize
StatusCode initialize()
Definition
EmcCalibModLowHigh.cxx:95
IEmcCalibConstSvc
Definition
Emc/EmcCalibConstSvc/include/EmcCalibConstSvc/IEmcCalibConstSvc.h:12
std
Definition
x86_64-el9-gcc13-dbg/Event/RootEventData/RootEventDataDict.cxx:101
8.0.0
BOSS_Source
Emc
EmcCalib
EmcBhaCalib
src
EmcCalibModLowHigh.h
Generated by
1.16.1