#include <DTConfigTraco.h>
Public Member Functions | |
int | BendingAngleCut () const |
Bending angle cut for all stations and triggers : KPRGCOM. | |
int | BTIC () const |
BTIC traco parameter: must be equal to Btis ST parameter. | |
int | DD () const |
DD traco parameter: this is fixed. | |
int | debug () const |
Debug flag. | |
DTConfigTraco () | |
Constructor. | |
DTConfigTraco (const edm::ParameterSet &ps) | |
Constructor. | |
DTConfigTraco (int debug, unsigned short int *buffer) | |
Constructor from string. | |
int | IBTIOFF () const |
IBTIOFF traco parameter. | |
int | KRAD () const |
KRAD traco parameter. | |
int | LVALIDIFH () const |
Flag for Low validation parameter. | |
int | prefHtrig (int i) const |
Preference to HTRIG on first/second tracks: F(S)HTPRF. | |
int | prefInner (int i) const |
Preference to inner on first/second tracks: F(S)SLMSK. | |
void | print () const |
Print the setup. | |
void | setBendingAngleCut (int BendingAngleCut) |
Set Bending angle cut for all stations and triggers : KPRGCOM. | |
void | setBTIC (int BTIC) |
Set BTIC traco parameter: must be equal to Btis ST parameter. | |
void | setDD (int DD) |
Set DD traco parameter: this is fixed. | |
void | setDebug (int debug) |
void | setDefaults (const edm::ParameterSet &ps) |
Set default parameters. | |
void | setIBTIOFF (int IBTIOFF) |
Set IBTIOFF traco parameter. | |
void | setKRAD (int KRAD) |
Set KRAD traco parameter. | |
void | setLVALIDIFH (int LVALIDIFH) |
Set Flag for Low validation parameter. | |
void | setPrefHtrig (int i, int prefHtrig) |
Set Preference to HTRIG on first/second tracks: F(S)HTPRF. | |
void | setPrefInner (int i, int prefInner) |
Set Preference to inner on first/second tracks: F(S)SLMSK. | |
void | setSingleHflag (int i, int singleHflag) |
Set Single HTRIG enabling on first/second tracks F(S)HTMSK. | |
void | setSingleLenab (int i, int singleLenab) |
Set Single LTRIG accept enabling on first/second tracks LTF. | |
void | setSingleLflag (int i, int singleLflag) |
Set Single LTRIG enabling on first/second tracks: F(S)LTMSK. | |
void | setSortKascend (int i, int sortKascend) |
Set Ascend. order for K sorting first/second tracks: F(S)HISM. | |
void | setTcBxLts (int TcBxLts) |
Set Suppr. of LTRIG in 4 BX before HTRIG: LTS. | |
void | setTcKToll (int i, int TcKToll) |
Set K tollerance for correlation in TRACO: F(S)PRGCOMP. | |
void | setTcReuse (int i, int TcReuse) |
Set Recycling of TRACO cand. in inner/outer SL : REUSEI/REUSEO. | |
void | setUsedBti (int bti, int mask) |
Set Connected bti in traco: bti mask. | |
int | singleHflag (int i) const |
Single HTRIG enabling on first/second tracks F(S)HTMSK. | |
int | singleLenab (int i) const |
Single LTRIG accept enabling on first/second tracks LTF. | |
int | singleLflag (int i) const |
Single LTRIG enabling on first/second tracks: F(S)LTMSK. | |
int | sortKascend (int i) const |
Ascend. order for K sorting first/second tracks: F(S)HISM. | |
int | TcBxLts () const |
Suppr. of LTRIG in 4 BX before HTRIG: LTS. | |
int | TcKToll (int i) const |
K tollerance for correlation in TRACO: F(S)PRGCOMP. | |
int | TcReuse (int i) const |
Recycling of TRACO cand. in inner/outer SL : REUSEI/REUSEO. | |
int | usedBti (int bti) const |
Connected bti in traco: bti mask. | |
~DTConfigTraco () | |
Destructor. | |
Static Public Attributes | |
static const int | NMAXCAND |
Costant: maximum number of TRACO output candidates to TS. | |
static const int | RESOLPSI = 512 |
Costants: esolution for psi and DeltaPsiR (phi_B) | |
static const int | RESOLPSIR = 4096 |
Costant: resulution for psiR (phi) | |
Private Attributes | |
int8_t | m_btic |
int8_t | m_dd |
int8_t | m_debug |
int8_t | m_fhism |
int8_t | m_fhtmsk |
int8_t | m_fhtprf |
int8_t | m_fltmsk |
int8_t | m_fprgcomp |
int8_t | m_fslmsk |
int8_t | m_ibtioff |
int16_t | m_kprgcom |
int8_t | m_krad |
int8_t | m_ltf |
int8_t | m_lts |
int8_t | m_lvalidifh |
int8_t | m_reusei |
int8_t | m_reuseo |
int8_t | m_shism |
int8_t | m_shtmsk |
int8_t | m_shtprf |
int8_t | m_sltmsk |
int8_t | m_sprgcomp |
int8_t | m_sslmsk |
BitArray< 16 > | m_trgenb |
Configurable parameters and constants for Level-1 Muon DT Trigger - Traco chip
Definition at line 39 of file DTConfigTraco.h.
DTConfigTraco::DTConfigTraco | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 40 of file DTConfigTraco.cc.
References setDefaults().
{ setDefaults(ps); }
DTConfigTraco::DTConfigTraco | ( | ) | [inline] |
DTConfigTraco::DTConfigTraco | ( | int | debug, |
unsigned short int * | buffer | ||
) |
Constructor from string.
Definition at line 46 of file DTConfigTraco.cc.
References gather_cfg::cout, createTree::dd, debug(), Exception, i, m_debug, setBendingAngleCut(), setBTIC(), setDD(), setIBTIOFF(), setKRAD(), setLVALIDIFH(), setPrefHtrig(), setPrefInner(), setSingleHflag(), setSingleLenab(), setSingleLflag(), setSortKascend(), setTcBxLts(), setTcKToll(), setTcReuse(), setUsedBti(), and lumiQTWidget::t.
{ m_debug = debugTRACO; // check if this is a TRACO configuration string if (buffer[2]!=0x15){ throw cms::Exception("DTTPG") << "===> ConfigTraco constructor : not a TRACO string!" << std::endl; } // decode unsigned short int memory_traco[38]; for(int i=0;i<38;i++){ memory_traco[i] = buffer[i+5]; //std::cout << hex << memory_traco[i]; } int btic = memory_traco[0] & 0x3f ; int rad = ( ( memory_traco[0] & 0xc0 ) >> 6 ) | ( ( memory_traco[1] & 0x7 ) << 2 ) ; int dd = ( memory_traco[1] & 0xf8 ) >> 3 ; int fprgcomp = memory_traco[2] & 0x3 ; int sprgcomp = memory_traco[3] & 0x3 ; int fhism = ( memory_traco[2] & 0x4 ) != 0 ; int fhtprf = ( memory_traco[2] & 0x8 ) != 0 ; int fslmsk = ( memory_traco[2] & 0x10 ) != 0 ; int fltmsk = ( memory_traco[2] & 0x20 ) != 0 ; int fhtmsk = ( memory_traco[2] & 0x40 ) != 0 ; int shism = ( memory_traco[3] & 0x4 ) != 0 ; int shtprf = ( memory_traco[3] & 0x8 ) != 0 ; int sslmsk = ( memory_traco[3] & 0x10 ) != 0 ; int sltmsk = ( memory_traco[3] & 0x20 ) != 0 ; int shtmsk = ( memory_traco[3] & 0x40 ) != 0 ; int reusei = ( memory_traco[2] & 0x80 ) != 0 ; int reuseo = ( memory_traco[3] & 0x80 ) != 0 ; int ltf = ( memory_traco[4] & 1 ) != 0 ; int lts = ( memory_traco[4] & 2 ) != 0 ; int prgdel = ( memory_traco[4] & 0x1c ) >> 2 ; int snapcor = ( memory_traco[4] & 0xe0 ) >> 5 ; int trgenb[16]; for(int it=0; it<2; it++) { trgenb[0+it*8] = memory_traco[5+it] & 0x01; trgenb[1+it*8] = (memory_traco[5+it] >> 1 ) & 0x01; trgenb[2+it*8] = (memory_traco[5+it] >> 1 ) & 0x01; trgenb[3+it*8] = (memory_traco[5+it] >> 1 ) & 0x01; trgenb[4+it*8] = (memory_traco[5+it] >> 1 ) & 0x01; trgenb[5+it*8] = (memory_traco[5+it] >> 1 ) & 0x01; trgenb[6+it*8] = (memory_traco[5+it] >> 1 ) & 0x01; trgenb[7+it*8] = (memory_traco[5+it] >> 1 ) & 0x01; } int trgadel = memory_traco[7] & 0x3 ; int ibtioff = ( memory_traco[7] & 0xfc ) >> 2 ; int kprgcom = ( memory_traco[8] & 0xff ) ; int testmode = ( memory_traco[9] & 1 ) != 0 ; int starttest = ( memory_traco[9] & 2 ) != 0 ; int prvsignmux = ( memory_traco[9] & 4 ) != 0 ; int lth = ( memory_traco[9] & 8 ) != 0 ; if(debug()==1) { std::cout << "btic=" << btic << " rad=" << rad << " dd=" << dd << " fprgcomp=" << fprgcomp << " sprgcomp=" << sprgcomp << " fhism=" << fhism << " fhtprf=" << fhtprf << " fslmsk=" << fslmsk << " fltmsk=" << fltmsk << " fhtmsk=" << fhtmsk << " shism=" << shism << " shtprf=" << shtprf << " sslmsk=" << sslmsk << " sltmsk=" << sltmsk << " shtmsk=" << shtmsk << " reusei=" << reusei << " reuseo=" << reuseo << " ltf=" << ltf << " lts=" << lts << " prgdel=" << prgdel << " snapcor=" << snapcor << " trgenb="; for(int t=0; t<16; t++) std::cout << trgenb[t] << " "; std::cout << " trgadel=" << trgadel << " ibtioff=" << ibtioff << " kprgcom=" << kprgcom << " testmode=" << testmode << " starttest=" << starttest << " prvsignmux=" << prvsignmux << " lth=" << lth << std::endl; } // set parameters setBTIC(btic); setKRAD(rad); setDD(dd); setTcKToll(0,fprgcomp); setTcKToll(1,sprgcomp); setSortKascend(0,fhism); setSortKascend(1,shism); setPrefHtrig(0,fhtprf); setPrefHtrig(1,shtprf); setPrefInner(0,fslmsk); setPrefInner(1,sslmsk); setSingleLflag(0,fltmsk); setSingleLflag(1,sltmsk); setSingleHflag(0,fhtmsk); setSingleHflag(1,shtmsk); setTcReuse(0,reusei); setTcReuse(1,reuseo); setSingleLenab(0,ltf); setSingleLenab(1,ltf); setTcBxLts(lts); setIBTIOFF(ibtioff); setBendingAngleCut(kprgcom); setLVALIDIFH(lth); for(int t=0; t<16; t++) setUsedBti(t+1,trgenb[t]); // the following are not relevant for simulation // prgdel, snapcor, trgadel, testmode, starttest, prvsignmux }
DTConfigTraco::~DTConfigTraco | ( | ) |
int DTConfigTraco::BendingAngleCut | ( | ) | const [inline] |
Bending angle cut for all stations and triggers : KPRGCOM.
Definition at line 148 of file DTConfigTraco.h.
References m_kprgcom.
Referenced by DTTracoChip::insideAngWindow(), print(), and setBendingAngleCut().
{ return m_kprgcom; }
int DTConfigTraco::BTIC | ( | ) | const [inline] |
BTIC traco parameter: must be equal to Btis ST parameter.
Definition at line 73 of file DTConfigTraco.h.
References m_btic.
Referenced by DTTracoChip::DTTracoChip(), print(), setBTIC(), and DTTracoChip::setTracoAcceptances().
{ return m_btic;}
int DTConfigTraco::DD | ( | ) | const [inline] |
int DTConfigTraco::debug | ( | ) | const [inline] |
Debug flag.
Definition at line 67 of file DTConfigTraco.h.
References m_debug.
Referenced by DTTracoChip::add_btiT(), DTTracoChip::bestCand(), DTConfigTraco(), print(), DTTracoChip::run(), setDebug(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
{ return m_debug; }
int DTConfigTraco::IBTIOFF | ( | ) | const [inline] |
IBTIOFF traco parameter.
Definition at line 145 of file DTConfigTraco.h.
References m_ibtioff.
Referenced by print(), and setIBTIOFF().
{ return m_ibtioff; }
int DTConfigTraco::KRAD | ( | ) | const [inline] |
KRAD traco parameter.
Definition at line 70 of file DTConfigTraco.h.
References m_krad.
Referenced by DTTracoChip::DTTracoChip(), print(), and setKRAD().
{ return m_krad;}
int DTConfigTraco::LVALIDIFH | ( | ) | const [inline] |
Flag for Low validation parameter.
Definition at line 151 of file DTConfigTraco.h.
References m_lvalidifh.
Referenced by print(), setLVALIDIFH(), and DTTracoChip::storeUncorr().
{ return m_lvalidifh;}
int DTConfigTraco::prefHtrig | ( | int | i | ) | const [inline] |
Preference to HTRIG on first/second tracks: F(S)HTPRF.
Definition at line 111 of file DTConfigTraco.h.
References m_fhtprf, and m_shtprf.
Referenced by DTTracoChip::bestCand(), print(), and setPrefHtrig().
int DTConfigTraco::prefInner | ( | int | i | ) | const [inline] |
Preference to inner on first/second tracks: F(S)SLMSK.
Definition at line 103 of file DTConfigTraco.h.
References m_fslmsk, and m_sslmsk.
Referenced by print(), setPrefInner(), DTTracoChip::setPV(), and DTTracoChip::storeUncorr().
void DTConfigTraco::print | ( | void | ) | const |
Print the setup.
Definition at line 252 of file DTConfigTraco.cc.
References b, BendingAngleCut(), BTIC(), gather_cfg::cout, DD(), debug(), IBTIOFF(), KRAD(), LVALIDIFH(), prefHtrig(), prefInner(), singleHflag(), singleLenab(), singleLflag(), sortKascend(), TcBxLts(), TcKToll(), TcReuse(), and usedBti().
{ std::cout << "******************************************************************************" << std::endl; std::cout << "* DTTrigger configuration : TRACO chips *" << std::endl; std::cout << "******************************************************************************" << std::endl; std::cout << "* *" << std::endl; std::cout << "Debug flag : " << debug() << std::endl; std::cout << "KRAD traco parameter : " << KRAD() << std::endl; std::cout << "BTIC traco parameter : " << BTIC() << std::endl; std::cout << "DD traco parameter : " << DD() << std::endl; std::cout << "REUSEI, REUSEO : " << TcReuse(0) << ", " << TcReuse(1) << std::endl; std::cout << "FHTMSK, SHTMSK : " << singleHflag(0) << ", " << singleHflag(1) << std::endl; std::cout << "FLTMSK, SLTMSK: " << singleLflag(0) << ", " << singleLflag(1) << std::endl; std::cout << "FSLMSK, SSLMSK : " << prefInner(0) << ", " << prefInner(1) << std::endl; std::cout << "FHTPRF, SHTPRF : " << prefHtrig(0) << ", " << prefHtrig(1) << std::endl; std::cout << "FHISM, SHISM : " << sortKascend(0) << ", " << sortKascend(1) << std::endl; std::cout << "FPRGCOMP, SPRGCOMP : " << TcKToll(0) << ", " << TcKToll(1) << std::endl; std::cout << "LTS : " << TcBxLts() << std::endl; std::cout << "LTF : " << singleLenab(0) << std::endl; std::cout << "Connected bti in traco - bti mask : "; for(int b=1; b<=16; b++) std::cout << usedBti(b) << " "; std::cout << std::endl; std::cout << "IBTIOFF : " << IBTIOFF() << std::endl; std::cout << "bending angle cut : " << BendingAngleCut() << std::endl; std::cout << "flag for Low validation parameter : " << LVALIDIFH() << std::endl; std::cout << "******************************************************************************" << std::endl; }
void DTConfigTraco::setBendingAngleCut | ( | int | BendingAngleCut | ) | [inline] |
Set Bending angle cut for all stations and triggers : KPRGCOM.
Definition at line 236 of file DTConfigTraco.h.
References BendingAngleCut(), and m_kprgcom.
Referenced by DTConfigTraco().
{ m_kprgcom=BendingAngleCut; }
void DTConfigTraco::setBTIC | ( | int | BTIC | ) | [inline] |
Set BTIC traco parameter: must be equal to Btis ST parameter.
Definition at line 161 of file DTConfigTraco.h.
References BTIC(), and m_btic.
Referenced by DTConfigTraco().
void DTConfigTraco::setDD | ( | int | DD | ) | [inline] |
Set DD traco parameter: this is fixed.
Definition at line 164 of file DTConfigTraco.h.
Referenced by DTConfigTraco().
void DTConfigTraco::setDebug | ( | int | debug | ) | [inline] |
void DTConfigTraco::setDefaults | ( | const edm::ParameterSet & | ps | ) |
Set default parameters.
Definition at line 180 of file DTConfigTraco.cc.
References b, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), label, m_btic, m_dd, m_debug, m_fhism, m_fhtmsk, m_fhtprf, m_fltmsk, m_fprgcomp, m_fslmsk, m_ibtioff, m_kprgcom, m_krad, m_ltf, m_lts, m_lvalidifh, m_reusei, m_reuseo, m_shism, m_shtmsk, m_shtprf, m_sltmsk, m_sprgcomp, m_sslmsk, m_trgenb, p1, and BitArray< N >::set().
Referenced by DTConfigTraco().
{ // Debug flag m_debug = ps.getUntrackedParameter<int>("Debug"); // KRAD traco parameter m_krad = ps.getParameter<int>("KRAD"); // BTIC traco parameter m_btic = ps.getParameter<int>("BTIC"); // DD traco parameter: this is fixed m_dd = ps.getParameter<int>("DD"); // recycling of TRACO cand. in inner/outer SL : REUSEI/REUSEO m_reusei = ps.getParameter<int>("REUSEI"); m_reuseo = ps.getParameter<int>("REUSEO"); // single HTRIG enabling on first/second tracks F(S)HTMSK m_fhtmsk = ps.getParameter<int>("FHTMSK"); m_shtmsk = ps.getParameter<int>("SHTMSK"); // single LTRIG enabling on first/second tracks: F(S)LTMSK m_fltmsk = ps.getParameter<int>("FLTMSK"); m_sltmsk = ps.getParameter<int>("SLTMSK"); // preference to inner on first/second tracks: F(S)SLMSK m_fslmsk = ps.getParameter<int>("FSLMSK"); m_sslmsk = ps.getParameter<int>("SSLMSK"); // preference to HTRIG on first/second tracks: F(S)HTPRF m_fhtprf = ps.getParameter<int>("FHTPRF"); m_shtprf = ps.getParameter<int>("SHTPRF"); // ascend. order for K sorting first/second tracks: F(S)HISM m_fhism = ps.getParameter<int>("FHISM"); m_shism = ps.getParameter<int>("SHISM"); // K tollerance for correlation in TRACO: F(S)PRGCOMP m_fprgcomp = ps.getParameter<int>("FPRGCOMP"); m_sprgcomp = ps.getParameter<int>("SPRGCOMP"); // suppr. of LTRIG in 4 BX before HTRIG: LTS m_lts = ps.getParameter<int>("LTS"); // single LTRIG accept enabling on first/second tracks LTF m_ltf = ps.getParameter<int>("LTF"); // Connected bti in traco: bti mask for(int b=0; b<16; b++) { std::string label = "TRGENB"; char p0 = (b/10)+'0'; char p1 = (b%10)+'0'; if ( p0 != '0' ) label = label + p0; label = label + p1; m_trgenb.set(b,ps.getParameter<int>(label)); } // IBTIOFF traco parameter m_ibtioff = ps.getParameter<int>("IBTIOFF"); // bending angle cut for all stations and triggers : KPRGCOM m_kprgcom = ps.getParameter<int>("KPRGCOM"); // flag for Low validation parameter m_lvalidifh = ps.getParameter<int>("LVALIDIFH"); }
void DTConfigTraco::setIBTIOFF | ( | int | IBTIOFF | ) | [inline] |
Set IBTIOFF traco parameter.
Definition at line 233 of file DTConfigTraco.h.
References IBTIOFF(), and m_ibtioff.
Referenced by DTConfigTraco().
void DTConfigTraco::setKRAD | ( | int | KRAD | ) | [inline] |
Set KRAD traco parameter.
Definition at line 158 of file DTConfigTraco.h.
References KRAD(), and m_krad.
Referenced by DTConfigTraco().
void DTConfigTraco::setLVALIDIFH | ( | int | LVALIDIFH | ) | [inline] |
Set Flag for Low validation parameter.
Definition at line 239 of file DTConfigTraco.h.
References LVALIDIFH(), and m_lvalidifh.
Referenced by DTConfigTraco().
{ m_lvalidifh=LVALIDIFH;}
void DTConfigTraco::setPrefHtrig | ( | int | i, |
int | prefHtrig | ||
) | [inline] |
Set Preference to HTRIG on first/second tracks: F(S)HTPRF.
Definition at line 199 of file DTConfigTraco.h.
References m_fhtprf, m_shtprf, and prefHtrig().
Referenced by DTConfigTraco().
void DTConfigTraco::setPrefInner | ( | int | i, |
int | prefInner | ||
) | [inline] |
Set Preference to inner on first/second tracks: F(S)SLMSK.
Definition at line 191 of file DTConfigTraco.h.
References m_fslmsk, m_sslmsk, and prefInner().
Referenced by DTConfigTraco().
void DTConfigTraco::setSingleHflag | ( | int | i, |
int | singleHflag | ||
) | [inline] |
Set Single HTRIG enabling on first/second tracks F(S)HTMSK.
Definition at line 175 of file DTConfigTraco.h.
References m_fhtmsk, m_shtmsk, and singleHflag().
Referenced by DTConfigTraco().
{ if(i==0) m_fhtmsk=singleHflag; else m_shtmsk=singleHflag; }
void DTConfigTraco::setSingleLenab | ( | int | i, |
int | singleLenab | ||
) | [inline] |
Set Single LTRIG accept enabling on first/second tracks LTF.
Definition at line 227 of file DTConfigTraco.h.
References m_ltf, and singleLenab().
Referenced by DTConfigTraco().
{ m_ltf=singleLenab; }
void DTConfigTraco::setSingleLflag | ( | int | i, |
int | singleLflag | ||
) | [inline] |
Set Single LTRIG enabling on first/second tracks: F(S)LTMSK.
Definition at line 183 of file DTConfigTraco.h.
References m_fltmsk, m_sltmsk, and singleLflag().
Referenced by DTConfigTraco().
{ if(i==0) m_fltmsk=singleLflag; else m_sltmsk=singleLflag; }
void DTConfigTraco::setSortKascend | ( | int | i, |
int | sortKascend | ||
) | [inline] |
Set Ascend. order for K sorting first/second tracks: F(S)HISM.
Definition at line 207 of file DTConfigTraco.h.
References m_fhism, m_shism, and sortKascend().
Referenced by DTConfigTraco().
{ if(i==0) m_fhism=sortKascend; else m_shism=sortKascend; }
void DTConfigTraco::setTcBxLts | ( | int | TcBxLts | ) | [inline] |
Set Suppr. of LTRIG in 4 BX before HTRIG: LTS.
Definition at line 224 of file DTConfigTraco.h.
References m_lts, and TcBxLts().
Referenced by DTConfigTraco().
void DTConfigTraco::setTcKToll | ( | int | i, |
int | TcKToll | ||
) | [inline] |
Set K tollerance for correlation in TRACO: F(S)PRGCOMP.
Definition at line 216 of file DTConfigTraco.h.
References m_fprgcomp, m_sprgcomp, and TcKToll().
Referenced by DTConfigTraco().
{ if(i==0) m_fprgcomp=TcKToll; else m_sprgcomp=TcKToll; }
void DTConfigTraco::setTcReuse | ( | int | i, |
int | TcReuse | ||
) | [inline] |
void DTConfigTraco::setUsedBti | ( | int | bti, |
int | mask | ||
) | [inline] |
Set Connected bti in traco: bti mask.
Definition at line 230 of file DTConfigTraco.h.
References m_trgenb, and BitArray< N >::set().
Referenced by DTConfigTraco().
int DTConfigTraco::singleHflag | ( | int | i | ) | const [inline] |
Single HTRIG enabling on first/second tracks F(S)HTMSK.
Definition at line 87 of file DTConfigTraco.h.
References m_fhtmsk, and m_shtmsk.
Referenced by print(), and setSingleHflag().
int DTConfigTraco::singleLenab | ( | int | i | ) | const [inline] |
Single LTRIG accept enabling on first/second tracks LTF.
Definition at line 139 of file DTConfigTraco.h.
References m_ltf.
Referenced by print(), setSingleLenab(), and DTTracoChip::storeUncorr().
{ return m_ltf; }
int DTConfigTraco::singleLflag | ( | int | i | ) | const [inline] |
Single LTRIG enabling on first/second tracks: F(S)LTMSK.
Definition at line 95 of file DTConfigTraco.h.
References m_fltmsk, and m_sltmsk.
Referenced by print(), setSingleLflag(), and DTTracoChip::storeUncorr().
int DTConfigTraco::sortKascend | ( | int | i | ) | const [inline] |
Ascend. order for K sorting first/second tracks: F(S)HISM.
Definition at line 119 of file DTConfigTraco.h.
References m_fhism, and m_shism.
Referenced by DTTracoChip::bestCand(), print(), and setSortKascend().
int DTConfigTraco::TcBxLts | ( | ) | const [inline] |
Suppr. of LTRIG in 4 BX before HTRIG: LTS.
Definition at line 136 of file DTConfigTraco.h.
References m_lts.
Referenced by print(), setTcBxLts(), and DTTracoChip::storeCorr().
{ return m_lts; }
int DTConfigTraco::TcKToll | ( | int | i | ) | const [inline] |
K tollerance for correlation in TRACO: F(S)PRGCOMP.
Definition at line 128 of file DTConfigTraco.h.
References m_fprgcomp, and m_sprgcomp.
Referenced by print(), setTcKToll(), and DTTracoChip::storeCorr().
{ if(i==0) return m_fprgcomp; else return m_sprgcomp; }
int DTConfigTraco::TcReuse | ( | int | i | ) | const [inline] |
Recycling of TRACO cand. in inner/outer SL : REUSEI/REUSEO.
Definition at line 79 of file DTConfigTraco.h.
References m_reusei, and m_reuseo.
Referenced by print(), setTcReuse(), and DTTracoChip::storeUncorr().
int DTConfigTraco::usedBti | ( | int | bti | ) | const [inline] |
Connected bti in traco: bti mask.
Definition at line 142 of file DTConfigTraco.h.
References BitArray< N >::element(), and m_trgenb.
Referenced by print().
int8_t DTConfigTraco::m_btic [private] |
Definition at line 253 of file DTConfigTraco.h.
Referenced by BTIC(), setBTIC(), and setDefaults().
int8_t DTConfigTraco::m_dd [private] |
Definition at line 254 of file DTConfigTraco.h.
Referenced by DD(), setDD(), and setDefaults().
int8_t DTConfigTraco::m_debug [private] |
Definition at line 251 of file DTConfigTraco.h.
Referenced by debug(), DTConfigTraco(), setDebug(), and setDefaults().
int8_t DTConfigTraco::m_fhism [private] |
Definition at line 265 of file DTConfigTraco.h.
Referenced by setDefaults(), setSortKascend(), and sortKascend().
int8_t DTConfigTraco::m_fhtmsk [private] |
Definition at line 257 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleHflag(), and singleHflag().
int8_t DTConfigTraco::m_fhtprf [private] |
Definition at line 263 of file DTConfigTraco.h.
Referenced by prefHtrig(), setDefaults(), and setPrefHtrig().
int8_t DTConfigTraco::m_fltmsk [private] |
Definition at line 259 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleLflag(), and singleLflag().
int8_t DTConfigTraco::m_fprgcomp [private] |
Definition at line 267 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcKToll(), and TcKToll().
int8_t DTConfigTraco::m_fslmsk [private] |
Definition at line 261 of file DTConfigTraco.h.
Referenced by prefInner(), setDefaults(), and setPrefInner().
int8_t DTConfigTraco::m_ibtioff [private] |
Definition at line 272 of file DTConfigTraco.h.
Referenced by IBTIOFF(), setDefaults(), and setIBTIOFF().
int16_t DTConfigTraco::m_kprgcom [private] |
Definition at line 273 of file DTConfigTraco.h.
Referenced by BendingAngleCut(), setBendingAngleCut(), and setDefaults().
int8_t DTConfigTraco::m_krad [private] |
Definition at line 252 of file DTConfigTraco.h.
Referenced by KRAD(), setDefaults(), and setKRAD().
int8_t DTConfigTraco::m_ltf [private] |
Definition at line 270 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleLenab(), and singleLenab().
int8_t DTConfigTraco::m_lts [private] |
Definition at line 269 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcBxLts(), and TcBxLts().
int8_t DTConfigTraco::m_lvalidifh [private] |
Definition at line 274 of file DTConfigTraco.h.
Referenced by LVALIDIFH(), setDefaults(), and setLVALIDIFH().
int8_t DTConfigTraco::m_reusei [private] |
Definition at line 255 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcReuse(), and TcReuse().
int8_t DTConfigTraco::m_reuseo [private] |
Definition at line 256 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcReuse(), and TcReuse().
int8_t DTConfigTraco::m_shism [private] |
Definition at line 266 of file DTConfigTraco.h.
Referenced by setDefaults(), setSortKascend(), and sortKascend().
int8_t DTConfigTraco::m_shtmsk [private] |
Definition at line 258 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleHflag(), and singleHflag().
int8_t DTConfigTraco::m_shtprf [private] |
Definition at line 264 of file DTConfigTraco.h.
Referenced by prefHtrig(), setDefaults(), and setPrefHtrig().
int8_t DTConfigTraco::m_sltmsk [private] |
Definition at line 260 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleLflag(), and singleLflag().
int8_t DTConfigTraco::m_sprgcomp [private] |
Definition at line 268 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcKToll(), and TcKToll().
int8_t DTConfigTraco::m_sslmsk [private] |
Definition at line 262 of file DTConfigTraco.h.
Referenced by prefInner(), setDefaults(), and setPrefInner().
BitArray<16> DTConfigTraco::m_trgenb [private] |
Definition at line 271 of file DTConfigTraco.h.
Referenced by setDefaults(), setUsedBti(), and usedBti().
const int DTConfigTraco::NMAXCAND [static] |
Costant: maximum number of TRACO output candidates to TS.
Definition at line 48 of file DTConfigTraco.h.
const int DTConfigTraco::RESOLPSI = 512 [static] |
Costants: esolution for psi and DeltaPsiR (phi_B)
Definition at line 44 of file DTConfigTraco.h.
Referenced by DTTracoChip::calculateAngles().
const int DTConfigTraco::RESOLPSIR = 4096 [static] |
Costant: resulution for psiR (phi)
Definition at line 46 of file DTConfigTraco.h.
Referenced by DTTracoChip::calculateAngles().