31 Oct 06 1) make sure emchieff is always initialized (thanks James Degenhardt) 21 Sept 06 1) change tracking rcp for pmcs_smear_wz_p17.rcp from pmcs_chprt_datap14_w to pmcs_chprt_datap14 2) from M. Sanders To get ChargedParticles in the output chunk that look more like real ChargedParticles than before, I changed: * set mass of the particle to the pion mass, instead of zero (chprt_smear.cpp) * set the z0 of the particle to the generated z of the vertex (pmcs_output.cpp) * set the particle ID to +120 or -120, depending on the (smeared) charge (pmcs_output.cpp) For study purposes, I added an RCP switch: * ApplyEfficiencies (default true) (pmcs_chprt.hpp, pmcs_chprt.cpp) If this is false, tracking efficiencies are not applied. * change "SortPt" in the pmcs_setup RCP files to "doSortPt" to be consistent with the pmcs_setup code... 31 Aug 06 1) fix what seems to be a compiler dependent bug in pmcs_em that made the fiducial regions for forward electrons be set incorrectly 21 Jul 06 1) change so that photons are merged with electrons in ec if within a cone in delta_x,delta_y, not delta_eta,delta_phi 31 May 1) add pdf reweighting code from Junjie 28 Mar 06 1) add chad's new p17 muon tune (d0 note 5076) 15 mar 06 1) add p17 "stark" tune to pmcs_em (see talks in W mass meeting from Jan to March) 2) change default for smearing tune to p17 14 Mar 06 1)fix leak in pmcs_jet (reported by Toole) 2) add variables to allow pdf reweighting (p20-00-01 and v02-n01-02 pmcs_jet v02-n02-03 pmcs v01-n01-05 pmcs_out put v02-n01-04 pmcs_util 3) add p17 jet smearing ala d0note by Voutilainen and Royon (does not have note number yet) (p20-02-02) 02 Feb 06 1) fix problem with filling weights (Zhu, Toole) 2) new muon/chprt tune (Telford) (see D0 note 4935) 3) new em tune for p17 (Lei Wang) 4) fix bug in pmcs_jet that causes occasional crash (Toole) 5) fix bug in pmcs_met that causes problems correcting jets for energy scale (Renkel) 6) add rcp files for p17 tunes 27 May 05 1) fix event weights in native root tuple 2) remove lhapdf interface until more stable p17br-n04-00, v02-n01-00 15 Mar 05 1) add isolation variable used in NP analyses to pmcs_muon 2) change code in pmcsParticle for storing efficiencies so can store a value for the variable that is cut on v01-n04-00, p17br-n04-00 15 Mar 05: decide to abandon p14 chain 10 mar 05 fix small memory leak because vertex objects were not deleted pmcs_util tag v01-n03-00, p14br-n03-00, p17br-n03-00 2 Mar 05 improve zwang met algorith so that it uses smeared instead of generator muons in met calculation pmcs_met tag v01-n03-00, p14br-n03-00, p17br-n03-00 22 Dec 04 make pmcs so it can pick the primary vertex positions (hopefully, this time the code is right!) tags v01-n02-00, p14br-n02-00, p17br-n02-00) 17 Dec 04 additions from Frederic - pmcs_muon: update smearing parameters, add isolation efficiency - pmcs_chpart: adapt to be able to choose the z binning for tracking efficiency with SMT hits requirement vs CFT detector eta - pmcs_trig, pmcs_util: add single muon trigger efficiency - pmcs_util: add CFT detector eta method - pmcs_met: remove muon correction into MET output (i.e. return the calorimeter missing ET) - pmcs_output: fill isolation in the muon chunk, add the creation of a L3Chunk. 14 Dec 04 based on a bug report by Raymond Gelhaus, had turned off electron-photon merging. tested it now, and it seems fine, so am turning it back on. suspect his problem was a clash between pmcs and epmcs (tags p17br-01-07, v04-21-10, p14br-506) 30 Nov 04 add herwig exe (from Paul Telford) add selective pruning of generator particles for wz group 2 nov 04 fix bug in code that retreives numbers from root histograms. it was getting the data from one bin too high 5 oct code that gets information from root histograms somehow broke in p14 (don't understand why). fix. 25 aug 04 back out allowing pmcs to pick vertex, as this causes over smearing of eta of electrons which do not have a matched track v04-20-05 pmcs 17 Aug 04 last change caused a severe bug that caused particles to be counted many times. fix and retag v04-20-04 pmcs 26 Jul 04 fix bug dealing with events that have been processed through d0sim and have pileup v04-20-03 pmcs 20 jul 04 fix bug in random histogram when initialized off root hist tag v04-20-02 pmcs_util 19 Jul 04 fix bug that turned off photon phi smearing when doing phi migration pmcs_em tag v04-20-02 16 Jul 04 fix bad bug in randomhist add new variable to pmcs_em native root tuple (cal phi) add phi migration to crack electrons pmcs_em tag v04-20-01 pmcs_util tag v04-20-01 pmcs tag v04-20-02 15 Jul 2004 add pointers between gen and smeared electron to native root tuple 11-June 2004 Frederic's code to make thumbnails work. tag everything v04-20-00 4 June 2004 add phi migration code to pmcs_em tag v04-10-03 2 June 2004 tag v04-10-02 1) make so vertex is picked according to data histogram, instead of using generator vertex, as default 1 June 2004 tag v04-10-01. 1) fix bug in pmcs_vtx which put generated, not smeared, z into smeared vertex 2) code to access smeared vertex from a smeared particle 3) example of how to do this in pmcs_muon:analyzeEvent 4) new tools in pmcsHistogram (getting ready for new pmcs_em code from Jim) all code before here is in t04.04.00 21 May add Paul's new code which 1) does a better job at muon efficicies 2) revamps pmcs_trig 3) has separate tracking efficiencies for electrons, muons from now on, changes only go into "t" branch, not p14 18 May 1) turn off electron-photon merging in test branch. Raymond found that there is a bug, but don't know how to fix it. 29 Apr 04 1) put in fix for met interface change (v04-00-01 pmcs_output) 26 Apr 04 1) commend out met chunk code in test. interface change makes it not work. 05 Apr 04 1) put in jet resolutions from "Measurement of dijet azimuthal angle distribution in ppbar coll..." by Kupco et al 11 Mar 04 1) fix bug in pmcs_met that gave wrong met with wz algorithm when there was a photon above 100 GeV. this bug went in 18 Dec (p14br-400, v04-00-00) 2) lower thresholds for photons 10 Mar 04 1) better MET calc for WZ algorithm with nonfiducial electrons (v03-00-01, p14br-201) 04 Mar 04 1) realized that Andrew contained a data tune for p13 muon efficiencies, not just p13 muon chamber resolutions. turn these on. 2) add a uparallel bias to met WZ algorithm 3) split electron id efficiencies into hmtx and id1011 (new tag series: p14br-200 v03-00-00) 17 Feb 04 1) add andrew askew's local muon chamber resolutions (tags p14br-131, v02-11-01) 14 Feb 04 1) change rcp for pmcs_em for p14 tune. numbers for ec smearing change slightly (tags v02-12-02, p14br-134) 30 Jan 04 1) p14 tunes for pmcs_em, wz alg of pmcs_met from jim 26 jan 04 1) better handling of electrons in zwang met algorithm 2) new toycal met algorithm pmcs p14br-132 v02-12-03 pmcs_met p14br-131 v02-11-01 21 jan 04 1) add p14 pmcs_chprt tune, with new parameter scale nd offset tags pmcs_chprt p14br-132 v02-11-01 pmcs p14br-131 v02-12-02 14 jan 04 1) add ability to merge photons and electrons within a cone. 2) add variables to native root tuple related to these 12 Jan request release (p14.06? and t03.47?) 11 Jan 04 1) remove "stable" quarks (pythia artifact) from jets 18 Dec 03 (p14br-120 and v02-11-00) 1) add pointer from generated to smeared list and visa versa in pmcs_muon 2) new code to remove non fiducial electrons if you don't do the fiducial cuts yourself 3) redo the maps in pmcs_util (major code revision!) 11 Dec 03 1) put in kludge to protect against a bug in pythia/mcpp that calls quarks stable hadrons 30 Nov 03 1) add better muon chamber geometry to pmcsPropgator (faked, though) 10 Nov 03 1) add ID efficiency to pmcs_jet (p14br-111) 2) fix bug in filling of uds,b,c frac in native root tuple of pmcs_jet (p14br-111) 2) create framework for bcjet package 3 Nov 03 (v02-00-01) into t03.41.00, p14.06.00 1) correct bug in chunkwriting for muons 19 Oct 03 (p14br-101, v02-00-00) into p14.06.00, t03.40.00 1) add efficiency structure to pmcs_chprt, _em, and _jet 2) put Jim's tracking efficiencies into _chprt 3) add read for VDouble into rcp tool 4) better naming for efficiency variables in native root tuple 5) add Jim's em efficienices into _em 6) use electron track angles in native root tuple 7) turn on ue in zwang met alg (at 2.5 GeV) 8) flag so tracks that are not found can be removed from output (default is kept even if not found) 15 Sept 03 ask for test release (t03.35.00) 15 Sept 03 1) add variables with to native root tuple that give fraction of each jet from b quarks, etc 11 Sept 1) code in pmcs to match jets with partons and identify types fraction of jet energy from each type of parton is stored with the jet. 2) improve code to distinguish between the primary vertex and secondary ones 20 Aug 03 1) more fixes to tmb code, to prevent rare crashes. 18 Aug 03 1) set up pmcs_em and pmcs_jet so can do thumbnail correctly 2) remove trigger simulation from thumbnail rcp because for some reason it crashes. this needs to be resolved. p15.05 24 Jul 1) add charge to muon native root tuple 2) add charge to track native root tuple 3) add charge smearing to track 17 Jul 03 1) put les houches back for next p15 build 2) add rcp to pmcs_chprt for p13 cft fix data (tag v01-98-01) 3 july 03 released into p15.04 25 June tag pmcs v01-98-02 1) add instructions to use pmcs with cab tag pmcs_met v01-98-02 1) major revision of the wzruni MET algorithm. properly handle events with muons and photons. (before, just did electrons right). tag pmcs_em v01-98-02 1) new smearing constants for electrons/photons (p13 tune) tag v01-98-00 p15.03 release 5 june 03 1) add option to make pmcs generator jets include muons and neutrinos 2) fix bug in pmcs_jet smearing that essentially turned the smearing off 2 June 03 1) add files to pythia link so can use comphep 27 May 03 1) remove kcgl from p14 release 2) correct pmcs_isaj exe link 3) make separate rundata area to store files pmcs needs at run time 4) change frame_pmcs.rcp so default is *not* file that has been through d0reco 5) fix bug in photon rootuple filling in p15 and test 13 May 03 1) modify for interface changes in muon code Apr 29 03 1)modify for interface change in muon code Apr 28 03 1) update for interface change in muon code tag v01-97-00 31 Mar 2003 pmcs_met tagged v01-96-01 1) adapt to a change in the interface for missingET 2) add rcp file to allow thumbnail fillinga 3) move all code for physics object chunk creation from individual packages to pmcs_output 4) add methods for creating physics objects to pmcs_output Mar 10 2003 pmcs tagged v01-96-03 1) get rid of isajet exe pmcs,pmcs_muon tagged v01-96-02 Mar 2 release 1) update rcp files in pmcs, pmcs_muon 2) switch from isajet to pythia for default generator Feb 24 release 1) update usechunks rcps so works with new tunes 2) make so pmcs can write thumbnails pmcs,pmcs_muon tagged v01-96-01 Feb 17 release 1) p13 tune for pmcs_muon acceptance It was made with (medium + nseg=3) muons for p13.05 MC. all tagged v01-96-00 Feb 10 release 1) fix major bug in pmcs_jet rcp which made the generator particle threshold 1 GeV 2) differentiate eta and rapidity in l4vec and pmcsParticle 3) allow to remove calo scope cut on generator particles in pmcs_jet 4) update pmcs_jet and pmcs_met_wz for p1303 tunes Feb 3 03 release 1) add code to pmcs_util and pmcs_jet to handle making jets from pmcs_cal output 2) add code to pmcs_met to keep it from crashing when using jets from pmcs_cal output pmcs_em tag v01-95-00 pmcs_util tag v01-94-01 Jan 13 release 1) change abs to fabs in pmcs_chprt::chprt_smear, RHA algorithm, at line if (abs(sin(gen_theta)) > 0.358) 2) general clean up pmcs_em code 3) move some utility functions from pmcs_em to pmcs_util 4) add a phi variable to pmcs_em native root tuple 5) some compiler incompatibility in pmcs_muon v01-94-00 tag Dec 23 release 1) bug in fiducial routine of pmcs_em fixed, and how fiducial flags are used in pmcs_em {junjie zhu) 2) fix bug in native ntuple of pmcs_jet of filling of E (alexander kupco) 3) new p11 data tune for pmcs_em (junjie zhu) 4) fix bug in filling octant information in muon chunk (finishEvent) v01-93-00 tag Dec 16 release 1) reorganize pmcs_constants in pmcs_jet 2) reorganize pmcs_jet to make making pmcs_cal jets easier 3) add debug flag to pmcsOutput 4) update how efficiencies are stored in pmcsParticle 5) pass/fail definition reversed in muon_smear::efficiency 6) reput pt min cut into pmcs_chprt 7) reput eta max cut into pmcs_chprt (though, it really should be a cut on number of fibers crossed... use frank's code) 8) use primary vertex position, not 0., during pmcs_jet::processEvent 9) add E to pmcs_jet native ntuple 10) add debug flag to pmcs_setup Dec 2 02 release 1) add debug flags to all packages 2) get rid of pmcs_constants from pmcs_chprt, met,muon,tau,vtx 3) replace pmcs_em_constants calls in pmcs_em_func with pmcsPropogator calls Nov 25 release 1) better anahist example for muons 2) fix crash in pmcsPropogator when pz=0 3) flag so that can make it so only muons which pass tight cuts get written to pmcsOutputChunk Nov 18 release 1) remove redundant trigger information from native format ntuple 2) link in d0_mess 3) remove superfluous variables from pmcs_chprt and pmcs_jet native format ntuples 4) fix bug in storing event information during pmcs_setup 5) add extra event information for kcgl to InputChunk Nov 11 release 1) give rcp files better names Nov 4 2002 release 1) clean up pmcs_chprt::buildEvent so it only contains Frank's code 2) add extrapolation to em3 and ps 3) remove pmcs_magnet (replaced by pmcsPropogator) 4) make so isolation calc in pmcs_em uses particle positions at em3 5) jim's new p11 pmcs_em rcp Oct 27 release 1) put bing's smearing constants in to pmcs_chprt 2) update rcp's in pmcs/rcp to use the rcp with these new constants 3) add exe for extra dimensions generator 4) rough tuning of pmcs_em to p11 data 5) cleanup pmcs_em native root tuple 6) clean Frank's code a little and pmcs_chprt::buildEvent[:w 7) improve example for anahist for Ryan Oct 21 release 1) add Ryan Hooper's muon efficiency tables 2) add a pass/fail efficiency word to pmcsParticle Sept 30 release 1) make an exe with wzgen 2) add met_analyze to all the exe's 3) update some rcp files for d0_analyze 4) fix crash in pmcs_met using wzruni algorithm when there is no smeared electron for a generator electron 5) fix extrapolation routine 6) new acceptace flag code Split the pmcs_types.cpp file in 4 different files (pmcsL4vec, pmcsFiducial, pmcsParticle and pmcsVtx). Introduce new classes pmcsOrigin, pmcsPropagator, pmcsTrkpara and pmcsFiducial (which is a different implementation of pmcsFiducialFlags). pmcs_types is not compiled into the library any more and kept only for reference. July 29 2002 release 1) compoent tests requirement July 26 release 1)New RCP file for running on MCPP files and generating RecoAnalyze ROOT tuples July 22 release 1) switch from nagy to rha smearing in pmcs_chprt until marco fixes July 15 release 1) switch to turn on/off pileup particles in generator jets July 8 2002 release 1) do met calculation before jet energy scale correction 2) add underlying event smearing to zwang met algorithm July 1 2002 release 1) fix electron isolation (temp it is calculated at interaction, not at surface of calorimeter, because qSurf seems broken) 2) add energy scale to jets 3) fix pt cut in pmcs_em build event and add detector eta cut 4) raise default generator-level pt cut for photons 5) add EM-energy cone isolation calculation to pmcs_util:pmcs_func isolation routine 6) add improved legacy cone algorithm 7) add member function y() to pmcsParticle to allow 6) 8) enable jim's efficiency flags by region 9) update resolutions for jets 10) do preclustering for jets more correctly June 17 2002 release 1) change default tracking algorithm from RHA to EN_ZMW (why wasn't this the default?) 2) use new met_analyze to process met chunk in frame_pmcs_usechunks.rcp 3) remove muons from list of visible particles so won't be used in jet finding 4) correct ID for photons in pmcs_em::finishEvent 5) move min pt cut to buildEvent in pmcs_em June 10 2002 release 1) add met_analyze to pmcs_x exe 2) fix muon charge 3) add more info to muon chunk writing June 1 2002 release 1) set defaults in em_chunk so em_frac comes out at 1. 2) fix particle id in em_chunk 3) better parameterization of muon acceptance from shawn May 20 release 1) technical changes to avoid compiler warnings May 13 release 1) new muon smearing code from Shawn 2) make new exe with run I wz generator 3) fix bug in destructors May 6 release 1) major restructoring of pmcs_output, including moving it out of pmcs and into its own package, pmcs_output, and getting rid of the old preliminary root tree in preparation for the official root tree Apr 29 release 1) remove obsolete code from pmcsOutputDevice Apr 15 release 1) cleanup of LIBRARIES 2) update RCP parameters for pmcs_muon apr 01 release 1) partially fix memory leak in chunk creation 2) remove pyr from list of linking 3) retune muon smearing to more recent reco version from shawn (p10.11.00) mar 18 release 1) set default met algorithm to zwang feb 18 release 1) fix pmcs_setup.rcp (problem entered last release) 2) add flag to switch to muon chamber momentum for muonparticle chunk output 3) add varibles for muon momentum to stand alone roottuple output 4) try to fix efficeincy in eta>2 region in pmcs_muon Feb 4 release 1) rcp file for junjie's electron code 2) add option to chose frequency for event printing message 3) junjie fixed bugs in wzruni met algorithm 4) add thresholds to elemer's root tree 5) smearing changed in pmcs_chprt for correlated variables Jan 28 release 1) junjie zhu's new electron code jan 18 release 1) add pmcs_muon_func, and move dave hedin's calthick routine into it jan 11 release 1) update for new interface to jets nov 12 release 1) fix pmcs_pythia_x 2) make pileup the default when running pmcs_pythia_x nov 5 release 1) fix crash during creation of muon chunk 2) some fixes to pmcs_trig packages 29 oct release 1) use track to define angles for electrons (shawn kwang) 2) make capitialization convention for makemuonchunk varaible same as for other packages (chung khim lae) 3) new pmcs_trig package 8 oct release 1) fix bug in jet chunk filling 2) update frame_pmcs_usechunks.rcp so can use more *_analyze packages 3) partial fix to memory leak 1 oct release 1) add rcp frame_pmcs_usechunks that uses the pmcs output chunks and the incredibly slow *_analyze package to put pmcs stuff into ntuple 2) new code for pmcs_chprt from elemer 3)add pt cut on output to chunks for pmcs_em 17 sep request for release 1) add muon chunk writing 2) fix bug in pointer to track from electron,muon 3) fix bug in root tree output (not properly reset at end of event) 4) add muon and trks trees to root tree output 5) update histogram file for charged track smearing 10 sep request for release 1) add root file with 3D smearing for charged particles 2) correct bug in pmcs_chprt rcp for new smearing algorithm 31 aug request for release 1) added a new smearing algorithm for charged particles (to use it set chprtSmearAlgo="EN_ZMW" in pmcs_chprt.rcp). 2) some updated to the root tree (Muon and Trks) 3) update the RCP file for Isajet 23 aug 01 request for release 1) Dave's new code a) turn on muon smearing b) put in range-out 02 aug 01 request for release 1) remove obsolete "recoil" code 2) move primary vertex selection from pmcs_vtx::buildEvent to pmcs_setup::buildEvent 3) fix bug in code to get random number according to a histogram 4) make new exe for single particles pmcs_singleparticle_x 5) vertex chunk output code 6) fix of bug in pmcs_em chunk writing 7) fix bad bug in gen level jet finding (initialization of isolation cut to 0) 20 jul 01 request for release 1) fix bug in qSurf calculation in pmcs_chprt::buildEvent (actually, in getPhi) 2) remove VERSION files that are out-of-date, and do nothing for bin's with generators linked in 3) remove unnecessariry objects and libraries 4) change calculation of generator met in pmcs_met::buildEvent to work off invisible particles, not visible, to work better with "cms" generator 5) add function invisible to pmcsInputChunk 13 july 01 request for release 1) add lightest susy neutral gaugino to list of particles not in VisibleParticles in pmcsInputChunk. add to list of neutrinos as well, even though its not one. 2) make function that calclates generator e or et in a cone, either charged+neutral, or charged only, using generator particles above a settable threshold 3) remove e/p variable from pmcs_em 4) add delta_R function to pmcsL4vec 5) add >> routine for pmcsL4vec 6) make so qSurf is calcualted for all particles, not just those passing pmcs_setup fiducial cuts 7) fix major bug in part of pmcs_chprt code that extrapolate particles to the calorimeter 8) florencia's new code which uses detector eta and z, not physics eta, and also defines more fiducial regions 5 July 01 request for release 1) fix bug in getting pmcs_tau rcp 2) fix bug with varaibles created with "new" command in pmcs_chprt and pmcs_chprt destrctor 3) fix major bug in muon_smear.cpp (sp initialized to zero, not to p) 4) make so d0physobj chunks inherit from mckine chunks, and not pmcs output chunk 5) small changes to pmcs_muon 22 jun 01 request for release 1) remove hardwiring of rcp names from all packages 2) in ntuple, add pointer from muon to track caused by muon 3) put in s new MET algorithm that is like run I CMS MC algorithm (for W/Z) 4) add utilities to read root histogram from file and use to pick random numbers from 5) make so pmcs_vtx can chose primary vertex from a histogram 6) reorganize pmcs_vtx so structure resembles pmcs_em 7) fix bug in pmcs_em_func/phi_mag_extrap (replace 2->200) 12 jun 01 request for release 1) georg/bing's new muon code 2) move from mcpp to CLHEP random number generators 8 jun 01 request for release 1) add pmcsMergeKine to link 2) make separate exe's for isajet, herwig, vecbos, pythia, no generator 3) fix problem with destructors in pmcs_output 4) fix so can run with pmcs_output not in the path 5) change pmcs_muon.rcp so georg's algorithm is chosen as default 6) fix improper deletion of pointers in pmcs_chprt 7) add pointer from electron list to track list in ntuple output 2 jun 01 1) fix bug that prevents redirect of pmcs_output.rcp to a file with a different name 2) add Georg's muon code 3) rcp's to make it easier for PAW users 4) utility to make it easier to clean up after running, to prepare for next run 24 May P09 begins request for release on May 17 the bug release I requested on may 9th never happened, so try try again... request for bug fix on May 9, 2001 1) add _t routines for frank's new routines 2) comment out line in PMCSEmcl.cpp that gives warning request for release on May 3, 2001 1) frank's new code for the acceptance of the fiber tracker 2) stephanie's new code so pmcs can output in root tree format 3) add test for pmcsOutputDevice_AnaHists.cpp 4) remove "old" algorithm from pmcs_chprt, which had a bug, and replace with "rha" algorithm as default 5) move pmcs_vtx before pmcs_em in frame_pmcs*.rcp request for bug fix april 24 1)comment out code for making particle chunks in pmcs_jet and pmcs_chprt for now request for release on April 19, 2001 (for t01.43.00?) 1) new output device for histograms you make while running pmcs (AnaHists) 2) add flag to turn off pmcs output chunk, and set to off by default 3) turn off all particle chunk output as default 4) fix bug that causes pmcs to ignore particles with negative eta 5) enable pmcs_vtx. add flag so it can either use the generator primary vertex, or make its own. request for release on april 13, 2001 (for t01.42.00?) 1) add new SAM libraries 2) remove pmcs_cal as default in rcp 3) florencia's new pmcs_em smearing routines and rcp's 4) add std:: everywhere 5) make the default in the rcps to not make the particle chunks 6) add more documentaiton in pmcs_output.cpp 7) fix pmcs_met so won't crash if ntuple output is turned off