TWIKIS ARE TERRIBLE
About Me
I am a physics PhD student
attending Rutgers University. I'm currently at CERN. My name is sometimes Tote Hughes.
Notes
detId
(32-bit
unsigned integer
)
This variable identifies a place in the CMS detector. The 4 most significant bits (MSBs) identify the CMS sub-detector:
- 1 - Tracker
- 2 - Muon
- 3 - ECal
- 4 - HCal
The next 3 bits identify the sub-detector component.
In my project, I encounter 3 different detId ranges:
- 1.107E9 = 0100 000 1111110110111101011000000
- sub-detector (SD) = "0100" = "4" = "HCal"
- component (SDC) = "000" = "0"
- 1.140E9 = 0100 001 1111100110000010100000000
- 1.207E9 = 0100 011 1111100010101101111000000
QIE10/11
More information
(Outdated)
CMSSW
Event Info (eventInfo)
I will call the collection of run, lumi, and event
eventInfo
.
eventInfo
is an object of class
EventID
(
DataFormats/Provenance/interface/EventID.h
). The
Event
class contains an
EventID
, which can be accessed with
id
. Therefore,
cout << iEvent.id() << endl;
returns
run: 176466 lumi: 45 event: 75893703
which is the same output as results from
cout << "run: " << iEvent.id().run() << " lumi: " << iEvent.id().luminosityBlock() << " event: " << iEvent.id().event() << endl;
CMSLPC
Grid certificate information
To initialize a grid proxy, use:
voms-proxy-init --voms cms
This will be valid for 12 hours by default. Should you need more time, use:
voms-proxy-init --voms cms -valid [hh:mm]
Miscellaneous
To copy a xrootd file, use:
xrdcp root://xrootd.unl.edu/[LFN] [local path]