Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DFDCPseudo_factory.cc File Reference
#include "DFDCPseudo_factory.h"
#include "HDGEOMETRY/DGeometry.h"
#include "DFDCGeometry.h"
#include <TRACKING/DTrackHitSelectorTHROWN.h>
#include <TROOT.h>
#include <FDC/DFDCCathodeDigiHit.h>

Go to the source code of this file.

Macros

#define HALF_CELL   0.5
 
#define MAX_DEFLECTION   0.15
 
#define X0   0
 
#define QA   1
 
#define K2   2
 
#define ITER_MAX   100
 
#define TOLX   1e-4
 
#define TOLF   1e-4
 
#define A_OVER_H   0.4
 
#define ONE_OVER_H   2.0
 
#define ALPHA   1e-4
 
#define W_EFF   30.2e-9
 
#define GAS_GAIN   8e4
 
#define ELECTRON_CHARGE   1.6022e-4
 

Functions

bool DFDCAnode_gLayer_cmp (const DFDCHit *a, const DFDCHit *b)
 DFDCAnode_gLayer_cmp(): non-member function passed to std::sort() to sort DFDCHit pointers for the anode wires by their gLayer attributes. More...
 
static bool fdcxhit_cmp (const DFDCHit *a, const DFDCHit *b)
 
bool DFDCPseudo_cmp (const DFDCPseudo *a, const DFDCPseudo *b)
 

Macro Definition Documentation

#define ALPHA   1e-4
#define ELECTRON_CHARGE   1.6022e-4

Definition at line 29 of file DFDCPseudo_factory.cc.

Referenced by DFDCPseudo_factory::makePseudo().

#define GAS_GAIN   8e4

Definition at line 28 of file DFDCPseudo_factory.cc.

Referenced by DFDCPseudo_factory::makePseudo().

#define HALF_CELL   0.5

Definition at line 16 of file DFDCPseudo_factory.cc.

Referenced by DFDCPseudo_factory::makePseudo().

#define MAX_DEFLECTION   0.15

Definition at line 17 of file DFDCPseudo_factory.cc.

Referenced by DFDCPseudo_factory::makePseudo().

#define TOLF   1e-4
#define TOLX   1e-4
#define W_EFF   30.2e-9

Definition at line 27 of file DFDCPseudo_factory.cc.

Referenced by DFDCPseudo_factory::makePseudo().

Function Documentation

bool DFDCAnode_gLayer_cmp ( const DFDCHit a,
const DFDCHit b 
)

DFDCAnode_gLayer_cmp(): non-member function passed to std::sort() to sort DFDCHit pointers for the anode wires by their gLayer attributes.

Definition at line 37 of file DFDCPseudo_factory.cc.

References DFDCHit::gLayer.

Referenced by DFDCPseudo_factory::evnt().

bool DFDCPseudo_cmp ( const DFDCPseudo a,
const DFDCPseudo b 
)
static bool fdcxhit_cmp ( const DFDCHit a,
const DFDCHit b 
)
static

Definition at line 41 of file DFDCPseudo_factory.cc.

References DFDCHit::element, and DFDCHit::t.

Referenced by DFDCPseudo_factory::makePseudo().