NCFS-Pack
A generic (astro)particle physics analysis framework
 
Loading...
Searching...
No Matches
NcCalmodule.h
Go to the documentation of this file.
1#ifndef NcCalmodule_h
2#define NcCalmodule_h
3// Copyright(c) 1997 NCFS/IIHE, All Rights Reserved.
4// See cxx source for full Copyright notice.
5
6#include "NcSignal.h"
7
9
10class NcCalmodule : public NcSignal
11{
12 public:
13 NcCalmodule(); // Default constructor
14 virtual ~NcCalmodule(); // Default destructor
15 NcCalmodule(const NcCalmodule& m); // Copy constructor
16 NcCalmodule(Int_t row,Int_t col,Double_t sig); // Create a module and initialise data
17 virtual TObject* Clone(const char* name="") const; // Make a deep copy and provide its pointer
19 virtual void SetSignal(Double_t sig,Int_t j=1); // Set or change data for certain module
21 virtual void AddSignal(Double_t sig,Int_t j=1); // Add signal to a certain module
22 void SetRow(Int_t i); // Set the row number of the module
23 void SetColumn(Int_t i); // Set the column number of the module
24 Int_t GetRow() const; // Return the row number of the module
25 Int_t GetColumn() const; // Return the column number of the module
26 void SetClusteredSignal(Double_t val); // Set the signal of the module after clustering
27 Float_t GetClusteredSignal() const; // Return module signal after clustering
28
29 protected:
30 Int_t fRow; // The current row number
31 Int_t fCol; // The current column number
32 Float_t fSigc; // The signal after clustering
33
34 ClassDef(NcCalmodule,1) // Description of a module in a calorimeter system.
35};
36#endif
Float_t GetClusteredSignal() const
Int_t GetRow() const
void SetColumn(Int_t i)
Float_t fSigc
Definition NcCalmodule.h:32
Int_t GetColumn() const
virtual ~NcCalmodule()
virtual void AddSignal(Double_t sig, Int_t j=1)
void SetRow(Int_t i)
virtual void SetSignal(Double_t sig, Int_t j=1)
virtual TObject * Clone(const char *name="") const
void SetClusteredSignal(Double_t val)
virtual void SetSignal(Double_t sig, Int_t j=1)
Definition NcSignal.cxx:516
NcSignal(const char *name="", const char *title="")
Definition NcSignal.cxx:155
virtual void AddSignal(Double_t sig, Int_t j=1)
Definition NcSignal.cxx:583