CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

CSCL1TPParametersConditions Class Reference

#include <CSCL1TPParametersConditions.h>

Inheritance diagram for CSCL1TPParametersConditions:
edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Types

typedef const CSCL1TPParametersReturnType

Public Member Functions

 CSCL1TPParametersConditions (const edm::ParameterSet &)
ReturnType produceCSCL1TPParameters (const CSCL1TPParametersRcd &)
 ~CSCL1TPParametersConditions ()

Static Public Member Functions

static CSCL1TPParametersprefillCSCL1TPParameters ()

Private Member Functions

void setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)

Private Attributes

CSCL1TPParametersCSCl1TPParameters

Detailed Description

Definition at line 20 of file CSCL1TPParametersConditions.h.


Member Typedef Documentation

Definition at line 28 of file CSCL1TPParametersConditions.h.


Constructor & Destructor Documentation

CSCL1TPParametersConditions::CSCL1TPParametersConditions ( const edm::ParameterSet iConfig)

Definition at line 10 of file CSCL1TPParameters.cc.

References CSCl1TPParameters, prefillCSCL1TPParameters(), produceCSCL1TPParameters(), and edm::ESProducer::setWhatProduced().

{
  //the following line is needed to tell the framework what
  // data is being produced
   CSCl1TPParameters = prefillCSCL1TPParameters();
  // added by Zhen (changed since 1_2_0)
  setWhatProduced(this,&CSCL1TPParametersConditions::produceCSCL1TPParameters);
  findingRecord<CSCL1TPParametersRcd>();
  //now do what ever other initialization is needed
}
CSCL1TPParametersConditions::~CSCL1TPParametersConditions ( )

Definition at line 22 of file CSCL1TPParameters.cc.

References CSCl1TPParameters.

{
 
   // do anything here that needs to be done at desctruction time
   // (e.g. close files, deallocate resources etc.)
  delete CSCl1TPParameters;
}

Member Function Documentation

CSCL1TPParameters * CSCL1TPParametersConditions::prefillCSCL1TPParameters ( ) [inline, static]

Definition at line 44 of file CSCL1TPParametersConditions.h.

References CSCL1TPParameters::setAlctAccelMode(), CSCL1TPParameters::setAlctDriftDelay(), CSCL1TPParameters::setAlctFifoPretrig(), CSCL1TPParameters::setAlctFifoTbins(), CSCL1TPParameters::setAlctL1aWindowWidth(), CSCL1TPParameters::setAlctNplanesHitAccelPattern(), CSCL1TPParameters::setAlctNplanesHitAccelPretrig(), CSCL1TPParameters::setAlctNplanesHitPattern(), CSCL1TPParameters::setAlctNplanesHitPretrig(), CSCL1TPParameters::setAlctTrigMode(), CSCL1TPParameters::setClctDriftDelay(), CSCL1TPParameters::setClctFifoPretrig(), CSCL1TPParameters::setClctFifoTbins(), CSCL1TPParameters::setClctHitPersist(), CSCL1TPParameters::setClctMinSeparation(), CSCL1TPParameters::setClctNplanesHitPattern(), CSCL1TPParameters::setClctNplanesHitPretrig(), and CSCL1TPParameters::setClctPidThreshPretrig().

Referenced by CSCL1TPParametersConditions().

{

  CSCL1TPParameters * cnl1tp = new CSCL1TPParameters();
    
  cnl1tp->setAlctFifoTbins(16);
  cnl1tp->setAlctFifoPretrig(10);
  cnl1tp->setAlctDriftDelay(2);
  cnl1tp->setAlctNplanesHitPretrig(3);//was 2, new is 3
  cnl1tp->setAlctNplanesHitPattern(4);
  cnl1tp->setAlctNplanesHitAccelPretrig(3);//was 2, new is 3
  cnl1tp->setAlctNplanesHitAccelPattern(4);
  cnl1tp->setAlctTrigMode(2);
  cnl1tp->setAlctAccelMode(0);
  cnl1tp->setAlctL1aWindowWidth(7);

  cnl1tp->setClctFifoTbins(12);
  cnl1tp->setClctFifoPretrig(7);
  cnl1tp->setClctHitPersist(4);//was 6, new is 4
  cnl1tp->setClctDriftDelay(2);
  cnl1tp->setClctNplanesHitPretrig(3);//was 2, new is 3
  cnl1tp->setClctNplanesHitPattern(4);
  cnl1tp->setClctPidThreshPretrig(2);
  cnl1tp->setClctMinSeparation(10);

 return cnl1tp;
}
CSCL1TPParametersConditions::ReturnType CSCL1TPParametersConditions::produceCSCL1TPParameters ( const CSCL1TPParametersRcd iRecord)

Definition at line 37 of file CSCL1TPParameters.cc.

References CSCl1TPParameters.

Referenced by CSCL1TPParametersConditions().

{
  //need a new object so to not be deleted at exit
  CSCL1TPParameters* mydata=new CSCL1TPParameters( *CSCl1TPParameters);
  return mydata;
  
}
void CSCL1TPParametersConditions::setIntervalFor ( const edm::eventsetup::EventSetupRecordKey ,
const edm::IOVSyncValue ,
edm::ValidityInterval oValidity 
) [private, virtual]

Member Data Documentation