ATLAS Offline Software
BinsDiffFromStripMedian.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /* BinsDiffFromStripMedian.h
6 // Author: FENG TIAN (columbia university)
7  Email: Feng.Tian@cern.ch
8 */
9 
10 #ifndef BinsDiffFromStripMedian_H
11 #define BinsDiffFromStripMedian_H
12 
13 #include <dqm_core/Algorithm.h>
14 #include <vector>
15 #include <iosfwd>
16 #include <string>
17 
19 class bin;
20 class colorbin;
21 class colorcluster;
22 
23 namespace dqm_algorithms
24 {
25  struct BinsDiffFromStripMedian : public dqm_core::Algorithm
26  {
28 
30 
31  //overwrites virtual functions
33  dqm_core::Result * execute( const std::string & , const TObject & , const dqm_core::AlgorithmConfig & );
34  void FindStripMedian(std::vector<double> onestrip,std::vector<double>& stripsMedian);
35  // void MakeTag(colorbin,std::string&);
36  colorcluster MakeCluster(const int r0,const int r2,bin & onebin, std::vector<std::vector<
37 colorbin> > & ColorBinMap);
38  using dqm_core::Algorithm::printDescription;
39  void printDescription(std::ostream& out);
40  };
41 }
42 
43 class bin{
44  public:
45  double m_eta{};
46  double m_phi{};
47  int m_ix{};
48  int m_iy{};
49  double m_value{};
51 } ;
52 
53 class colorbin{
54  public:
55  double m_eta{};
56  double m_phi{};
57  int m_ix{};
58  int m_iy;
59  double m_value{};
61  bool m_status{}; // true: not in cluster ; false: in cluster
62 };
64  public:
65  double m_eta{};
66  double m_phi{};
67  double m_radius{};
68  double m_value{};
69  double m_color{};
70  int m_size{};
71 };
72 
73 
74 #endif // BinsDiffFromStripMedian_H
colorbin
Definition: BinsDiffFromStripMedian.h:53
colorcluster::m_phi
double m_phi
Definition: BinsDiffFromStripMedian.h:66
dqm_algorithms::BinsDiffFromStripMedian::BinsDiffFromStripMedian
BinsDiffFromStripMedian()
Definition: BinsDiffFromStripMedian.cxx:27
colorbin::m_iy
int m_iy
Definition: BinsDiffFromStripMedian.h:58
color
Definition: jFexInputByteStreamTool.cxx:25
dqm_algorithms::BinsDiffFromStripMedian::printDescription
void printDescription(std::ostream &out)
Definition: BinsDiffFromStripMedian.cxx:411
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
bin
Definition: BinsDiffFromStripMedian.h:43
bin::m_iy
int m_iy
Definition: BinsDiffFromStripMedian.h:48
colorcluster::m_radius
double m_radius
Definition: BinsDiffFromStripMedian.h:67
bin::m_ix
int m_ix
Definition: BinsDiffFromStripMedian.h:47
colorcluster::m_eta
double m_eta
Definition: BinsDiffFromStripMedian.h:65
yellow
@ yellow
Definition: BinsDiffFromStripMedian.h:18
Result
ICscStripFitter::Result Result
Definition: CalibCscStripFitter.cxx:13
colorcluster::m_value
double m_value
Definition: BinsDiffFromStripMedian.h:68
dqm_algorithms::BinsDiffFromStripMedian::~BinsDiffFromStripMedian
~BinsDiffFromStripMedian()
Definition: BinsDiffFromStripMedian.cxx:32
colorbin::m_eta
double m_eta
Definition: BinsDiffFromStripMedian.h:55
bin::m_phi
double m_phi
Definition: BinsDiffFromStripMedian.h:46
bin::m_outstandingRatio
double m_outstandingRatio
Definition: BinsDiffFromStripMedian.h:50
colorcluster::m_size
int m_size
Definition: BinsDiffFromStripMedian.h:70
colorbin::m_phi
double m_phi
Definition: BinsDiffFromStripMedian.h:56
green
@ green
Definition: BinsDiffFromStripMedian.h:18
colorbin::m_value
double m_value
Definition: BinsDiffFromStripMedian.h:59
dqm_algorithms::BinsDiffFromStripMedian::execute
dqm_core::Result * execute(const std::string &, const TObject &, const dqm_core::AlgorithmConfig &)
Definition: BinsDiffFromStripMedian.cxx:45
dqm_algorithms
Definition: AddReference.h:17
colorcluster
Definition: BinsDiffFromStripMedian.h:63
bin::m_value
double m_value
Definition: BinsDiffFromStripMedian.h:49
dqm_algorithms::BinsDiffFromStripMedian
Definition: BinsDiffFromStripMedian.h:26
colorbin::m_color
color m_color
Definition: BinsDiffFromStripMedian.h:60
dqm_algorithms::BinsDiffFromStripMedian::clone
BinsDiffFromStripMedian * clone()
Definition: BinsDiffFromStripMedian.cxx:37
bin::m_eta
double m_eta
Definition: BinsDiffFromStripMedian.h:45
dqm_algorithms::BinsDiffFromStripMedian::MakeCluster
colorcluster MakeCluster(const int r0, const int r2, bin &onebin, std::vector< std::vector< colorbin > > &ColorBinMap)
Definition: BinsDiffFromStripMedian.cxx:386
dqm_algorithms::BinsDiffFromStripMedian::FindStripMedian
void FindStripMedian(std::vector< double > onestrip, std::vector< double > &stripsMedian)
Definition: BinsDiffFromStripMedian.cxx:280
colorbin::m_ix
int m_ix
Definition: BinsDiffFromStripMedian.h:57
red
@ red
Definition: BinsDiffFromStripMedian.h:18
colorbin::m_status
bool m_status
Definition: BinsDiffFromStripMedian.h:61
colorcluster::m_color
double m_color
Definition: BinsDiffFromStripMedian.h:69