BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcCalibTagDeadOrHot.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 EMCCALIBTAGDEADORHOT_H
12
#define EMCCALIBTAGDEADORHOT_H
13
14
//-------------
15
// C Headers --
16
//-------------
17
#include <ctime>
18
19
#include <cstring>
20
21
#include "GaudiKernel/Algorithm.h"
22
23
#include "EmcCalibConstSvc/IEmcCalibConstSvc.h"
24
#include "GaudiKernel/Bootstrap.h"
25
#include "GaudiKernel/ISvcLocator.h"
26
27
// Ntuple
28
#include "GaudiKernel/NTuple.h"
29
30
using namespace
std
;
31
32
class
EmcCalibTagDeadOrHot
:
public
Algorithm {
33
34
public
:
35
EmcCalibTagDeadOrHot
(
const
std::string& name, ISvcLocator* pSvcLocator );
36
37
//--------------
38
// Destructor
39
//--------------
40
virtual
~EmcCalibTagDeadOrHot
();
41
42
StatusCode
initialize
();
43
StatusCode
execute
();
44
StatusCode
finalize
();
45
46
private
:
47
// read in calibration constants from file or initialize them to 1
48
void
initCalibConst();
49
50
void
SetDeadOrHotChannel();
51
52
private
:
53
// cut on minimum number of direct hits needed per xtal
54
int
m_deadIxtal;
55
int
m_hotIxtal;
56
57
// file name extensions for different output files
58
std::string m_fileExt;
59
60
// file directory
61
std::string m_fileDir;
62
63
// the old absolute constants the new once are relative to
64
double
* m_oldConstants;
65
int
* m_IxtalNumber;
66
IEmcCalibConstSvc
* m_emcCalibConstSvc;
67
};
68
69
#endif
// EMCCALIBTAGDEADORHOT_H
EmcCalibTagDeadOrHot::~EmcCalibTagDeadOrHot
virtual ~EmcCalibTagDeadOrHot()
Definition
EmcCalibTagDeadOrHot.cxx:76
EmcCalibTagDeadOrHot::initialize
StatusCode initialize()
Definition
EmcCalibTagDeadOrHot.cxx:91
EmcCalibTagDeadOrHot::execute
StatusCode execute()
Definition
EmcCalibTagDeadOrHot.cxx:117
EmcCalibTagDeadOrHot::EmcCalibTagDeadOrHot
EmcCalibTagDeadOrHot(const std::string &name, ISvcLocator *pSvcLocator)
Definition
EmcCalibTagDeadOrHot.cxx:56
EmcCalibTagDeadOrHot::finalize
StatusCode finalize()
Definition
EmcCalibTagDeadOrHot.cxx:126
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
EmcCalibTagDeadOrHot.h
Generated by
1.16.1