CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Private Attributes
CSCMake2DRecHit Class Reference

#include <CSCMake2DRecHit.h>

Public Member Functions

 CSCMake2DRecHit (const edm::ParameterSet &)
 
float findWireBx (const std::vector< int > &timeBinsOn, float tpeak, const CSCDetId &id)
 
CSCRecHit2D hitFromStripAndWire (const CSCDetId &id, const CSCLayer *layer, const CSCWireHit &wHit, const CSCStripHit &sHit)
 Make 2D hits when have both wire and strip hit available in same layer. More...
 
bool isHitInFiducial (const CSCLayer *layer, const CSCRecHit2D &rh)
 Test if rechit is in fiducial volume. More...
 
void setConditions (const CSCRecoConditions *reco)
 Pass pointer to conditions data onwards. More...
 
 ~CSCMake2DRecHit ()
 

Public Attributes

CSCDetId id_
 
const CSCLayerlayer_
 
const CSCLayerGeometrylayergeom_
 
const CSCChamberSpecsspecs_
 

Private Attributes

float maxGattiChi2
 
const std::auto_ptr
< CSCFindPeakTime
peakTimeFinder_
 
const CSCRecoConditionsrecoConditions_
 
int stripWireDeltaTime
 
bool useCalib
 
bool useGasGainCorrections
 
bool useGatti
 
bool useTimingCorrections
 
CSCXonStrip_MatchGattixMatchGatti_
 

Detailed Description

The overlap between strip hits and wire hits is used to determined 2D RecHit. For layers where only strip or wire hits are present, pseudo 2D hits are formed.

Author
: Dominique Fortin - UCR

Definition at line 30 of file CSCMake2DRecHit.h.

Constructor & Destructor Documentation

CSCMake2DRecHit::CSCMake2DRecHit ( const edm::ParameterSet ps)
explicit

Definition at line 25 of file CSCMake2DRecHit.cc.

CSCMake2DRecHit::~CSCMake2DRecHit ( )

Definition at line 38 of file CSCMake2DRecHit.cc.

Member Function Documentation

float CSCMake2DRecHit::findWireBx ( const std::vector< int > &  timeBinsOn,
float  tpeak,
const CSCDetId id 
)

Definition at line 301 of file CSCMake2DRecHit.cc.

CSCRecHit2D CSCMake2DRecHit::hitFromStripAndWire ( const CSCDetId id,
const CSCLayer layer,
const CSCWireHit wHit,
const CSCStripHit sHit 
)

Make 2D hits when have both wire and strip hit available in same layer.

Correct the 3x3 ADC sum into the energy deposited in the layer. Note: this correction will give you dE. In order to get the dE/dX, you will need to divide by the path length... If the algorithm to compute the corrected energy fails, flag it by a specific nonsense value: If the user has chosen not to use the gas gain correction —> -998. If the gas gain correction from the database is a bad value -> -997. If it is an edge strip -----------—————————> -996. If gas-gain is OK, but the ADC vector is the wrong size -—> -999. If the user has created the Rechit without the energy deposit> -995.

store rechit

Retrive the L1APhase+strips combination

L1A

Retrive the Bx + wgroups combination

BX

L1A;

BX

To see RecHit content (L1A feature included) (to be commented out)

Definition at line 43 of file CSCMake2DRecHit.cc.

bool CSCMake2DRecHit::isHitInFiducial ( const CSCLayer layer,
const CSCRecHit2D rh 
)

Test if rechit is in fiducial volume.

Definition at line 278 of file CSCMake2DRecHit.cc.

void CSCMake2DRecHit::setConditions ( const CSCRecoConditions reco)

Pass pointer to conditions data onwards.

Definition at line 295 of file CSCMake2DRecHit.cc.

Member Data Documentation

CSCDetId CSCMake2DRecHit::id_

Definition at line 54 of file CSCMake2DRecHit.h.

const CSCLayer* CSCMake2DRecHit::layer_

Definition at line 51 of file CSCMake2DRecHit.h.

const CSCLayerGeometry* CSCMake2DRecHit::layergeom_

Definition at line 52 of file CSCMake2DRecHit.h.

float CSCMake2DRecHit::maxGattiChi2
private

Definition at line 63 of file CSCMake2DRecHit.h.

const std::auto_ptr<CSCFindPeakTime> CSCMake2DRecHit::peakTimeFinder_
private

Definition at line 70 of file CSCMake2DRecHit.h.

const CSCRecoConditions* CSCMake2DRecHit::recoConditions_
private

Definition at line 68 of file CSCMake2DRecHit.h.

const CSCChamberSpecs* CSCMake2DRecHit::specs_

Definition at line 53 of file CSCMake2DRecHit.h.

int CSCMake2DRecHit::stripWireDeltaTime
private

Definition at line 61 of file CSCMake2DRecHit.h.

bool CSCMake2DRecHit::useCalib
private

Definition at line 58 of file CSCMake2DRecHit.h.

bool CSCMake2DRecHit::useGasGainCorrections
private

Definition at line 60 of file CSCMake2DRecHit.h.

bool CSCMake2DRecHit::useGatti
private

Definition at line 62 of file CSCMake2DRecHit.h.

bool CSCMake2DRecHit::useTimingCorrections
private

Definition at line 59 of file CSCMake2DRecHit.h.

CSCXonStrip_MatchGatti* CSCMake2DRecHit::xMatchGatti_
private

Definition at line 65 of file CSCMake2DRecHit.h.