CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros | Typedefs
CSCDQM_Detector.h File Reference
#include <math.h>
#include <float.h>
#include <map>
#include <vector>
#include <iostream>
#include <sstream>
#include <iomanip>
#include "DQM/CSCMonitorModule/interface/CSCDQM_Utility.h"

Go to the source code of this file.

Classes

struct  cscdqm::Address
 Structure to store detector addresses of any granularity: from whole detector to the single HV element. More...
 
struct  cscdqm::AddressBox
 Area covered by Address in eta/phy space. More...
 
struct  cscdqm::AddressMask
 Mask of the address which is used to switch on and off appropriate Address fields. More...
 
class  cscdqm::Detector
 Detector geometry and addressing related imformation and routines. More...
 

Namespaces

 cscdqm
 

Macros

#define ADDR_SIZE   7
 
#define N_CFEBS   5
 
#define N_CHAMBERS   36
 
#define N_ELEMENTS   9540
 
#define N_HVS   5
 
#define N_LAYERS   6
 
#define N_RINGS   3
 
#define N_SIDES   2
 
#define N_STATIONS   4
 
#define PARTITION_INDEX(x, y)   (x * partitions_y + y)
 
#define PARTITION_STEP_X   (5.0 / partitions_x)
 
#define PARTITION_STEP_Y   ((2.0 * 3.14159) / partitions_y)
 

Typedefs

typedef std::map< const
unsigned int, std::vector
< unsigned int > > 
cscdqm::PartitionMap
 
typedef PartitionMap::iterator cscdqm::PartitionMapIterator
 

Macro Definition Documentation

#define ADDR_SIZE   7

Size of the address (number of components)

Definition at line 51 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::AddressFromString().

#define N_CFEBS   5

Definition at line 47 of file CSCDQM_Detector.h.

Referenced by cscdqm::Summary::Reset(), and cscdqm::Summary::SetValue().

#define N_CHAMBERS   36

Definition at line 45 of file CSCDQM_Detector.h.

Referenced by cscdqm::Summary::Reset(), and cscdqm::Summary::SetValue().

#define N_ELEMENTS   9540

Number of addressing elements in detector

Definition at line 54 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::Area(), cscdqm::Detector::NextAddress(), and cscdqm::Detector::NextAddressBox().

#define N_HVS   5

Definition at line 48 of file CSCDQM_Detector.h.

Referenced by cscdqm::Summary::Reset(), and cscdqm::Summary::SetValue().

#define N_LAYERS   6
#define N_RINGS   3

Definition at line 44 of file CSCDQM_Detector.h.

Referenced by cscdqm::Summary::Reset(), and cscdqm::Summary::SetValue().

#define N_SIDES   2
#define N_STATIONS   4
#define PARTITION_INDEX (   x,
  y 
)    (x * partitions_y + y)

Partition function shortcuts

Definition at line 61 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::Detector(), and cscdqm::Detector::NextAddressBoxByPartition().

#define PARTITION_STEP_X   (5.0 / partitions_x)

Definition at line 62 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::Detector().

#define PARTITION_STEP_Y   ((2.0 * 3.14159) / partitions_y)

Definition at line 63 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::Detector().