CMS 3D CMS Logo

L1DummyProducer Class Reference

#include <L1Trigger/HardwareValidation/plugins/L1DummyProducer.h>

Inheritance diagram for L1DummyProducer:

edm::EDProducer edm::ProducerBase edm::ProductRegistryHelper

List of all members.

Public Member Functions

 L1DummyProducer (const edm::ParameterSet &)
template<>
void SimpleDigi (std::auto_ptr< L1CSCTrackCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< CSCCorrelatedLCTDigiCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< LTCDigiCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1MuGMTReadoutCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1MuGMTCandCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1MuDTChambThContainer > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1MuDTChambPhContainer > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1MuDTTrackContainer > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1MuRegionalCandCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1GctJetCandCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1GctEmCandCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1CaloRegionCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< L1CaloEmCollection > &data, int type)
template<>
void SimpleDigi (std::auto_ptr< EcalTrigPrimDigiCollection > &data, int type)
template<class T>
void SimpleDigi (std::auto_ptr< T > &data, int type=0)
 ~L1DummyProducer ()

Private Member Functions

virtual void beginJob (const edm::EventSetup &)
virtual void endJob ()
virtual void produce (edm::Event &, const edm::EventSetup &)
int verbose ()

Private Attributes

double EBase_
double ESigm_
std::string instName [dedefs::DEnsys][5]
bool m_doSys [dedefs::DEnsys]
int nevt_
CLHEP::RandFlat * rndFlat_
CLHEP::RandGaussQ * rndGaus_
int verbose_


Detailed Description

Definition at line 40 of file L1DummyProducer.h.


Constructor & Destructor Documentation

L1DummyProducer::L1DummyProducer ( const edm::ParameterSet iConfig  )  [explicit]

assertions/temporary

list of collections to be produced

rnd # settings

Definition at line 5 of file L1DummyProducer.cc.

References GenMuonPlsPt100GeV_cfg::cout, dedefs::CTF, dedefs::CTP, dedefs::DEnsys, dedefs::DTF, dedefs::DTP, EBase_, lat::endl(), ESigm_, dedefs::ETP, flush(), dedefs::GCT, edm::ParameterSet::getUntrackedParameter(), dedefs::GLT, GMT, dedefs::HTP, i, instName, j, dedefs::LTC, m_doSys, nevt_, dedefs::RCT, rndFlat_, rndGaus_, dedefs::RPC, dedefs::SystLabel, verbose(), and verbose_.

00005                                                                {
00006 
00007   verbose_ = iConfig.getUntrackedParameter<int>("VerboseFlag",0);
00008   
00009   if(verbose())
00010     std::cout << "L1DummyProducer::L1DummyProducer...\n" << std::flush;
00011 
00012   std::vector<unsigned int> compColls  
00013     = iConfig.getUntrackedParameter<std::vector<unsigned int> >("DO_SYSTEM");
00014 
00015   for(int i=0; i<DEnsys; i++) 
00016     m_doSys[i] = compColls[i];
00017   
00018   if(verbose()) {
00019     std::cout << "[L1DummyProducer] do sys? ";
00020     for(int i=0; i<DEnsys; i++)
00021       std::cout << m_doSys[i];
00022     std::cout << std::endl;  
00023     for(int i=0; i<DEnsys; i++)
00024       if(m_doSys[i]) 
00025         std::cout << SystLabel[i] << " ";
00026     std::cout << std::endl;  
00027   }
00028 
00029   std::string CollInstName[DEnsys][5];
00030   for(int i=0; i<DEnsys; i++)
00031     for(int j=0; j<5; j++)
00032       CollInstName[i][j]=std::string("");
00033 
00034   CollInstName[GCT][0]+="isoEm"   ;
00035   CollInstName[GCT][1]+="nonIsoEm";
00036   CollInstName[GCT][2]+="cenJets" ;
00037   CollInstName[GCT][3]+="forJets" ;
00038   CollInstName[GCT][4]+="tauJets" ;
00039   CollInstName[DTF][0]+="DT"      ;
00040   CollInstName[DTF][1]+="DTTF"    ;
00041   CollInstName[CTF][0]+="CSC"     ;
00042   CollInstName[CTF][1]+=""        ;
00043   CollInstName[RPC][0]+="RPCb"    ;
00044   CollInstName[RPC][1]+="RPCf"    ;
00045   
00046   for(int i=0; i<DEnsys; i++)
00047     for(int j=0; j<5; j++)
00048       instName[i][j] = CollInstName[i][j];
00049 
00050   if(verbose()) {
00051     std::cout << "[L1DummyProducer] instName:\n";
00052     for(int i=0; i<DEnsys; i++)
00053       for(int j=0; j<5; j++)
00054         if(instName[i][j] != "")
00055           std::cout << i << " " << SystLabel[i] << " " << j << " " 
00056                     << instName[i][j] << std::endl;
00057     std::cout << std::flush;
00058   }
00059 
00061   assert(ETP==0); assert(HTP==1); assert(RCT== 2); assert(GCT== 3);
00062   assert(DTP==4); assert(DTF==5); assert(CTP== 6); assert(CTF== 7);
00063   assert(RPC==8); assert(LTC==9); assert(GMT==10); assert(GLT==11);
00064 
00066   if(m_doSys[ETP])  produces<EcalTrigPrimDigiCollection>     (instName[ETP][0]);
00067   if(m_doSys[HTP])  produces<HcalTrigPrimDigiCollection>     (instName[HTP][0]);
00068   if(m_doSys[RCT])  produces<L1CaloEmCollection>             (instName[RCT][0]);
00069   if(m_doSys[RCT])  produces<L1CaloRegionCollection>         (instName[RCT][0]);
00070   if(m_doSys[GCT])  produces<L1GctEmCandCollection>          (instName[GCT][0]);
00071   if(m_doSys[GCT])  produces<L1GctEmCandCollection>          (instName[GCT][1]);
00072   if(m_doSys[GCT])  produces<L1GctJetCandCollection>         (instName[GCT][2]);
00073   if(m_doSys[GCT])  produces<L1GctJetCandCollection>         (instName[GCT][3]);
00074   if(m_doSys[GCT])  produces<L1GctJetCandCollection>         (instName[GCT][4]);
00075   if(m_doSys[DTP])  produces<L1MuDTChambPhContainer>         (instName[DTP][0]);
00076   if(m_doSys[DTP])  produces<L1MuDTChambThContainer>         (instName[DTP][0]);
00077   if(m_doSys[DTF])  produces<L1MuRegionalCandCollection>     (instName[DTF][0]);
00078   if(m_doSys[DTF])  produces<L1MuDTTrackContainer>           (instName[DTF][1]);
00079   if(m_doSys[CTP])  produces<CSCCorrelatedLCTDigiCollection> (instName[CTP][0]);
00080   if(m_doSys[CTF])  produces<L1MuRegionalCandCollection>     (instName[CTF][0]);
00081   if(m_doSys[CTF])  produces<L1CSCTrackCollection>           (instName[CTF][1]);
00082   if(m_doSys[RPC])  produces<L1MuRegionalCandCollection>     (instName[RPC][0]);
00083   if(m_doSys[RPC])  produces<L1MuRegionalCandCollection>     (instName[RPC][1]);
00084   if(m_doSys[LTC])  produces<LTCDigiCollection>              (instName[LTC][0]);
00085   if(m_doSys[GMT])  produces<L1MuGMTCandCollection>          (instName[GMT][0]);
00086   if(m_doSys[GMT])  produces<L1MuGMTReadoutCollection>       (instName[GMT][0]);
00087   if(m_doSys[GLT])  produces<L1GlobalTriggerReadoutRecord>   (instName[GLT][0]);
00088   if(m_doSys[GLT])  produces<L1GlobalTriggerEvmReadoutRecord>(instName[GLT][0]);
00089   if(m_doSys[GLT])  produces<L1GlobalTriggerObjectMapRecord> (instName[GLT][0]);
00090 
00092   edm::Service<edm::RandomNumberGenerator> rng;
00093   CLHEP::HepRandomEngine& engine = rng->getEngine();
00094   rndFlat_ = new CLHEP::RandFlat  (engine, 0., 1.);
00095   rndGaus_ = new CLHEP::RandGaussQ(engine, 0., 1.);
00096   EBase_ = iConfig.getUntrackedParameter<double>("EnergyBase",100.);
00097   ESigm_ = iConfig.getUntrackedParameter<double>("EnergySigm",10.);
00098 
00099   nevt_=0;
00100   
00101 }

L1DummyProducer::~L1DummyProducer (  ) 

Definition at line 103 of file L1DummyProducer.cc.

References rndFlat_, and rndGaus_.

00103                                   {
00104   delete rndFlat_;
00105   delete rndGaus_;
00106 }


Member Function Documentation

void L1DummyProducer::beginJob ( const edm::EventSetup  )  [private, virtual]

Reimplemented from edm::EDProducer.

Definition at line 109 of file L1DummyProducer.cc.

00109 {}

void L1DummyProducer::endJob ( void   )  [private, virtual]

Reimplemented from edm::EDProducer.

Definition at line 112 of file L1DummyProducer.cc.

00112 {}

void L1DummyProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
) [private, virtual]

define the data collections

fill candidate collections

put collection

Implements edm::EDProducer.

Definition at line 115 of file L1DummyProducer.cc.

References GenMuonPlsPt100GeV_cfg::cout, dedefs::CTF, dedefs::CTP, dedefs::DTF, dedefs::DTP, dedefs::ETP, flush(), dedefs::GCT, dedefs::GLT, GMT, dedefs::HTP, instName, dedefs::LTC, m_doSys, nevt_, edm::Event::put(), dedefs::RCT, dedefs::RPC, SimpleDigi(), and verbose().

00115                                                                       {
00116 
00117   if(verbose())
00118     std::cout << "L1DummyProducer::produce...\n" << std::flush;
00119 
00121   std::auto_ptr<EcalTrigPrimDigiCollection>         ecal_tp_data(new EcalTrigPrimDigiCollection     );
00122   std::auto_ptr<HcalTrigPrimDigiCollection>         hcal_tp_data(new HcalTrigPrimDigiCollection     );
00123   std::auto_ptr<L1CaloEmCollection>                  rct_em_data(new L1CaloEmCollection             );
00124   std::auto_ptr<L1CaloRegionCollection>             rct_rgn_data(new L1CaloRegionCollection         );
00125   std::auto_ptr<L1GctEmCandCollection>          gct_isolaem_data(new L1GctEmCandCollection          ); 
00126   std::auto_ptr<L1GctEmCandCollection>          gct_noisoem_data(new L1GctEmCandCollection          ); 
00127   std::auto_ptr<L1GctJetCandCollection>         gct_cenjets_data(new L1GctJetCandCollection         ); 
00128   std::auto_ptr<L1GctJetCandCollection>         gct_forjets_data(new L1GctJetCandCollection         ); 
00129   std::auto_ptr<L1GctJetCandCollection>         gct_taujets_data(new L1GctJetCandCollection         ); 
00130   std::auto_ptr<L1MuDTChambPhContainer>              dtp_ph_data(new L1MuDTChambPhContainer         );
00131   std::auto_ptr<L1MuDTChambThContainer>              dtp_th_data(new L1MuDTChambThContainer         );
00132   std::auto_ptr<L1MuRegionalCandCollection>             dtf_data(new L1MuRegionalCandCollection     );
00133   std::auto_ptr<L1MuDTTrackContainer>               dtf_trk_data(new L1MuDTTrackContainer           );
00134   std::auto_ptr<CSCCorrelatedLCTDigiCollection>         ctp_data(new CSCCorrelatedLCTDigiCollection );
00135   std::auto_ptr<L1MuRegionalCandCollection>             ctf_data(new L1MuRegionalCandCollection     );
00136   std::auto_ptr<L1CSCTrackCollection>               ctf_trk_data(new L1CSCTrackCollection           );
00137   std::auto_ptr<L1MuRegionalCandCollection>         rpc_cen_data(new L1MuRegionalCandCollection     );
00138   std::auto_ptr<L1MuRegionalCandCollection>         rpc_for_data(new L1MuRegionalCandCollection     );
00139   std::auto_ptr<LTCDigiCollection>                      ltc_data(new LTCDigiCollection              );
00140   std::auto_ptr<L1MuGMTCandCollection>                  gmt_data(new L1MuGMTCandCollection          );
00141   std::auto_ptr<L1MuGMTReadoutCollection>           gmt_rdt_data(new L1MuGMTReadoutCollection       ); 
00142   std::auto_ptr<L1GlobalTriggerReadoutRecord>       glt_rdt_data(new L1GlobalTriggerReadoutRecord   );
00143   std::auto_ptr<L1GlobalTriggerEvmReadoutRecord>    glt_evm_data(new L1GlobalTriggerEvmReadoutRecord);
00144   std::auto_ptr<L1GlobalTriggerObjectMapRecord>     glt_obj_data(new L1GlobalTriggerObjectMapRecord );
00145 
00147   if(m_doSys[ETP]) SimpleDigi(    ecal_tp_data  );
00148   if(m_doSys[HTP]) SimpleDigi(    hcal_tp_data  );
00149   if(m_doSys[RCT]) SimpleDigi(     rct_em_data  );
00150   if(m_doSys[RCT]) SimpleDigi(    rct_rgn_data  );
00151   if(m_doSys[GCT]) SimpleDigi(gct_isolaem_data,0);
00152   if(m_doSys[GCT]) SimpleDigi(gct_noisoem_data,1);
00153   if(m_doSys[GCT]) SimpleDigi(gct_cenjets_data,0);
00154   if(m_doSys[GCT]) SimpleDigi(gct_forjets_data,1);
00155   if(m_doSys[GCT]) SimpleDigi(gct_taujets_data,2);
00156   if(m_doSys[DTP]) SimpleDigi(     dtp_ph_data  );
00157   if(m_doSys[DTP]) SimpleDigi(     dtp_th_data  );
00158   if(m_doSys[DTF]) SimpleDigi(        dtf_data,0);
00159   if(m_doSys[DTF]) SimpleDigi(    dtf_trk_data  );
00160   if(m_doSys[CTP]) SimpleDigi(        ctp_data  );
00161   if(m_doSys[CTF]) SimpleDigi(        ctf_data,2);
00162   if(m_doSys[CTF]) SimpleDigi(    ctf_trk_data  );
00163   if(m_doSys[RPC]) SimpleDigi(    rpc_cen_data,1);
00164   if(m_doSys[RPC]) SimpleDigi(    rpc_for_data,3);
00165   if(m_doSys[LTC]) SimpleDigi(        ltc_data  );
00166   if(m_doSys[GMT]) SimpleDigi(        gmt_data  );
00167   if(m_doSys[GMT]) SimpleDigi(    gmt_rdt_data  );
00168   if(m_doSys[GLT]) SimpleDigi(    glt_rdt_data  );
00169   if(m_doSys[GLT]) SimpleDigi(    glt_evm_data  );
00170   if(m_doSys[GLT]) SimpleDigi(    glt_obj_data  );
00171 
00173   if(m_doSys[ETP]) iEvent.put(    ecal_tp_data,instName[ETP][0]);
00174   if(m_doSys[HTP]) iEvent.put(    hcal_tp_data,instName[HTP][0]);
00175   if(m_doSys[RCT]) iEvent.put(     rct_em_data,instName[RCT][0]);
00176   if(m_doSys[RCT]) iEvent.put(    rct_rgn_data,instName[RCT][0]);
00177   if(m_doSys[GCT]) iEvent.put(gct_isolaem_data,instName[GCT][0]);
00178   if(m_doSys[GCT]) iEvent.put(gct_noisoem_data,instName[GCT][1]);
00179   if(m_doSys[GCT]) iEvent.put(gct_cenjets_data,instName[GCT][2]);
00180   if(m_doSys[GCT]) iEvent.put(gct_forjets_data,instName[GCT][3]);
00181   if(m_doSys[GCT]) iEvent.put(gct_taujets_data,instName[GCT][4]);
00182   if(m_doSys[DTP]) iEvent.put(     dtp_ph_data,instName[DTP][0]);
00183   if(m_doSys[DTP]) iEvent.put(     dtp_th_data,instName[DTP][0]);
00184   if(m_doSys[DTF]) iEvent.put(        dtf_data,instName[DTF][0]);
00185   if(m_doSys[DTF]) iEvent.put(    dtf_trk_data,instName[DTF][1]);
00186   if(m_doSys[CTP]) iEvent.put(        ctp_data,instName[CTP][0]);
00187   if(m_doSys[CTF]) iEvent.put(        ctf_data,instName[CTF][0]);
00188   if(m_doSys[CTF]) iEvent.put(    ctf_trk_data,instName[CTF][1]);
00189   if(m_doSys[RPC]) iEvent.put(    rpc_cen_data,instName[RPC][0]);
00190   if(m_doSys[RPC]) iEvent.put(    rpc_for_data,instName[RPC][1]);
00191   if(m_doSys[LTC]) iEvent.put(        ltc_data,instName[LTC][0]);
00192   if(m_doSys[GMT]) iEvent.put(        gmt_data,instName[GMT][0]);
00193   if(m_doSys[GMT]) iEvent.put(    gmt_rdt_data,instName[GMT][0]);
00194   if(m_doSys[GLT]) iEvent.put(    glt_rdt_data,instName[GLT][0]);
00195   if(m_doSys[GLT]) iEvent.put(    glt_evm_data,instName[GLT][0]);
00196   if(m_doSys[GLT]) iEvent.put(    glt_obj_data,instName[GLT][0]);
00197 
00198   nevt_++;
00199 
00200   if(verbose())
00201     std::cout << "L1DummyProducer::produce end.\n" << std::flush;
00202   
00203 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1CSCTrackCollection > &  data,
int  type 
) [inline]

Definition at line 506 of file L1DummyProducer.h.

References L1MuRegionalCand::bx(), GenMuonPlsPt100GeV_cfg::cout, L1MuRegionalCand::etaValue(), L1MuRegionalCand::getDataWord(), L1MuRegionalCand::phiValue(), L1MuRegionalCand::ptValue(), L1MuRegionalCand::setBx(), L1MuRegionalCand::setDataWord(), L1MuRegionalCand::setEtaValue(), L1MuRegionalCand::setPhiValue(), L1MuRegionalCand::setPtValue(), SimpleDigi(), and verbose().

00507                                                                  { 
00508   if(verbose())
00509     std::cout << "L1DummyProducer::SimpleDigi<L1CSCTrackCollection>...\n" << std::flush;
00510   std::auto_ptr<CSCCorrelatedLCTDigiCollection> dgcoll(new CSCCorrelatedLCTDigiCollection);
00511   SimpleDigi(dgcoll,0);
00512   csc::L1Track l1trk = csc::L1Track();
00513   std::auto_ptr<L1MuRegionalCandCollection> regcoll(new L1MuRegionalCandCollection);
00514   SimpleDigi(regcoll,2);
00515   L1MuRegionalCand regcand = *(regcoll->begin());
00516   l1trk.setDataWord(regcand.getDataWord());
00517   l1trk.setBx(regcand.bx());
00518   l1trk.setPhiValue(regcand.phiValue());
00519   l1trk.setEtaValue(regcand.etaValue());
00520   l1trk.setPtValue (regcand.ptValue());
00521   L1CSCTrack l1csctrk = std::make_pair(l1trk,*dgcoll);
00522   data->push_back(l1csctrk);
00523   //typedef std::vector<L1CSCTrack> L1CSCTrackCollection;
00524   //typedef std::pair<csc::L1Track,CSCCorrelatedLCTDigiCollection> L1CSCTrack;
00525   //L1Track() : L1MuRegionalCand(), m_name("csc::L1Track") { setType(2); setPtPacked(0); }
00526   //L1MuRegionalCand(unsigned dataword = 0, int bx = 0); 
00527   if(verbose())
00528     std::cout << "L1DummyProducer::SimpleDigi<L1CSCTrackCollection> end.\n" << std::flush;
00529  }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< CSCCorrelatedLCTDigiCollection > &  data,
int  type 
) [inline]

Definition at line 480 of file L1DummyProducer.h.

References CSCCorrelatedLCTDigi::clear(), GenMuonPlsPt100GeV_cfg::cout, int, rndFlat_, st, and verbose().

00481                                                                  { 
00482   if(verbose())
00483     std::cout << "L1DummyProducer::SimpleDigi<CSCCorrelatedLCTDigiCollection>....\n" << std::flush;
00484   //typedef MuonDigiCollection<CSCDetId,CSCCorrelatedLCTDigi> CSCCorrelatedLCTDigiCollection;
00485   //CSCCorrelatedLCTDigi(const int trknmb, const int valid, const int quality, const int keywire, const int strip, const int clct_pattern, const int bend, const int bx, const int& mpclink = 0, const uint16_t & bx0=0, const uint16_t & syncErr = 0, const uint16_t & cscID=0);
00486   CSCCorrelatedLCTDigi dg = CSCCorrelatedLCTDigi();
00487   //tbd: set non-trivial random values
00488   dg.clear(); // set contents to zero
00489   //CSCDetId( int iendcap, int istation, int iring, int ichamber, int ilayer = 0 );
00490   enum eMinNum{ MIN_ENDCAP=1, MIN_STATION=1, MIN_RING=1, MIN_CHAMBER= 1, MIN_LAYER=1 };
00491   enum eMaxNum{ MAX_ENDCAP=2, MAX_STATION=4, MAX_RING=4, MAX_CHAMBER=36, MAX_LAYER=6 };
00492   float rnd = rndFlat_->fire();
00493   int ec = (int)( MIN_ENDCAP  + (MAX_ENDCAP -MIN_ENDCAP )*rnd +1);
00494   int st = (int)( MIN_STATION + (MAX_STATION-MIN_STATION)*rnd +1);
00495   int rg = (int)( MIN_RING    + (MAX_RING   -MIN_RING   )*rnd +1);
00496   int ch = (int)( MIN_CHAMBER + (MAX_CHAMBER-MIN_CHAMBER)*rnd +1);
00497   int lr = (int)( MIN_LAYER   + (MAX_LAYER  -MIN_LAYER  )*rnd +1);
00498   CSCDetId did = CSCDetId(ec,st,rg,ch,lr);
00499   //CSCDetId did = CSCDetId();   //DetId(DetId::Muon, MuonSubdetId::CSC) 
00500   //MuonDigiCollection::insertDigi(const IndexType& index, const DigiType& digi)
00501   data->insertDigi(did,dg);
00502   if(verbose())
00503     std::cout << "L1DummyProducer::SimpleDigi<CSCCorrelatedLCTDigiCollection> end.\n" << std::flush;
00504 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< LTCDigiCollection > &  data,
int  type 
) [inline]

Definition at line 446 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, and verbose().

00447                                          { 
00448   if(verbose())
00449     std::cout << "L1DummyProducer::SimpleDigi<LTCDigiCollection>....\n" << std::flush;
00450   //LTCs are FED id 816-823
00451   /*  
00452       6 64-bit words
00453       uint64_t *ld = (uint64_t*)data;
00454       
00455       word0: 59:56  4 bit    ld[0]>>56 & 0xf         trigType
00456              55:32 24 bit    ld[0]>>32 & 0x00ffffff  eventID
00457              31:20 12 bit    ld[0]>>20 & 0xfff       bunchNumber
00458              19: 8 12 bit    ld[0]>> 8 & 0x00000fff  sourceID (816-823?)
00459 
00460       word1: 63:32 32 bit    ld[1]>>32 & 0xffffffff  orbitNumber
00461              31:24 8 bit     ld[1]>>24 & 0xff        versionNumber
00462               3: 0 4 bit     ld[1      & 0xf         daqPartition  
00463 
00464       word2: 63:32 32 bit    ld[0]>>32 & 0xffffffff  runNumber
00465              31: 0 32 bit    ld[0]     & 0xffffffff  eventNumber
00466 
00467       word3: 63:32 32 bit    ld[3]>>32 & 0xffffffff  trigInhibitNumber
00468              31: 0 32 bit    ld[3]     & 0xffffffff  trigInputStat  
00469 
00470       word4: 63:0 64 bit     ld[4]                   bstGpsTime
00471 
00472       word5: (empty)
00473   */
00474   //need to make up something meaningfull to produce here..
00475   //LTCDigi(const unsigned char* data);
00476   if(verbose())
00477     std::cout << "L1DummyProducer::SimpleDigi<LTCDigiCollection> end.\n" << std::flush;
00478 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1MuGMTReadoutCollection > &  data,
int  type 
) [inline]

tbd: add GMT extended cand(!)

Definition at line 398 of file L1DummyProducer.h.

References asciidump::at, GenMuonPlsPt100GeV_cfg::cout, EBase_, ESigm_, eta, i, int, nevt_, phi, rndFlat_, rndGaus_, L1MuGMTReadoutRecord::setBxInEvent(), L1MuGMTReadoutRecord::setBxNr(), L1MuGMTReadoutRecord::setEvNr(), L1MuGMTReadoutRecord::setGMTBrlCand(), L1MuGMTReadoutRecord::setGMTCand(), L1MuGMTReadoutRecord::setGMTFwdCand(), L1MuGMTReadoutRecord::setInputCand(), L1MuGMTReadoutRecord::setMIPbit(), L1MuGMTReadoutRecord::setQuietbit(), SimpleDigi(), and verbose().

00399                                          { 
00400   if(verbose())
00401     std::cout << "L1DummyProducer::SimpleDigi<L1MuGMTReadoutCollection>....\n" << std::flush;
00402   L1MuGMTReadoutRecord rec(0);
00403   int bxn = nevt_;
00404   rec.setBxNr(bxn);
00405   rec.setEvNr(bxn);
00406   rec.setBxInEvent(0); 
00407   std::auto_ptr<L1MuRegionalCandCollection> trks_dttf(new L1MuRegionalCandCollection);
00408   std::auto_ptr<L1MuRegionalCandCollection> trks_rpcb(new L1MuRegionalCandCollection);
00409   std::auto_ptr<L1MuRegionalCandCollection> trks_csc (new L1MuRegionalCandCollection);
00410   std::auto_ptr<L1MuRegionalCandCollection> trks_rpcf(new L1MuRegionalCandCollection);
00411   SimpleDigi(trks_dttf,0);
00412   SimpleDigi(trks_rpcb,1);
00413   SimpleDigi(trks_csc ,2);
00414   SimpleDigi(trks_rpcf,3);
00415   for(int i=0; i<4; i++) {
00416     rec.setInputCand(i   ,trks_dttf->at(i));//dt  : 0..3
00417     rec.setInputCand(i+ 4,trks_rpcb->at(i));//rpcb: 4..7
00418     rec.setInputCand(i+ 8,trks_csc ->at(i));//csc : 8..11
00419     rec.setInputCand(i+12,trks_rpcf->at(i));//rpcf:12..15
00420   }
00421   for(int nr=0; nr<4; nr++) {
00422     int eng = (int)(EBase_ + ESigm_*rndGaus_->fire());
00423     rec.setGMTBrlCand(nr, eng&0x11, eng&0x11); //set GMT barrel candidate
00424     rec.setGMTFwdCand(nr, eng&0x11, eng&0x11); //set GMT forward candidate
00425     rec.setGMTCand   (nr, eng&0x11);           //set GMT candidate (does not store rank)
00426     int eta = (int)(14*rndFlat_->fire());      //0..13
00427     int phi = (int)(18*rndFlat_->fire());      //0..17
00428     rec.setMIPbit  (eta, phi);
00429     rec.setQuietbit(eta, phi);
00430   }
00431   data->addRecord(rec);
00433   //rec.setBCERR(int bcerr);
00434   //rec.setGMTBrlCand(int nr, L1MuGMTExtendedCand const& cand);
00435   //rec.setGMTFwdCand(int nr, L1MuGMTExtendedCand const& cand);
00436   //rec.setGMTCand   (int nr, L1MuGMTExtendedCand const& cand);
00437   //rec.setInputCand (int nr, L1MuRegionalCand const& cand);
00438   //L1MuGMTReadoutCollection :: std::vector<L1MuGMTReadoutRecord> m_Records;
00439   //L1MuGMTReadoutCollection(int nbx) { m_Records.reserve(nbx); };
00440   //L1MuGMTExtendedCand(unsigned data, unsigned rank, int bx=0) : L1MuGMTCand (data, bx), m_rank(rank) {}
00441   if(verbose())
00442     std::cout << "L1DummyProducer::SimpleDigi<L1MuGMTReadoutCollection> end.\n" << std::flush;
00443 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1MuGMTCandCollection > &  data,
int  type 
) [inline]

Definition at line 359 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, EBase_, ESigm_, eta, nevt_, phi, Pi, r, rndFlat_, rndGaus_, L1MuGMTCand::setBx(), L1MuGMTCand::setChargePacked(), L1MuGMTCand::setEtaPacked(), L1MuGMTCand::setEtaValue(), L1MuGMTCand::setIsolation(), L1MuGMTCand::setMIP(), L1MuGMTCand::setPhiPacked(), L1MuGMTCand::setPhiValue(), L1MuGMTCand::setPtPacked(), L1MuGMTCand::setPtValue(), and verbose().

00360                                          { 
00361   if(verbose())
00362     std::cout << "L1DummyProducer::SimpleDigi<L1MuGMTCandCollection>....\n" << std::flush;
00363   //typedef std::vector<L1MuGMTCand>          L1MuGMTCandCollection;
00364   L1MuGMTCand cand(0,nevt_);
00365   //cand.setPhiPacked();//8bits
00366   //cand.setPtPacked ();//5bits
00367   //cand.setQuality  ();//3bits
00368   //cand.setEtaPacked();//6bits
00369   //cand.setIsolation();//1bit
00370   //cand.setMIP      ();//1bit
00371   //cand.setChargePacked();//0:+, 1:-, 2:undef, 3:sync
00372   //cand.setBx       (nevt_);
00373   //set physical values
00374   double eng = EBase_+ESigm_*rndGaus_->fire();
00375   double phi = 2*TMath::Pi()*rndFlat_->fire();
00376   double eta = 2.5*(-1+2*rndFlat_->fire());
00377   cand.setPtValue (eng); 
00378   cand.setPhiValue(phi);
00379   cand.setEtaValue(eta);
00380   unsigned engp = (unsigned)(EBase_ + ESigm_*rndGaus_->fire());
00381   unsigned phip = (unsigned)(255*rndFlat_->fire());
00382   unsigned etap = (unsigned)( 63*rndFlat_->fire());
00383   cand.setPtPacked (engp&0x1f);
00384   cand.setPhiPacked(phip&0x7f);
00385   cand.setEtaPacked(etap&0x3f);
00386   double r = rndFlat_->fire();
00387   cand.setIsolation(r>0.2);
00388   cand.setMIP(r>0.7);
00389   cand.setChargePacked(r>0.5?0:1);
00390   cand.setBx(0);
00391   data->push_back(cand);
00392   if(verbose())
00393     std::cout << "L1DummyProducer::SimpleDigi<L1MuGMTCandCollection> end.\n" << std::flush;
00394 
00395 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1MuDTChambThContainer > &  data,
int  type 
) [inline]

Definition at line 330 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, i, int, j, rndFlat_, tracks, and verbose().

00331                                          { 
00332   if(verbose())
00333     std::cout << "L1DummyProducer::SimpleDigi<L1MuDTChambThContainer>....\n" << std::flush;
00334   typedef std::vector<L1MuDTChambThDigi>  The_Container;
00335   int ntrk = 4;
00336   The_Container tracks(ntrk);
00337   int ubx, uwh, usc, ust, uos[7], uqa[7];
00338   for (int i=0; i<ntrk; i++) {  
00339     ubx = 0;
00340     uwh = (int)(-2+5*rndFlat_->fire());
00341     usc = (int)(  12*rndFlat_->fire());
00342     ust = (int)(1.+4*rndFlat_->fire());
00343     for(int j=0; j<7; j++) {
00344       uos[j]=(rndFlat_->fire()>0.5?0:1); 
00345       uqa[j]=(rndFlat_->fire()>0.5?0:1); 
00346     }
00347     L1MuDTChambThDigi cand(ubx, uwh, usc, ust, uos, uqa);
00348     tracks.push_back(cand);
00349   }
00350   data->setContainer(tracks);
00351   //L1MuDTChambThDigi( int ubx, int uwh, int usc, int ust,
00352   //             int* uos, [int* uqual] );
00353   //"DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h"
00354   if(verbose())
00355     std::cout << "L1DummyProducer::SimpleDigi<L1MuDTChambThContainer> end.\n" << std::flush;
00356 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1MuDTChambPhContainer > &  data,
int  type 
) [inline]

Definition at line 297 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, i, int, rndFlat_, tracks, and verbose().

00298                                          { 
00299   if(verbose())
00300     std::cout << "L1DummyProducer::SimpleDigi<L1MuDTChambPhContainer>....\n" << std::flush;
00301   typedef std::vector<L1MuDTChambPhDigi>  Phi_Container;
00302   int ntrk = 4;
00303   Phi_Container tracks(ntrk);
00304   int ubx, uwh, usc, ust,uphr, uphb, uqua, utag, ucnt;
00305   for (int i=0; i<ntrk; i++) {  
00306     ubx  = 0;   //bxNum()  - bx
00307     uwh  = 0;   //whNum()  - wheel
00308     usc  = 0;   //scNum()  - sector
00309     ust  = 0;   //stNum()  - station
00310     uphr = 0;   //phi()    - radialAngle
00311     uphb = 0;   //phiB()   - bendingAngle
00312     uqua = 0;   //code()   - qualityCode
00313     utag = 0;   //Ts2Tag() - Ts2TagCode
00314     ucnt = 0;   //BxCnt()  - BxCntCode
00315     uwh = (int)(-2+5*rndFlat_->fire());
00316     usc = (int)(  12*rndFlat_->fire());
00317     ust = (int)(1.+4*rndFlat_->fire());
00318     uqua= (int)(   8*rndFlat_->fire());
00319     L1MuDTChambPhDigi cand(ubx, uwh, usc, ust, uphr, uphb, uqua, utag, ucnt);
00320     tracks.push_back(cand);
00321   }
00322   data->setContainer(tracks);
00323   //L1MuDTChambPhDigi( int ubx, int uwh, int usc, int ust,
00324   //    int uphr, int uphb, int uqua, int utag, int ucnt );
00325   if(verbose())
00326     std::cout << "L1DummyProducer::SimpleDigi<L1MuDTChambPhContainer> end.\n" << std::flush;
00327 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1MuDTTrackContainer > &  data,
int  type 
) [inline]

Definition at line 271 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, it, L1MuRegionalCand::setBx(), L1MuRegionalCand::setDataWord(), SimpleDigi(), tracks, and verbose().

00272                                          { 
00273   assert(type==0);
00274   int type_idx = type; //choose data type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC 
00275   if(verbose())
00276     std::cout << "L1DummyProducer::SimpleDigi<L1MuDTTrackContainer>....\n" << std::flush;
00277   std::auto_ptr<L1MuRegionalCandCollection> tracks(new L1MuRegionalCandCollection());
00278   SimpleDigi(tracks, type_idx);
00279   typedef std::vector<L1MuDTTrackCand> L1MuDTTrackCandCollection;
00280   std::auto_ptr<L1MuDTTrackCandCollection> tracksd (new L1MuDTTrackCandCollection());
00281   for(L1MuRegionalCandCollection::const_iterator it=tracks->begin(); it!=tracks->end(); it++) {
00282     L1MuDTTrackCand * cnd = new L1MuDTTrackCand();
00283     cnd->setDataWord(it->getDataWord());
00284     cnd->setBx(it->bx());
00285     tracksd->push_back(L1MuDTTrackCand());
00286     tracksd->push_back(*cnd);
00287   }
00288   data->setContainer(*tracksd);
00289   if(verbose())
00290     std::cout << "L1DummyProducer::SimpleDigi<L1MuDTTrackContainer> end.\n" << std::flush;
00291   //L1MuDTTrackCand( unsigned dataword, int bx, int uwh, int usc, int utag,
00292   //                 int adr1, int adr2, int adr3, int adr4, int utc );
00293 
00294 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1MuRegionalCandCollection > &  data,
int  type 
) [inline]

Definition at line 236 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, eta, i, int, phi, Pi, rndFlat_, L1MuRegionalCand::setEtaValue(), L1MuRegionalCand::setPhiValue(), L1MuRegionalCand::setPtValue(), and verbose().

00237                                            {
00238   if(verbose())
00239     std::cout << "L1DummyProducer::SimpleDigi<L1MuRegionalCandCollection>....\n" << std::flush;
00240   //typedef std::vector<L1MuRegionalCand>     L1MuRegionalCandCollection;
00241   assert(type>=0 && type<4);
00242   unsigned type_idx=type; //tType: 0 DT, 1 bRPC, 2 CSC, 3 fRPC
00243   int bx = 0;
00244   unsigned phi, eta, pt, charge, ch_valid, finehalo, quality;
00245   float phiv(0.), etav(0.), ptv(0.); //linear translation? 0.2pi,-2.5..2.5,0..100
00246   for(int i=0; i<4; i++) {
00247     phi     = (int)(144*rndFlat_->fire()); //8bits, 0..143
00248     eta     = (int)( 63*rndFlat_->fire()); //6bits code
00249     phiv    = phi*2*TMath::Pi()/144.; 
00250     etav    = 2.5*(-1+2*eta/63.);
00251     pt      = ((int)(32*rndFlat_->fire())) & 0x1f; //5bits: 0..31
00252     ptv     = 100*(pt/31.);
00253     charge  = (rndFlat_->fire()>0.5?0:1);;
00254     ch_valid=0;
00255     finehalo=0;
00256     quality = (int)(8*rndFlat_->fire()); //3bits: 0..7
00257     L1MuRegionalCand cand(type_idx, phi, eta, pt, charge, 
00258                           ch_valid, finehalo, quality, bx);
00259     cand.setPhiValue(phiv);
00260     cand.setEtaValue(etav);
00261     cand.setPtValue (ptv);
00262     data->push_back(cand);
00263   }
00264   //L1MuRegionalCand(unsigned type_idx, unsigned phi, unsigned eta, unsigned pt, 
00265   //unsigned charge, unsigned ch_valid, unsigned finehalo, unsigned quality, int bx);
00266   if(verbose())
00267     std::cout << "L1DummyProducer::SimpleDigi<L1MuRegionalCandCollection> end.\n" << std::flush;
00268 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1GctJetCandCollection > &  data,
int  type 
) [inline]

Definition at line 198 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, EBase_, lat::endl(), ESigm_, eta, Exception, int, reco::isTau(), phi, rndFlat_, rndGaus_, and verbose().

00199                                          { 
00200   if(verbose())
00201     std::cout << "L1DummyProducer::SimpleDigi<L1GctJetCandCollection>....\n" << std::flush;
00202   bool isFor, isTau;
00203   switch(type) { // 0 cen, 1 for, 2 tau
00204   case 0:  
00205     isFor = false;
00206     isTau = false;
00207     break;
00208   case 1:  
00209     isFor = true;
00210     isTau = false;
00211     break;
00212   case 2:  
00213     isFor = false;
00214     isTau = true;
00215     break;
00216   default:
00217     throw cms::Exception("L1DummyProducerInvalidType")
00218       << "L1DummyProducer::SimpleDigi production of L1GctJetCandCollection "
00219       << " invalid type: " << type << std::endl;
00220   }
00221 
00222   int      energy= (int) (EBase_ + ESigm_*rndGaus_->fire());
00223   unsigned rank  = energy & 0x3f;
00224   unsigned phi   = (unsigned)(18*rndFlat_->fire());
00225   unsigned eta   = (unsigned)( 7*rndFlat_->fire());
00226   if(rndFlat_->fire()>0.5) //-z (eta sign)
00227     eta = (eta&0x7) + (0x1<<3);
00228   L1GctJetCand cand(rank, phi, eta, isTau, isFor);
00229   data->push_back(cand);
00230   //L1GctJetCand(unsigned rank, unsigned phi, unsigned eta, bool isTau, bool isFor);
00231   if(verbose())
00232     std::cout << "L1DummyProducer::SimpleDigi<L1GctJetCandCollection> end.\n" << std::flush;
00233 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1GctEmCandCollection > &  data,
int  type 
) [inline]

Definition at line 166 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, EBase_, lat::endl(), ESigm_, eta, Exception, int, phi, rndFlat_, rndGaus_, and verbose().

00167                                          { 
00168   if(verbose())
00169     std::cout << "L1DummyProducer::SimpleDigi<L1GctEmCandCollection>....\n" << std::flush;
00170   bool iso; //= type==0;
00171   switch(type) { // 0 iso, 1 noniso
00172   case 0:  
00173     iso = true;
00174     break;
00175   case 1:  
00176     iso = false;
00177     break;
00178   default:
00179     throw cms::Exception("L1DummyProducerInvalidType")
00180       << "L1DummyProducer::SimpleDigi production of L1GctEmCandCollection "
00181       << " invalid type: " << type << std::endl;
00182   }
00183   int      energy= (int) (EBase_ + ESigm_*rndGaus_->fire());
00184   unsigned rank  = energy & 0x3f;
00185   unsigned phi   = (unsigned)(18*rndFlat_->fire());
00186   unsigned eta   = (unsigned)( 7*rndFlat_->fire());
00187   if(rndFlat_->fire()>0.5) //-z (eta sign)
00188     eta = (eta&0x7) + (0x1<<3);
00189   L1GctEmCand cand(rank, phi, eta, iso);
00190   data->push_back(cand);
00191   // eta = -6 to -0, +0 to +6. Sign is bit 3, 1 means -ve Z, 0 means +ve Z
00192   //L1GctEmCand(unsigned rank, unsigned phi, unsigned eta, bool iso);
00193   if(verbose())
00194     std::cout << "L1DummyProducer::SimpleDigi<L1GctEmCandCollection> end.\n" << std::flush;
00195 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1CaloRegionCollection > &  data,
int  type 
) [inline]

Definition at line 145 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, EBase_, ESigm_, int, rgn, rndFlat_, rndGaus_, and verbose().

00146                                          { 
00147   if(verbose())
00148     std::cout << "L1DummyProducer::SimpleDigi<L1CaloRegionCollection>....\n" << std::flush;
00149   int     energy= (int) (EBase_ + ESigm_*rndGaus_->fire());
00150   unsigned et   = energy & 0x3ff;
00151   bool overFlow = 0; //(rndFlat_->fire()>0.4);
00152   bool tauVeto  = 0; //(rndFlat_->fire()>0.3);
00153   bool mip      = 0; //(rndFlat_->fire()>0.1);
00154   bool quiet    = 0; //(rndFlat_->fire()>0.6);
00155   unsigned crate= (unsigned)(18*rndFlat_->fire());
00156   unsigned card = (unsigned)(7*rndFlat_->fire());
00157   unsigned rgn  = crate%2; //(rndFlat_->fire()>0.5?0:1);
00158   L1CaloRegion cand( et, overFlow, tauVeto, mip, quiet, crate, card, rgn );
00159   data->push_back(cand);
00160   //L1CaloRegion(unsigned et, bool overFlow, bool tauVeto, bool mip, bool quiet, unsigned crate, unsigned card, unsigned rgn);
00161   if(verbose())
00162     std::cout << "L1DummyProducer::SimpleDigi<L1CaloRegionCollection> end.\n" << std::flush;
00163 }

template<>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< L1CaloEmCollection > &  data,
int  type 
) [inline]

Definition at line 125 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, EBase_, ESigm_, index, int, nevt_, rndFlat_, rndGaus_, and verbose().

00126                                          { 
00127   if(verbose())
00128     std::cout << "L1DummyProducer::SimpleDigi<L1CaloEmCollection>....\n" << std::flush;
00129   int      energy= (int) (EBase_ + ESigm_*rndGaus_->fire());
00130   unsigned rank  = energy & 0x3f;
00131   unsigned region= (rndFlat_->fire()>0.5?0:1);
00132   unsigned card  = (unsigned)(7*rndFlat_->fire()); 
00133   unsigned crate = (unsigned)(18*rndFlat_->fire());
00134   bool iso       = (rndFlat_->fire()>0.4); 
00135   uint16_t index = (unsigned)(4*rndFlat_->fire());
00136   int16_t  bx    = nevt_;
00137   L1CaloEmCand cand(rank, region, card, crate, iso, index, bx);
00138   data->push_back(cand);
00139   //L1CaloEmCand(unsigned rank, unsigned region, unsigned card, unsigned crate, bool iso, uint16_t index, int16_t bx);
00140   if(verbose())
00141     std::cout << "L1DummyProducer::SimpleDigi<L1CaloEmCollection> end.\n" << std::flush;
00142  }

void L1DummyProducer::SimpleDigi ( std::auto_ptr< EcalTrigPrimDigiCollection > &  data,
int  type 
) [inline]

Definition at line 81 of file L1DummyProducer.h.

References GenMuonPlsPt100GeV_cfg::cout, EBase_, EcalBarrel, relval_parameters_module::energy, ESigm_, flush(), int, rndFlat_, rndGaus_, EcalTriggerPrimitiveDigi::setSample(), EcalTriggerPrimitiveDigi::setSize(), and verbose().

00082                                          {
00083   if(verbose())
00084     std::cout << "L1DummyProducer::SimpleDigi<EcalTrigPrimDigiCollection>....\n" << std::flush;
00085   int side = (rndFlat_->fire()>0.5)?-1:1;
00086   int ieta =  (int) (1 + 17*rndFlat_->fire()); //1-17
00087   int iphi =  (int) (1 + 72*rndFlat_->fire()); //1-72
00088   const EcalTrigTowerDetId e_id( side , EcalBarrel, ieta, iphi, 0);
00089   EcalTriggerPrimitiveDigi e_digi(e_id);
00090   int energy = (int) (EBase_ + ESigm_*rndGaus_->fire());
00091   bool fg = (rndFlat_->fire()>0.5);
00092   int ttf = (int)(8*rndFlat_->fire()); //0-7
00093   EcalTriggerPrimitiveSample e_sample(energy, fg, ttf);
00094   e_digi.setSize(1); //set sampleOfInterest to 0
00095   e_digi.setSample(0,e_sample);
00096   data->push_back(e_digi);
00097   //EcalTriggerPrimitiveSample(int encodedEt, bool finegrain, int triggerFlag);
00098   //const EcalTrigTowerDetId e_id( zside , EcalBarrel, etaTT, phiTT, 0);
00099   if(verbose())
00100     std::cout << "L1DummyProducer::SimpleDigi<EcalTrigPrimDigiCollection> end.\n" << std::flush;
00101 }

template<class T>
void L1DummyProducer::SimpleDigi ( std::auto_ptr< T > &  data,
int  type = 0 
) [inline]

Definition at line 76 of file L1DummyProducer.h.

Referenced by produce(), and SimpleDigi().

00076                                                           {
00077   /*collections generated in specializations below*/
00078 } 

int L1DummyProducer::verbose ( void   )  [inline, private]

Definition at line 61 of file L1DummyProducer.h.

References verbose_.

Referenced by L1DummyProducer(), produce(), and SimpleDigi().

00061 {return verbose_;}


Member Data Documentation

double L1DummyProducer::EBase_ [private]

Definition at line 69 of file L1DummyProducer.h.

Referenced by L1DummyProducer(), and SimpleDigi().

double L1DummyProducer::ESigm_ [private]

Definition at line 70 of file L1DummyProducer.h.

Referenced by L1DummyProducer(), and SimpleDigi().

std::string L1DummyProducer::instName[dedefs::DEnsys][5] [private]

Definition at line 65 of file L1DummyProducer.h.

Referenced by L1DummyProducer(), and produce().

bool L1DummyProducer::m_doSys[dedefs::DEnsys] [private]

Definition at line 64 of file L1DummyProducer.h.

Referenced by L1DummyProducer(), and produce().

int L1DummyProducer::nevt_ [private]

Definition at line 62 of file L1DummyProducer.h.

Referenced by L1DummyProducer(), produce(), and SimpleDigi().

CLHEP::RandFlat* L1DummyProducer::rndFlat_ [private]

Definition at line 67 of file L1DummyProducer.h.

Referenced by L1DummyProducer(), SimpleDigi(), and ~L1DummyProducer().

CLHEP::RandGaussQ* L1DummyProducer::rndGaus_ [private]

Definition at line 68 of file L1DummyProducer.h.

Referenced by L1DummyProducer(), SimpleDigi(), and ~L1DummyProducer().

int L1DummyProducer::verbose_ [private]

Definition at line 60 of file L1DummyProducer.h.

Referenced by L1DummyProducer(), and verbose().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:26:26 2009 for CMSSW by  doxygen 1.5.4