CMS 3D CMS Logo

Classes | Namespaces | Macros | Typedefs
CSCDQM_Detector.h File Reference
#include <cmath>
#include <cfloat>
#include <map>
#include <vector>
#include <iostream>
#include <sstream>
#include <iomanip>
#include "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

◆ ADDR_SIZE

#define ADDR_SIZE   7

Size of the address (number of components)

Definition at line 51 of file CSCDQM_Detector.h.

◆ N_CFEBS

#define N_CFEBS   5

Definition at line 47 of file CSCDQM_Detector.h.

◆ N_CHAMBERS

#define N_CHAMBERS   36

Definition at line 45 of file CSCDQM_Detector.h.

◆ N_ELEMENTS

#define N_ELEMENTS   9540

Number of addressing elements in detector

Definition at line 54 of file CSCDQM_Detector.h.

◆ N_HVS

#define N_HVS   5

Definition at line 48 of file CSCDQM_Detector.h.

◆ N_LAYERS

#define N_LAYERS   6

Definition at line 46 of file CSCDQM_Detector.h.

◆ N_RINGS

#define N_RINGS   3

Definition at line 44 of file CSCDQM_Detector.h.

◆ N_SIDES

#define N_SIDES   2

Number of Detector Components.

Definition at line 42 of file CSCDQM_Detector.h.

◆ N_STATIONS

#define N_STATIONS   4

Definition at line 43 of file CSCDQM_Detector.h.

◆ PARTITION_INDEX

#define PARTITION_INDEX (   x,
 
)    (x * partitions_y + y)

Partition function shortcuts

Definition at line 61 of file CSCDQM_Detector.h.

◆ PARTITION_STEP_X

#define PARTITION_STEP_X   (5.0 / partitions_x)

Definition at line 62 of file CSCDQM_Detector.h.

◆ PARTITION_STEP_Y

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

Definition at line 63 of file CSCDQM_Detector.h.