Index: trunk/Mars/resmc/fact/MirrorReflectivity_20130402.txt
===================================================================
--- trunk/Mars/resmc/fact/MirrorReflectivity_20130402.txt	(revision 17379)
+++ 	(revision )
@@ -1,608 +1,0 @@
-# this file was taken from the logbook (https://www.fact-project.org/logbook/showthread.php?tid=548, MirrorReflectivity_Lustermann_FACT.txt).
-# The three values for the reflectivity per wavelength in the original document were averaged.
-# For a wavelength of 900 and 950 two values for the reflectivity were estimated.
-# The values are NOT multiplied by 1.035 (or even 1.0375, as Julia Thaele supposed in the logbook thread).
-# about 4 of 5 values are commented out, to accelerate the spline calculation.
- 200 0.5271       
-# 201 0.5420       
-# 202 0.5569       
-# 203 0.5714       
-# 204 0.5852       
- 205 0.5988       
-# 206 0.6117       
-# 207 0.6240       
-# 208 0.6355       
-# 209 0.6465       
- 210 0.6569       
-# 211 0.6665       
-# 212 0.6755       
-# 213 0.6840       
-# 214 0.6916       
- 215 0.6987       
-# 216 0.7053       
-# 217 0.7111       
-# 218 0.7166       
-# 219 0.7216       
- 220 0.7260       
-# 221 0.7302       
-# 222 0.7336       
-# 223 0.7368       
-# 224 0.7397       
- 225 0.7423       
-# 226 0.7446       
-# 227 0.7465       
-# 228 0.7484       
-# 229 0.7498       
- 230 0.7509       
-# 231 0.7518       
-# 232 0.7527       
-# 233 0.7532       
-# 234 0.7534       
-# 235 0.7535       
-# 236 0.7532       
-# 237 0.7529       
-# 238 0.7525       
- 239 0.7517       
-# 240 0.7509       
-# 241 0.7499       
-# 242 0.7486       
-# 243 0.7472       
- 244 0.7458       
-# 245 0.7442       
-# 246 0.7424       
-# 247 0.7405       
-# 248 0.7385       
- 249 0.7365       
-# 250 0.7343       
-# 251 0.7322       
-# 252 0.7297       
-# 253 0.7273       
- 254 0.7250       
-# 255 0.7226       
-# 256 0.7204       
-# 257 0.7179       
-# 258 0.7156       
- 259 0.7134       
-# 260 0.7113       
-# 261 0.7093       
-# 262 0.7074       
-# 263 0.7056       
- 264 0.7039       
-# 265 0.7023       
-# 266 0.7009       
-# 267 0.6995       
-# 268 0.6984       
-# 269 0.6976       
-# 270 0.6968       
-# 271 0.6963       
-# 272 0.6960       
- 273 0.6961       
-# 274 0.6964       
-# 275 0.6967       
-# 276 0.6972       
-# 277 0.6981       
- 278 0.6991       
-# 279 0.7003       
-# 280 0.7019       
-# 281 0.7036       
-# 282 0.7055       
- 283 0.7075       
-# 284 0.7098       
-# 285 0.7123       
-# 286 0.7149       
-# 287 0.7174       
- 288 0.7202       
-# 289 0.7233       
-# 290 0.7265       
-# 291 0.7295       
-# 292 0.7328       
- 293 0.7361       
-# 294 0.7395       
-# 295 0.7430       
-# 296 0.7464       
-# 297 0.7500       
- 298 0.7534       
-# 299 0.7568       
-# 300 0.7605       
-# 301 0.7641       
-# 302 0.7673       
-# 303 0.7707       
-# 304 0.7743       
-# 305 0.7777       
-# 306 0.7812       
- 307 0.7846       
-# 308 0.7879       
-# 309 0.7912       
-# 310 0.7944       
-# 311 0.7975       
- 312 0.8007       
-# 313 0.8037       
-# 314 0.8065       
-# 315 0.8095       
-# 316 0.8124       
- 317 0.8152       
-# 318 0.8161       
-# 319 0.8180       
-# 320 0.8207       
-# 321 0.8232       
- 322 0.8255       
-# 323 0.8275       
-# 324 0.8302       
-# 325 0.8325       
-# 326 0.8346       
- 327 0.8368       
-# 328 0.8390       
-# 329 0.8412       
-# 330 0.8429       
-# 331 0.8448       
- 332 0.8466       
-# 333 0.8484       
-# 334 0.8501       
-# 335 0.8519       
-# 336 0.8535       
-# 337 0.8553       
-# 338 0.8569       
-# 339 0.8583       
-# 340 0.8597       
- 341 0.8610       
-# 342 0.8626       
-# 343 0.8636       
-# 344 0.8648       
-# 345 0.8662       
- 346 0.8674       
-# 347 0.8683       
-# 348 0.8695       
-# 349 0.8706       
-# 350 0.8716       
- 351 0.8726       
-# 352 0.8737       
-# 353 0.8747       
-# 354 0.8755       
-# 355 0.8766       
- 356 0.8772       
-# 357 0.8782       
-# 358 0.8787       
-# 359 0.8798       
-# 360 0.8804       
- 361 0.8810       
-# 362 0.8818       
-# 363 0.8823       
-# 364 0.8828       
-# 365 0.8836       
- 366 0.8842       
-# 367 0.8851       
-# 368 0.8851       
-# 369 0.8857       
-# 370 0.8864       
-# 371 0.8872       
-# 372 0.8876       
-# 373 0.8879       
-# 374 0.8882       
- 375 0.8886       
-# 376 0.8890       
-# 377 0.8893       
-# 378 0.8897       
-# 379 0.8912       
- 380 0.8912       
-# 381 0.8916       
-# 382 0.8921       
-# 383 0.8922       
-# 384 0.8927       
- 385 0.8930       
-# 386 0.8931       
-# 387 0.8935       
-# 388 0.8936       
-# 389 0.8940       
- 390 0.8938       
-# 391 0.8945       
-# 392 0.8946       
-# 393 0.8948       
-# 394 0.8951       
- 395 0.8949       
-# 396 0.8952       
-# 397 0.8955       
-# 398 0.8956       
-# 399 0.8958       
- 400 0.8958       
-# 401 0.8958       
-# 402 0.8960       
-# 403 0.8962       
-# 404 0.8963       
-# 405 0.8963       
-# 406 0.8965       
-# 407 0.8965       
-# 408 0.8966       
- 409 0.8965       
-# 410 0.8968       
-# 411 0.8967       
-# 412 0.8970       
-# 413 0.8968       
- 414 0.8966       
-# 415 0.8965       
-# 416 0.8967       
-# 417 0.8967       
-# 418 0.8967       
- 419 0.8967       
-# 420 0.8967       
-# 421 0.8968       
-# 422 0.8965       
-# 423 0.8966       
- 424 0.8966       
-# 425 0.8965       
-# 426 0.8965       
-# 427 0.8965       
-# 428 0.8962       
- 429 0.8962       
-# 430 0.8960       
-# 431 0.8959       
-# 432 0.8957       
-# 433 0.8958       
- 434 0.8957       
-# 435 0.8957       
-# 436 0.8955       
-# 437 0.8954       
-# 438 0.8951       
-# 439 0.8951       
-# 440 0.8949       
-# 441 0.8947       
-# 442 0.8944       
- 443 0.8941       
-# 444 0.8941       
-# 445 0.8939       
-# 446 0.8939       
-# 447 0.8939       
- 448 0.8938       
-# 449 0.8938       
-# 450 0.8938       
-# 451 0.8939       
-# 452 0.8940       
- 453 0.8940       
-# 454 0.8942       
-# 455 0.8943       
-# 456 0.8943       
-# 457 0.8944       
- 458 0.8942       
-# 459 0.8943       
-# 460 0.8942       
-# 461 0.8943       
-# 462 0.8943       
- 463 0.8940       
-# 464 0.8937       
-# 465 0.8934       
-# 466 0.8931       
-# 467 0.8929       
- 468 0.8927       
-# 469 0.8924       
-# 470 0.8920       
-# 471 0.8917       
-# 472 0.8912       
-# 473 0.8908       
-# 474 0.8903       
-# 475 0.8898       
-# 476 0.8894       
- 477 0.8890       
-# 478 0.8885       
-# 479 0.8880       
-# 480 0.8875       
-# 481 0.8869       
- 482 0.8863       
-# 483 0.8857       
-# 484 0.8851       
-# 485 0.8846       
-# 486 0.8843       
- 487 0.8840       
-# 488 0.8838       
-# 489 0.8837       
-# 490 0.8836       
-# 491 0.8834       
- 492 0.8834       
-# 493 0.8834       
-# 494 0.8833       
-# 495 0.8833       
-# 496 0.8832       
- 497 0.8831       
-# 498 0.8830       
-# 499 0.8829       
-# 500 0.8828       
-# 501 0.8828       
- 502 0.8826       
-# 503 0.8824       
-# 504 0.8821       
-# 505 0.8818       
-# 506 0.8814       
-# 507 0.8810       
-# 508 0.8806       
-# 509 0.8801       
-# 510 0.8796       
- 511 0.8793       
-# 512 0.8790       
-# 513 0.8787       
-# 514 0.8782       
-# 515 0.8776       
- 516 0.8771       
-# 517 0.8766       
-# 518 0.8759       
-# 519 0.8754       
-# 520 0.8750       
- 521 0.8745       
-# 522 0.8742       
-# 523 0.8738       
-# 524 0.8733       
-# 525 0.8729       
- 526 0.8723       
-# 527 0.8718       
-# 528 0.8711       
-# 529 0.8705       
-# 530 0.8700       
- 531 0.8696       
-# 532 0.8692       
-# 533 0.8688       
-# 534 0.8685       
-# 535 0.8679       
- 536 0.8674       
-# 537 0.8668       
-# 538 0.8662       
-# 539 0.8656       
-# 540 0.8650       
-# 541 0.8645       
-# 542 0.8641       
-# 543 0.8638       
-# 544 0.8632       
- 545 0.8627       
-# 546 0.8620       
-# 547 0.8616       
-# 548 0.8610       
-# 549 0.8603       
- 550 0.8598       
-# 551 0.8594       
-# 552 0.8587       
-# 553 0.8583       
-# 554 0.8578       
- 555 0.8574       
-# 556 0.8569       
-# 557 0.8563       
-# 558 0.8557       
-# 559 0.8551       
- 560 0.8545       
-# 561 0.8541       
-# 562 0.8536       
-# 563 0.8530       
-# 564 0.8524       
- 565 0.8518       
-# 566 0.8513       
-# 567 0.8508       
-# 568 0.8500       
-# 569 0.8496       
- 570 0.8490       
-# 571 0.8484       
-# 572 0.8480       
-# 573 0.8475       
-# 574 0.8467       
-# 575 0.8463       
-# 576 0.8459       
-# 577 0.8452       
-# 578 0.8446       
- 579 0.8441       
-# 580 0.8435       
-# 581 0.8428       
-# 582 0.8422       
-# 583 0.8416       
- 584 0.8410       
-# 585 0.8407       
-# 586 0.8401       
-# 587 0.8396       
-# 588 0.8392       
- 589 0.8386       
-# 590 0.8379       
-# 591 0.8375       
-# 592 0.8366       
-# 593 0.8358       
- 594 0.8354       
-# 595 0.8345       
-# 596 0.8339       
-# 597 0.8334       
-# 598 0.8330       
- 599 0.8325       
-# 600 0.8322       
-# 601 0.8316       
-# 602 0.8311       
-# 603 0.8305       
- 604 0.8298       
-# 605 0.8291       
-# 606 0.8283       
-# 607 0.8276       
-# 608 0.8270       
-# 609 0.8262       
-# 610 0.8256       
-# 611 0.8249       
-# 612 0.8246       
- 613 0.8241       
-# 614 0.8252       
-# 615 0.8367       
-# 616 0.8225       
-# 617 0.8220       
- 618 0.8216       
-# 619 0.8209       
-# 620 0.8203       
-# 621 0.8195       
-# 622 0.8188       
- 623 0.8179       
-# 624 0.8171       
-# 625 0.8166       
-# 626 0.8159       
-# 627 0.8156       
- 628 0.8151       
-# 629 0.8145       
-# 630 0.8140       
-# 631 0.8135       
-# 632 0.8130       
- 633 0.8125       
-# 634 0.8118       
-# 635 0.8111       
-# 636 0.8104       
-# 637 0.8096       
- 638 0.8089       
-# 639 0.8082       
-# 640 0.8075       
-# 641 0.8068       
-# 642 0.8064       
-# 643 0.8058       
-# 644 0.8053       
-# 645 0.8047       
-# 646 0.8042       
- 647 0.8037       
-# 648 0.8031       
-# 649 0.8025       
-# 650 0.8019       
-# 651 0.8011       
- 652 0.8005       
-# 653 0.7997       
-# 654 0.7992       
-# 655 0.7986       
-# 656 0.7979       
- 657 0.7972       
-# 658 0.7965       
-# 659 0.7961       
-# 660 0.7956       
-# 661 0.7949       
- 662 0.7944       
-# 663 0.7937       
-# 664 0.7931       
-# 665 0.7925       
-# 666 0.7918       
- 667 0.7913       
-# 668 0.7907       
-# 669 0.7901       
-# 670 0.7895       
-# 671 0.7889       
- 672 0.7883       
-# 673 0.7878       
-# 674 0.7872       
-# 675 0.7866       
-# 676 0.7860       
-# 677 0.7854       
-# 678 0.7848       
-# 679 0.7842       
-# 680 0.7835       
- 681 0.7827       
-# 682 0.7820       
-# 683 0.7815       
-# 684 0.7809       
-# 685 0.7803       
- 686 0.7798       
-# 687 0.7792       
-# 688 0.7788       
-# 689 0.7782       
-# 690 0.7777       
- 691 0.7771       
-# 692 0.7766       
-# 693 0.7759       
-# 694 0.7752       
-# 695 0.7745       
- 696 0.7740       
-# 697 0.7734       
-# 698 0.7727       
-# 699 0.7720       
-# 700 0.7714       
- 701 0.7708       
-# 702 0.7702       
-# 703 0.7696       
-# 704 0.7692       
-# 705 0.7689       
- 706 0.7682       
-# 707 0.7677       
-# 708 0.7673       
-# 709 0.7667       
-# 710 0.7661       
-# 711 0.7655       
-# 712 0.7649       
-# 713 0.7641       
-# 714 0.7634       
- 715 0.7629       
-# 716 0.7621       
-# 717 0.7614       
-# 718 0.7609       
-# 719 0.7603       
- 720 0.7599       
-# 721 0.7595       
-# 722 0.7590       
-# 723 0.7586       
-# 724 0.7583       
- 725 0.7578       
-# 726 0.7572       
-# 727 0.7568       
-# 728 0.7563       
-# 729 0.7558       
- 730 0.7552       
-# 731 0.7545       
-# 732 0.7538       
-# 733 0.7532       
-# 734 0.7524       
- 735 0.7518       
-# 736 0.7510       
-# 737 0.7505       
-# 738 0.7501       
-# 739 0.7496       
- 740 0.7492       
-# 741 0.7488       
-# 742 0.7483       
-# 743 0.7481       
-# 744 0.7478       
-# 745 0.7475       
-# 746 0.7471       
-# 747 0.7467       
-# 748 0.7462       
- 749 0.7457       
-# 750 0.7453       
-# 751 0.7447       
-# 752 0.7441       
-# 753 0.7435       
- 754 0.7428       
-# 755 0.7421       
-# 756 0.7416       
-# 757 0.7412       
-# 758 0.7405       
- 759 0.7399       
-# 760 0.7395       
-# 761 0.7390       
-# 762 0.7387       
-# 763 0.7384       
- 764 0.7382       
-# 765 0.7380       
-# 766 0.7377       
-# 767 0.7374       
-# 768 0.7371       
- 769 0.7368       
-# 770 0.7367       
-# 771 0.7362       
-# 772 0.7358       
-# 773 0.7354       
- 774 0.7351       
-# 775 0.7346       
-# 776 0.7342       
-# 777 0.7337       
-# 778 0.7334       
-# 779 0.7327       
-# 780 0.7324       
-# 781 0.7319       
-# 782 0.7316       
- 783 0.7312       
-# 784 0.7309       
-# 785 0.7306       
-# 786 0.7304       
-# 787 0.7302       
- 788 0.7300       
-# 789 0.7298       
-# 790 0.7298       
-# 791 0.7296       
-# 792 0.7295       
- 793 0.7292       
-# 794 0.7290       
-# 795 0.7290       
-# 796 0.7288       
-# 797 0.7286       
- 798 0.7286       
-# 799 0.7281       
- 800 0.7282
- 900 0.685
-950 0.6634
Index: trunk/Mars/resmc/fact/MirrorReflectivity_Lustermann_FACT.txt
===================================================================
--- trunk/Mars/resmc/fact/MirrorReflectivity_Lustermann_FACT.txt	(revision 17379)
+++ 	(revision )
@@ -1,602 +1,0 @@
-800	73	73	72.45
-799	73.01	72.99	72.44
-798	73.04	73.04	72.49
-797	73.05	73.05	72.48
-796	73.07	73.07	72.49
-795	73.09	73.09	72.51
-794	73.09	73.09	72.51
-793	73.12	73.12	72.53
-792	73.15	73.15	72.55
-791	73.15	73.16	72.57
-790	73.17	73.18	72.59
-789	73.19	73.17	72.59
-788	73.18	73.2	72.62
-787	73.21	73.22	72.64
-786	73.23	73.23	72.66
-785	73.25	73.24	72.7
-784	73.27	73.27	72.74
-783	73.3	73.3	72.75
-782	73.34	73.34	72.79
-781	73.38	73.37	72.83
-780	73.42	73.42	72.87
-779	73.46	73.46	72.9
-778	73.53	73.53	72.95
-777	73.56	73.57	72.99
-776	73.61	73.62	73.04
-775	73.65	73.65	73.08
-774	73.71	73.7	73.13
-773	73.74	73.75	73.14
-772	73.78	73.78	73.17
-771	73.83	73.82	73.21
-770	73.87	73.88	73.25
-769	73.87	73.9	73.26
-768	73.91	73.91	73.3
-767	73.95	73.94	73.33
-766	73.98	73.97	73.35
-765	73.99	74.01	73.39
-764	74.02	74.03	73.41
-763	74.04	74.05	73.44
-762	74.05	74.09	73.48
-761	74.09	74.1	73.52
-760	74.14	74.14	73.56
-759	74.18	74.19	73.6
-758	74.24	74.25	73.67
-757	74.31	74.32	73.72
-756	74.37	74.37	73.75
-755	74.41	74.41	73.82
-754	74.48	74.49	73.88
-753	74.55	74.56	73.95
-752	74.61	74.62	74
-751	74.67	74.69	74.06
-750	74.74	74.73	74.11
-749	74.78	74.78	74.14
-748	74.83	74.82	74.21
-747	74.87	74.88	74.26
-746	74.92	74.92	74.3
-745	74.96	74.94	74.34
-744	74.98	74.99	74.36
-743	75.01	75.01	74.4
-742	75.03	75.04	74.43
-741	75.07	75.09	74.49
-740	75.12	75.11	74.53
-739	75.16	75.16	74.55
-738	75.22	75.22	74.6
-737	75.26	75.26	74.64
-736	75.31	75.31	74.69
-735	75.39	75.39	74.75
-734	75.46	75.46	74.81
-733	75.53	75.52	74.9
-732	75.6	75.6	74.95
-731	75.67	75.66	75.01
-730	75.74	75.74	75.09
-729	75.8	75.8	75.15
-728	75.86	75.84	75.2
-727	75.9	75.89	75.24
-726	75.93	75.94	75.29
-725	76	75.99	75.36
-724	76.05	76.04	75.41
-723	76.07	76.07	75.43
-722	76.12	76.12	75.47
-721	76.16	76.17	75.52
-720	76.21	76.21	75.56
-719	76.26	76.25	75.59
-718	76.31	76.31	75.65
-717	76.36	76.37	75.7
-716	76.43	76.43	75.78
-715	76.51	76.5	75.85
-714	76.57	76.56	75.9
-713	76.63	76.64	75.97
-712	76.7	76.72	76.04
-711	76.77	76.78	76.11
-710	76.83	76.83	76.17
-709	76.88	76.88	76.24
-708	76.94	76.94	76.3
-707	76.98	76.98	76.34
-706	77.04	77.03	76.4
-705	77.11	77.1	76.46
-704	77.14	77.13	76.49
-703	77.18	77.17	76.52
-702	77.24	77.24	76.57
-701	77.3	77.31	76.63
-700	77.36	77.38	76.68
-699	77.43	77.44	76.74
-698	77.51	77.51	76.8
-697	77.58	77.57	76.87
-696	77.63	77.63	76.93
-695	77.68	77.69	76.99
-694	77.75	77.76	77.06
-693	77.82	77.82	77.13
-692	77.88	77.89	77.2
-691	77.93	77.95	77.26
-690	77.99	78	77.32
-689	78.04	78.04	77.38
-688	78.1	78.1	77.43
-687	78.15	78.15	77.47
-686	78.21	78.19	77.54
-685	78.26	78.25	77.59
-684	78.32	78.32	77.63
-683	78.38	78.39	77.68
-682	78.44	78.44	77.73
-681	78.52	78.51	77.79
-680	78.59	78.59	77.88
-679	78.66	78.66	77.94
-678	78.72	78.72	77.99
-677	78.78	78.78	78.06
-676	78.84	78.84	78.13
-675	78.9	78.89	78.19
-674	78.95	78.95	78.26
-673	79.01	79.02	78.32
-672	79.07	79.06	78.37
-671	79.13	79.12	78.43
-670	79.17	79.17	78.5
-669	79.23	79.23	78.56
-668	79.3	79.3	78.6
-667	79.36	79.36	78.66
-666	79.42	79.42	78.71
-665	79.5	79.49	78.77
-664	79.56	79.55	78.82
-663	79.62	79.61	78.88
-662	79.69	79.67	78.95
-661	79.74	79.73	79.01
-660	79.8	79.8	79.08
-659	79.85	79.85	79.13
-658	79.89	79.9	79.16
-657	79.96	79.95	79.24
-656	80.03	80.03	79.32
-655	80.09	80.11	79.39
-654	80.16	80.17	79.44
-653	80.22	80.22	79.48
-652	80.3	80.3	79.56
-651	80.36	80.35	79.63
-650	80.44	80.42	79.7
-649	80.5	80.51	79.75
-648	80.55	80.57	79.82
-647	80.62	80.62	79.88
-646	80.67	80.66	79.93
-645	80.7	80.71	79.99
-644	80.76	80.77	80.07
-643	80.81	80.82	80.12
-642	80.88	80.87	80.17
-641	80.92	80.91	80.22
-640	80.98	80.98	80.28
-639	81.06	81.05	80.34
-638	81.15	81.13	80.4
-637	81.22	81.2	80.47
-636	81.29	81.3	80.54
-635	81.36	81.36	80.61
-634	81.44	81.44	80.66
-633	81.51	81.5	80.73
-632	81.55	81.55	80.8
-631	81.6	81.59	80.85
-630	81.64	81.64	80.91
-629	81.69	81.68	80.97
-628	81.74	81.74	81.04
-627	81.78	81.79	81.11
-626	81.83	81.81	81.13
-625	81.9	81.89	81.18
-624	81.95	81.94	81.24
-623	82.03	82.03	81.3
-622	82.13	82.12	81.38
-621	82.2	82.21	81.44
-620	82.29	82.29	81.5
-619	82.35	82.35	81.56
-618	82.42	82.42	81.63
-617	82.46	82.45	81.68
-616	82.51	82.5	81.75
-615	83.92	83.93	83.15
-614	82.76	82.77	82.04
-613	82.64	82.65	81.93
-612	82.69	82.69	81.99
-611	82.72	82.73	82.02
-610	82.8	82.8	82.08
-609	82.86	82.86	82.14
-608	82.95	82.95	82.21
-607	83.01	83	82.27
-606	83.09	83.08	82.33
-605	83.17	83.16	82.41
-604	83.24	83.23	82.47
-603	83.31	83.3	82.53
-602	83.37	83.37	82.59
-601	83.41	83.42	82.64
-600	83.47	83.48	82.71
-599	83.5	83.5	82.74
-598	83.54	83.55	82.8
-597	83.58	83.58	82.85
-596	83.62	83.65	82.9
-595	83.7	83.7	82.96
-594	83.78	83.77	83.06
-593	83.82	83.83	83.1
-592	83.89	83.9	83.18
-591	83.98	83.99	83.27
-590	84.05	84.02	83.31
-589	84.11	84.1	83.38
-588	84.19	84.17	83.41
-587	84.22	84.21	83.46
-586	84.27	84.25	83.5
-585	84.33	84.32	83.55
-584	84.36	84.36	83.57
-583	84.41	84.43	83.64
-582	84.47	84.48	83.7
-581	84.54	84.53	83.77
-580	84.6	84.6	83.86
-579	84.66	84.66	83.92
-578	84.69	84.7	83.98
-577	84.75	84.76	84.04
-576	84.83	84.82	84.12
-575	84.89	84.87	84.14
-574	84.93	84.91	84.18
-573	85	85	84.26
-572	85.07	85.05	84.29
-571	85.1	85.1	84.32
-570	85.16	85.16	84.38
-569	85.21	85.21	84.45
-568	85.26	85.25	84.5
-567	85.33	85.33	84.59
-566	85.37	85.36	84.65
-565	85.42	85.41	84.7
-564	85.47	85.47	84.79
-563	85.54	85.53	84.84
-562	85.59	85.59	84.89
-561	85.66	85.66	84.91
-560	85.71	85.7	84.94
-559	85.77	85.76	84.99
-558	85.83	85.83	85.05
-557	85.89	85.89	85.12
-556	85.94	85.94	85.19
-555	85.99	86	85.24
-554	86.04	86.02	85.29
-553	86.08	86.06	85.34
-552	86.1	86.12	85.39
-551	86.17	86.18	85.46
-550	86.22	86.23	85.5
-549	86.27	86.28	85.55
-548	86.34	86.34	85.61
-547	86.4	86.41	85.67
-546	86.45	86.45	85.71
-545	86.52	86.52	85.78
-544	86.57	86.56	85.83
-543	86.62	86.62	85.89
-542	86.65	86.65	85.94
-541	86.69	86.69	85.97
-540	86.74	86.74	86.03
-539	86.8	86.8	86.08
-538	86.85	86.87	86.14
-537	86.92	86.92	86.19
-536	86.98	86.98	86.25
-535	87.03	87.03	86.32
-534	87.08	87.08	86.38
-533	87.11	87.11	86.41
-532	87.15	87.14	86.46
-531	87.19	87.18	86.5
-530	87.22	87.23	86.54
-529	87.27	87.28	86.6
-528	87.34	87.34	86.66
-527	87.41	87.4	86.72
-526	87.46	87.45	86.77
-525	87.52	87.52	86.83
-524	87.55	87.56	86.88
-523	87.6	87.61	86.94
-522	87.63	87.64	86.98
-521	87.67	87.67	87.02
-520	87.71	87.72	87.08
-519	87.75	87.75	87.12
-518	87.8	87.8	87.17
-517	87.86	87.87	87.25
-516	87.91	87.92	87.31
-515	87.97	87.96	87.36
-514	88.02	88.02	87.41
-513	88.06	88.07	87.48
-512	88.09	88.09	87.52
-511	88.11	88.11	87.56
-510	88.14	88.14	87.6
-509	88.18	88.19	87.65
-508	88.23	88.24	87.72
-507	88.27	88.27	87.76
-506	88.3	88.31	87.81
-505	88.33	88.34	87.86
-504	88.37	88.36	87.9
-503	88.4	88.39	87.93
-502	88.41	88.42	87.95
-501	88.44	88.45	87.96
-500	88.45	88.45	87.95
-499	88.46	88.48	87.94
-498	88.48	88.48	87.94
-497	88.49	88.49	87.95
-496	88.51	88.5	87.96
-495	88.53	88.52	87.95
-494	88.53	88.53	87.93
-493	88.55	88.55	87.93
-492	88.55	88.56	87.9
-491	88.57	88.57	87.87
-490	88.61	88.6	87.87
-489	88.63	88.62	87.86
-488	88.64	88.64	87.86
-487	88.66	88.67	87.88
-486	88.69	88.7	87.91
-485	88.73	88.73	87.93
-484	88.79	88.78	87.97
-483	88.85	88.84	88.03
-482	88.9	88.9	88.09
-481	88.95	88.95	88.16
-480	89.02	89	88.23
-479	89.07	89.05	88.29
-478	89.11	89.1	88.35
-477	89.14	89.14	88.42
-476	89.18	89.17	88.47
-475	89.21	89.21	88.52
-474	89.26	89.25	88.59
-473	89.31	89.3	88.64
-472	89.34	89.34	88.69
-471	89.37	89.39	88.74
-470	89.4	89.42	88.79
-469	89.44	89.44	88.83
-468	89.47	89.48	88.87
-467	89.49	89.49	88.9
-466	89.51	89.5	88.92
-465	89.54	89.54	88.95
-464	89.56	89.57	88.99
-463	89.59	89.61	89.01
-462	89.6	89.63	89.05
-461	89.61	89.62	89.07
-460	89.6	89.61	89.06
-459	89.62	89.62	89.04
-458	89.63	89.63	89.01
-457	89.65	89.65	89.01
-456	89.65	89.65	89
-455	89.65	89.66	88.99
-454	89.64	89.64	88.97
-453	89.62	89.63	88.96
-452	89.62	89.63	88.95
-451	89.61	89.64	88.93
-450	89.61	89.63	88.9
-449	89.63	89.63	88.88
-448	89.63	89.64	88.87
-447	89.64	89.66	88.88
-446	89.65	89.65	88.86
-445	89.65	89.65	88.87
-444	89.67	89.67	88.89
-443	89.67	89.67	88.89
-442	89.7	89.71	88.92
-441	89.74	89.73	88.95
-440	89.76	89.75	88.97
-439	89.77	89.77	88.99
-438	89.77	89.77	88.99
-437	89.78	89.8	89.03
-436	89.79	89.82	89.04
-435	89.81	89.82	89.08
-434	89.82	89.81	89.08
-433	89.83	89.83	89.08
-432	89.82	89.82	89.06
-431	89.85	89.85	89.08
-430	89.87	89.85	89.09
-429	89.87	89.87	89.11
-428	89.87	89.88	89.12
-427	89.88	89.89	89.17
-426	89.88	89.89	89.18
-425	89.89	89.9	89.17
-424	89.9	89.92	89.17
-423	89.9	89.91	89.16
-422	89.9	89.9	89.16
-421	89.91	89.92	89.2
-420	89.91	89.93	89.18
-419	89.9	89.92	89.19
-418	89.91	89.91	89.19
-417	89.91	89.92	89.17
-416	89.89	89.92	89.19
-415	89.89	89.89	89.18
-414	89.92	89.9	89.17
-413	89.91	89.92	89.21
-412	89.92	89.94	89.23
-411	89.91	89.92	89.19
-410	89.91	89.94	89.19
-409	89.89	89.89	89.18
-408	89.88	89.9	89.2
-407	89.88	89.88	89.18
-406	89.88	89.89	89.17
-405	89.88	89.86	89.15
-404	89.85	89.88	89.15
-403	89.86	89.87	89.14
-402	89.82	89.84	89.14
-401	89.81	89.83	89.11
-400	89.8	89.83	89.1
-399	89.81	89.81	89.12
-398	89.79	89.81	89.09
-397	89.77	89.78	89.09
-396	89.75	89.75	89.05
-395	89.73	89.72	89.01
-394	89.75	89.74	89.04
-393	89.7	89.71	89.02
-392	89.69	89.69	89.01
-391	89.68	89.68	88.98
-390	89.6	89.62	88.93
-389	89.63	89.65	88.92
-388	89.59	89.58	88.9
-387	89.57	89.58	88.89
-386	89.54	89.54	88.85
-385	89.53	89.53	88.83
-384	89.49	89.48	88.84
-383	89.44	89.44	88.79
-382	89.42	89.42	88.79
-381	89.35	89.39	88.75
-380	89.36	89.33	88.68
-379	89.33	89.35	88.67
-378	89.23	89.24	88.45
-377	89.17	89.18	88.43
-376	89.14	89.14	88.41
-375	89.1	89.09	88.38
-374	89.07	89.05	88.35
-373	89.04	89.01	88.33
-372	88.99	88.98	88.3
-371	88.93	88.95	88.28
-370	88.88	88.84	88.2
-369	88.8	88.78	88.12
-368	88.74	88.72	88.08
-367	88.72	88.73	88.07
-366	88.62	88.64	87.99
-365	88.56	88.56	87.95
-364	88.49	88.48	87.88
-363	88.43	88.43	87.82
-362	88.41	88.36	87.78
-361	88.31	88.31	87.69
-360	88.24	88.26	87.63
-359	88.21	88.18	87.55
-358	88.09	88.07	87.46
-357	88.02	88.01	87.43
-356	87.93	87.93	87.3
-355	87.85	87.86	87.27
-354	87.75	87.74	87.17
-353	87.67	87.66	87.07
-352	87.55	87.56	86.99
-351	87.44	87.47	86.88
-350	87.35	87.35	86.78
-349	87.24	87.25	86.69
-348	87.14	87.13	86.59
-347	87.02	87.01	86.47
-346	86.92	86.91	86.38
-345	86.81	86.81	86.25
-344	86.66	86.66	86.12
-343	86.54	86.54	86.01
-342	86.45	86.44	85.9
-341	86.27	86.28	85.74
-340	86.14	86.15	85.62
-339	85.99	86	85.49
-338	85.85	85.86	85.36
-337	85.7	85.7	85.2
-336	85.52	85.52	85.01
-335	85.38	85.35	84.84
-334	85.18	85.18	84.67
-333	84.99	85	84.52
-332	84.81	84.81	84.35
-331	84.63	84.62	84.18
-330	84.46	84.44	83.96
-329	84.26	84.28	83.81
-328	84.05	84.06	83.59
-327	83.83	83.83	83.38
-326	83.6	83.62	83.16
-325	83.39	83.4	82.95
-324	83.16	83.18	82.72
-323	82.89	82.91	82.46
-322	82.69	82.71	82.26
-321	82.49	82.46	82.01
-320	82.22	82.21	81.79
-319	81.94	81.95	81.51
-318	81.7	81.7	81.42
-317	81.49	81.5	81.56
-316	81.22	81.21	81.28
-315	80.92	80.93	80.99
-314	80.63	80.63	80.7
-313	80.34	80.35	80.42
-312	80.04	80.04	80.12
-311	79.73	79.72	79.8
-310	79.41	79.41	79.49
-309	79.09	79.09	79.18
-308	78.76	78.75	78.85
-307	78.43	78.43	78.52
-306	78.1	78.09	78.18
-305	77.73	77.73	77.84
-304	77.39	77.4	77.49
-303	77.05	77.02	77.15
-302	76.7	76.69	76.81
-301	76.38	76.38	76.47
-300	76.02	76.03	76.1
-299	75.66	75.65	75.73
-298	75.33	75.31	75.39
-297	74.98	74.98	75.03
-296	74.62	74.62	74.68
-295	74.28	74.29	74.33
-294	73.93	73.94	73.97
-293	73.61	73.6	73.62
-292	73.29	73.27	73.29
-291	72.96	72.94	72.95
-290	72.66	72.65	72.63
-289	72.34	72.34	72.31
-288	72.03	72.04	71.99
-287	71.77	71.77	71.69
-286	71.52	71.53	71.42
-285	71.27	71.28	71.15
-284	71.02	71.04	70.89
-283	70.8	70.8	70.65
-282	70.62	70.61	70.43
-281	70.42	70.44	70.21
-280	70.25	70.27	70.04
-279	70.11	70.13	69.86
-278	70	70.01	69.72
-277	69.91	69.92	69.6
-276	69.83	69.84	69.49
-275	69.79	69.79	69.43
-274	69.76	69.77	69.38
-273	69.74	69.75	69.33
-272	69.74	69.76	69.31
-271	69.78	69.78	69.33
-270	69.85	69.83	69.37
-269	69.92	69.92	69.43
-268	70.01	70.02	69.5
-267	70.13	70.14	69.59
-266	70.27	70.29	69.72
-265	70.41	70.43	69.86
-264	70.57	70.59	70
-263	70.75	70.77	70.17
-262	70.94	70.94	70.33
-261	71.13	71.13	70.52
-260	71.33	71.34	70.72
-259	71.54	71.56	70.92
-258	71.77	71.78	71.14
-257	72	72.01	71.37
-256	72.24	72.25	71.62
-255	72.47	72.48	71.84
-254	72.71	72.72	72.08
-253	72.94	72.95	72.31
-252	73.18	73.19	72.55
-251	73.42	73.43	72.8
-250	73.63	73.64	73.02
-249	73.85	73.85	73.24
-248	74.05	74.06	73.45
-247	74.25	74.26	73.65
-246	74.44	74.45	73.84
-245	74.62	74.63	74.02
-244	74.78	74.78	74.19
-243	74.91	74.93	74.32
-242	75.05	75.07	74.47
-241	75.17	75.18	74.61
-240	75.27	75.28	74.71
-239	75.35	75.36	74.81
-238	75.41	75.43	74.9
-237	75.44	75.47	74.95
-236	75.48	75.49	74.99
-235	75.49	75.52	75.03
-234	75.49	75.5	75.04
-233	75.46	75.47	75.03
-232	75.39	75.41	75
-231	75.31	75.32	74.92
-230	75.21	75.23	74.84
-229	75.09	75.11	74.75
-228	74.95	74.95	74.62
-227	74.76	74.75	74.45
-226	74.55	74.56	74.27
-225	74.32	74.33	74.05
-224	74.05	74.06	73.81
-223	73.75	73.75	73.54
-222	73.43	73.43	73.23
-221	73.07	73.07	72.91
-220	72.64	72.65	72.51
-219	72.18	72.2	72.09
-218	71.68	71.68	71.61
-217	71.13	71.13	71.07
-216	70.53	70.54	70.51
-215	69.86	69.87	69.89
-214	69.14	69.15	69.2
-213	68.36	68.36	68.47
-212	67.49	67.5	67.67
-211	66.57	66.58	66.79
-210	65.6	65.61	65.86
-209	64.55	64.54	64.87
-208	63.41	63.42	63.82
-207	62.23	62.25	62.71
-206	60.98	60.99	61.54
-205	59.67	59.67	60.29
-204	58.29	58.28	59
-203	56.87	56.88	57.66
-202	55.41	55.41	56.26
-201	53.89	53.9	54.82
-200	52.37	52.39	53.38
-
Index: trunk/Mars/resmc/fact/Transmittance_1439Cones_FACT.txt
===================================================================
--- trunk/Mars/resmc/fact/Transmittance_1439Cones_FACT.txt	(revision 17379)
+++ 	(revision )
@@ -1,37 +1,0 @@
-250    0.05566
-260    0.081966
-270    0.061284
-280    0.30381
-290    2.0164
-300    9.0906
-310    23.9483
-320    42.2324
-330    55.5866
-340    64.5322
-350    70.9289
-360    75.7315
-370    79.624
-380    82.4558
-390    84.2468
-400    85.3939
-410    86.1924
-420    86.6997
-430    87.1904
-440    87.5743
-450    87.8966
-460    88.1858
-470    88.3873
-480    88.636
-490    88.9237
-500    89.0949
-510    89.2239
-520    89.3734
-530    89.5242
-540    89.6486
-550    89.755
-560    89.8537
-570    89.8963
-580    89.9302
-590    89.9906
-600    90.0801
-700    90.0
Index: trunk/Mars/resmc/fact/ceres20130911_noComments.rc
===================================================================
--- trunk/Mars/resmc/fact/ceres20130911_noComments.rc	(revision 17379)
+++ 	(revision )
@@ -1,55 +1,0 @@
-MLog.VerbosityLevel: 4
-
-BinningImpact.Raw:       40   0       1000
-BinningTrigPos.Raw:     300    -25       275
-
-RandomNumberGenerator: TRandom3
-
-Reflector.Constructor: MReflector
-Reflector.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-reflector.txt
-Reflector.SetSigmaPSF: 10.0
-
-MGeomCam.Constructor:   MGeomCamFACT();
-
-MSimAPD.Type: 4
-MSimExcessNoise.ExcessNoise: 0.12
-
-MirrorReflectivity.FileName:           /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
-PhotonDetectionEfficiency.FileName:    /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-pde-1.0V.txt
-ConesAngularAcceptance.FileName:       /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-cones-angular-acceptance.txt
-ConesTransmission.FileName:            /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/Transmittance_1439Cones_FACT_bearbeitet.txt
-
-#MSimRandomPhotons.FrequencyFixed: 0.004
-#MSimRandomPhotons.FrequencyNSB:   0.025
-#MSimRandomPhotons.FileName:
-
-
-MSimTrigger.FileNameRouteAC: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-trigger-sum.txt
-MSimTrigger.DiscriminatorThreshold: 39738
-
-MSimCalibrationSignal.NumPhotons: 24
-MSimCalibrationSignal.NumEvents:  1000
-
-IntendedPulsePos.Val: 30
-
-MRawRunHeader.SamplingFrequency: 2000
-MRawRunHeader.NumSamples:         300
-MRawRunHeader.NumBytesPerSample:    2
-MRawRunHeader.FadcResolution:      12
-
-MSimCamera.DefaultOffset: 3580
-MSimCamera.DefaultNoise:    45
-MSimCamera.DefaultGain:    358
-
-MSimCamera.fACFudgeFactor: 0.3367
-MSimCamera.fACTimeConstant: 20
-
-PulseShape.Function.Name:  (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
-PulseShape.Function.Npx:   300
-PulseShape.Function.Xmin:   0
-PulseShape.Function.Xmax:   300
-
-Cut.Inverted: Yes
-
-Cut.Condition: MHillas.fSize>10
-ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Index: trunk/Mars/resmc/fact/ceres20130911_noComments_withoutNSB.rc
===================================================================
--- trunk/Mars/resmc/fact/ceres20130911_noComments_withoutNSB.rc	(revision 17379)
+++ 	(revision )
@@ -1,55 +1,0 @@
-MLog.VerbosityLevel: 4
-
-BinningImpact.Raw:       40   0       1000
-BinningTrigPos.Raw:     300    -25       275
-
-RandomNumberGenerator: TRandom3
-
-Reflector.Constructor: MReflector
-Reflector.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-reflector.txt
-Reflector.SetSigmaPSF: 10.0
-
-MGeomCam.Constructor:   MGeomCamFACT();
-
-MSimAPD.Type: 4
-MSimExcessNoise.ExcessNoise: 0.12
-
-MirrorReflectivity.FileName:           /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
-PhotonDetectionEfficiency.FileName:    /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-pde-1.0V.txt
-ConesAngularAcceptance.FileName:       /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-cones-angular-acceptance.txt
-ConesTransmission.FileName:            /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/Transmittance_1439Cones_FACT_bearbeitet.txt
-
-#MSimRandomPhotons.FrequencyFixed: 0.004
-MSimRandomPhotons.FrequencyNSB:   0.0
-MSimRandomPhotons.FileNameNSB:
-
-
-MSimTrigger.FileNameRouteAC: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-trigger-sum.txt
-MSimTrigger.DiscriminatorThreshold: 39738
-
-MSimCalibrationSignal.NumPhotons: 24
-MSimCalibrationSignal.NumEvents:  1000
-
-IntendedPulsePos.Val: 30
-
-MRawRunHeader.SamplingFrequency: 2000
-MRawRunHeader.NumSamples:         300
-MRawRunHeader.NumBytesPerSample:    2
-MRawRunHeader.FadcResolution:      12
-
-MSimCamera.DefaultOffset: 3580
-MSimCamera.DefaultNoise:    45
-MSimCamera.DefaultGain:    358
-
-MSimCamera.fACFudgeFactor: 0.3367
-MSimCamera.fACTimeConstant: 20
-
-PulseShape.Function.Name:  (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
-PulseShape.Function.Npx:   300
-PulseShape.Function.Xmin:   0
-PulseShape.Function.Xmax:   300
-
-Cut.Inverted: Yes
-
-Cut.Condition: MHillas.fSize>10
-ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Index: trunk/Mars/resmc/fact/ceres_withoutNSB.rc
===================================================================
--- trunk/Mars/resmc/fact/ceres_withoutNSB.rc	(revision 17379)
+++ 	(revision )
@@ -1,296 +1,0 @@
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                              General
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to setup the logging stream for the jobs
-# (overwrites command line options)
-# -------------------------------------------------------------------------
-MLog.VerbosityLevel: 4
-#MLog.DebugLevel:     1
-#MLog.NoColors:       yes
-
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                                   Ceres
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to write the MJStar output somewhere
-# If you don't want it, it is written to the calibration output anyhow.
-# -------------------------------------------------------------------------
-#PathOut: .
-#PathIn: .
-
-
-# -------------------------------------------------------------------------
-# Configure Eventloop
-# -------------------------------------------------------------------------
-#MaxEvents: 10000
-#Overwrite: yes,no
-
-
-# -------------------------------------------------------------------------
-# Use this to setup binnings. For more details see: MBinning::ReadEnv
-# -------------------------------------------------------------------------
-# BinningEnergy.Raw:      100      1    100000  log
-# BinningSize.Raw:        100      1  10000000  log
-BinningImpact.Raw:       40   0       1000
-# BinningHeight.Raw:       50      0        12
-# BinningAz.Raw:          360   -360       360
-# BinningZd.Raw:           70      0        70
-# BinningViewCone.Raw:    155      0        31
-BinningTrigPos.Raw:     300    -25       275
-# BinningEvtWidth.Raw:    150      0        25
-# BinningDist.Raw:        100      0       2.5
-# BinningDistC.Raw:       100      0       2.5
-# BinningThreshold.Raw:    35    0.9     90000  log
-# BinningEnergyEst.Raw:   100    0.9     90000  log
-
-
-# -------------------------------------------------------------------------
-# Initialize random number generator (see MJob::InitRandomNumberGenerator)
-# -------------------------------------------------------------------------
-RandomNumberGenerator: TRandom3
-#RandomNumberSeedValue: 0
-
-
-# -------------------------------------------------------------------------
-# Ceres general setup
-# -------------------------------------------------------------------------
-
-# Switch off the camera "electronics"
-#Camera: Off
-
-# Force the use of the "hardware" trigger for calibration data
-#ForceTrigger: Yes
-
-
-# -------------------------------------------------------------------------
-# Some setup for the atmosphere. The default should be well suited.
-# -------------------------------------------------------------------------
-#MSimAtmosphere.FileAerosols: resmc/atmopshere-aerosols.txt
-#MSimAtmosphere.FileOzone:    resmc/atmopshere-ozone.txt
-
-
-# -------------------------------------------------------------------------
-# Here you can control the poiting of the telescope. To switch on
-# off-target observations set a value for the distance !=0 [deg].
-# For details see MSimPointingPos
-# -------------------------------------------------------------------------
-#MSimPointingPos.OffTargetDistance: 0.4
-#MSimPointingPos.OffTargetPhi: -1
-
-
-# -------------------------------------------------------------------------
-# Setup the reflector and camera geometry
-# -------------------------------------------------------------------------
-Reflector.Constructor: MReflector
-
-# For the file definition see MReflector::ReadFile
-
-Reflector.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-reflector.txt
-# Units mm: ~0.02° 
-#Reflector.SetSigmaPSF: 1.8
-# Units mm: ~0.03°
-#Reflector.SetSigmaPSF: 2.6
-#Reflector.SetSigmaPSF: 1.66
-
-# new Value from 7.12.2012:
-# 0.95 of the reflected light was inside a circle with a radius of 2.25mm. This corresponds to a SigmaPSF of 1.3 mm
-#Reflector.SetSigmaPSF: 1.3
-
-# new Value from 29.05.2013:
-# Set SigmaPSF to pixelsize
-Reflector.SetSigmaPSF: 10.0
-
-# --- DWARF ---
-# distance from mirror to camera [cm]
-#focal_distance     489.73
-# TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!)
-#paraboloid_focal   488.87
-
-#MGeomCam.Constructor:   MGeomCamDwarf(189.8,  9.5,  4.8887);
-MGeomCam.Constructor:   MGeomCamFACT();
-
-#MSimBundlePhotons.FileName: resmc/dwarf-fact.txt
-
-# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
-MSimAPD.Type: 4
-MSimExcessNoise.ExcessNoise: 0.12
-
-# -------------------------------------------------------------------------
-# Setup the absorption, conversion efficiency and angular acceptance
-# -------------------------------------------------------------------------
-MirrorReflectivity.FileName:           /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
-PhotonDetectionEfficiency.FileName:    /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-pde-1.0V.txt
-ConesAngularAcceptance.FileName:       /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-cones-angular-acceptance.txt
-ConesTransmission.FileName:            /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/Transmittance_1439Cones_FACT_bearbeitet.txt
-
-# -------------------------------------------------------------------------
-# Setup what in MMCS would be called "additional spot size"
-# -------------------------------------------------------------------------
-#MSimPSF.Sigma: -1
-#MSimReflector.DetectorMargin: 0
-
-# -------------------------------------------------------------------------
-# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
-# -------------------------------------------------------------------------
-# Dark Counts per APD: ~4MHz
-#MSimRandomPhotons.FrequencyFixed: 0.004
-# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
-# acceptance and the wavelength acceptance of the camera (window, apd, etc)
-# 0.040 1/ns/cm^2 NSB-rate:
-MSimRandomPhotons.FileNameNSB:
-MSimRandomPhotons.FrequencyNSB:   0.0
-
-# FIXME: With a class describing the cones we could give NSB as
-# per sr and cm^2
-
-# -------------------------------------------------------------------------
-# Setup the trigger
-# -------------------------------------------------------------------------
-# This line could be omitted but then the discriminator would be
-# evaluated for all pixels not just for the pixels which are
-# later "connected" in the trigger (used in the coincidence map)
-# MSimTrigger.FileNameRouteAC:         resmc/magic-trigger-1NN.txt
-
-MSimTrigger.FileNameRouteAC: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-trigger-sum.txt
-#MSimTrigger.DiscriminatorThreshold: 13416
-
-# new Value from 29.01.2013: DiscriminatorThreshold is 9*offset(3280)+21*gain(328)=36408
-MSimTrigger.DiscriminatorThreshold: 36408
-
-# new Value from 28.08.2013: DiscriminatorThreshold is 9*offset(3720)+21*gain(372)=41292
-MSimTrigger.DiscriminatorThreshold: 41292
-
-# HEGRA like single pixel above threshold trigger
-#MSimTrigger.DiscriminatorThreshold:  10.00
-# Is this an option for a single pixel trigger?
-#MSimTrigger.DigitalSignalLength:     -1
-#MSimTrigger.CoincidenceTime:          3
-
-# Magic like 2NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-2NN.txt
-#MSimTrigger.DiscriminatorThreshold:  7.00
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 3NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-3NN.txt
-#MSimTrigger.DiscriminatorThreshold:  6.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 4NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-4NN.txt
-#MSimTrigger.DiscriminatorThreshold:  5.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-#MSimTrigger.FileNameRouteAC:         resmc/fact-7map.txt
-#MSimTrigger.DiscriminatorThreshold:  14040
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Every Pixel(!) should see the same signal independant of its size
-MSimCalibrationSignal.NumPhotons: 24
-MSimCalibrationSignal.NumEvents:  1000
-
-IntendedPulsePos.Val: 30
-
-#PulseShape.Function.Name: exp(-(x/2)^2/2)
-#PulseShape.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/dwarf-pulse.txt
-
-# -------------------------------------------------------------------------
-# Description how a pedestal/calibration signal is produced
-# -------------------------------------------------------------------------
-
-#MSimCalibrationSignal.NumEvents:  1000
-#MSimCalibrationSignal.NumPhotons;    5
-#MSimCalibrationSignal.TimeJitter;  1.0
-
-
-# -------------------------------------------------------------------------
-# Setup the FADC
-# -------------------------------------------------------------------------
-
-MRawRunHeader.SamplingFrequency: 2000
-MRawRunHeader.NumSamples:        1024
-MRawRunHeader.NumBytesPerSample:    2
-MRawRunHeader.FadcResolution:      12
-
-# Old values
-# Baseline at 15 like in MAGIC
-# 1.5 bit noise for a gain of 64
-# This allows a maximum of 200phe/pix
-#MSimCamera.DefaultOffset: 960
-#MSimCamera.DefaultNoise:   96
-#MSimCamera.DefaultGain:   256
-
-# New values
-#MSimCamera.DefaultOffset: 1000
-#MSimCamera.DefaultNoise:    30
-#MSimCamera.DefaultGain:    190
-
-# New values from 7.12.2012
-# gain of one pe is ~10mV, corresponds to 328 DAC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3280 DAC)
-# electronic noise is about 0.15 pe (->50 DAC)
-#MSimCamera.DefaultOffset: 3280
-#MSimCamera.DefaultNoise:    50
-#MSimCamera.DefaultGain:    328
-
-# New values from 28.08.2013
-# Gain (integral over 30 slices) of one pe is 123.5 mV ns in real data.
-# Gain(integral over 30 slices over the PulseShape is 10.8757 1ns.
-# The scaling factor (DefaultGain) should be 123.5 / 10.8757 mV = 11,3556 mV
-# this corresponds to 372 ADC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3720 ADC)
-# electronic noise is about 1.4 mV (->45 ADC)
-MSimCamera.DefaultOffset: 3720
-MSimCamera.DefaultNoise:    45
-MSimCamera.DefaultGain:    358
-
-# Value for the fudgefactor in the calculation of the accoupling:
-MSimCamera.fACFudgeFactor: 0.3367
-
-#MSimReadout.fConversionFactor: 1
-
-# The number of sampling points is almost irrelevant because they
-# are equidistant, i.e. calculated and no search is necessary.
-# Nevertheless, you must make sure that there are enough points
-# to sample the function accuratly enough.
-# Attention: x in the function is given in slices, so if you change the sampling
-# frequency you have to change also this function
-PulseShape.Function.Name:  (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
-PulseShape.Function.Npx:   300
-PulseShape.Function.Xmin:   0
-PulseShape.Function.Xmax:   300
-
-# -------------------------------------------------------------------------
-# Setup an image cleaning on the pure gamma signal (without noise)
-# -------------------------------------------------------------------------
-
-#MImgCleanStd.CleanLevel1:   6.0
-#MImgCleanStd.CleanLevel2:   6.0
-
-# -------------------------------------------------------------------------
-# This is a cut executed after the calculation of the image parameters
-# -------------------------------------------------------------------------
-Cut.Inverted: Yes
-
-#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
-Cut.Condition: MHillas.fSize>10
-#&& MHillas.fSize>30
-#MSimTrigger.SimulateElectronics: Off
-
-# Does not trigger anyway
-ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Index: trunk/Mars/resmc/fact/ceres_withoutNSBXTC1.rc
===================================================================
--- trunk/Mars/resmc/fact/ceres_withoutNSBXTC1.rc	(revision 17379)
+++ 	(revision )
@@ -1,296 +1,0 @@
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                              General
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to setup the logging stream for the jobs
-# (overwrites command line options)
-# -------------------------------------------------------------------------
-MLog.VerbosityLevel: 4
-#MLog.DebugLevel:     1
-#MLog.NoColors:       yes
-
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                                   Ceres
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to write the MJStar output somewhere
-# If you don't want it, it is written to the calibration output anyhow.
-# -------------------------------------------------------------------------
-#PathOut: .
-#PathIn: .
-
-
-# -------------------------------------------------------------------------
-# Configure Eventloop
-# -------------------------------------------------------------------------
-#MaxEvents: 10000
-#Overwrite: yes,no
-
-
-# -------------------------------------------------------------------------
-# Use this to setup binnings. For more details see: MBinning::ReadEnv
-# -------------------------------------------------------------------------
-# BinningEnergy.Raw:      100      1    100000  log
-# BinningSize.Raw:        100      1  10000000  log
-BinningImpact.Raw:       40   0       1000
-# BinningHeight.Raw:       50      0        12
-# BinningAz.Raw:          360   -360       360
-# BinningZd.Raw:           70      0        70
-# BinningViewCone.Raw:    155      0        31
-BinningTrigPos.Raw:     300    -25       275
-# BinningEvtWidth.Raw:    150      0        25
-# BinningDist.Raw:        100      0       2.5
-# BinningDistC.Raw:       100      0       2.5
-# BinningThreshold.Raw:    35    0.9     90000  log
-# BinningEnergyEst.Raw:   100    0.9     90000  log
-
-
-# -------------------------------------------------------------------------
-# Initialize random number generator (see MJob::InitRandomNumberGenerator)
-# -------------------------------------------------------------------------
-RandomNumberGenerator: TRandom3
-#RandomNumberSeedValue: 0
-
-
-# -------------------------------------------------------------------------
-# Ceres general setup
-# -------------------------------------------------------------------------
-
-# Switch off the camera "electronics"
-#Camera: Off
-
-# Force the use of the "hardware" trigger for calibration data
-#ForceTrigger: Yes
-
-
-# -------------------------------------------------------------------------
-# Some setup for the atmosphere. The default should be well suited.
-# -------------------------------------------------------------------------
-#MSimAtmosphere.FileAerosols: resmc/atmopshere-aerosols.txt
-#MSimAtmosphere.FileOzone:    resmc/atmopshere-ozone.txt
-
-
-# -------------------------------------------------------------------------
-# Here you can control the poiting of the telescope. To switch on
-# off-target observations set a value for the distance !=0 [deg].
-# For details see MSimPointingPos
-# -------------------------------------------------------------------------
-#MSimPointingPos.OffTargetDistance: 0.4
-#MSimPointingPos.OffTargetPhi: -1
-
-
-# -------------------------------------------------------------------------
-# Setup the reflector and camera geometry
-# -------------------------------------------------------------------------
-Reflector.Constructor: MReflector
-
-# For the file definition see MReflector::ReadFile
-
-Reflector.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-reflector.txt
-# Units mm: ~0.02° 
-#Reflector.SetSigmaPSF: 1.8
-# Units mm: ~0.03°
-#Reflector.SetSigmaPSF: 2.6
-#Reflector.SetSigmaPSF: 1.66
-
-# new Value from 7.12.2012:
-# 0.95 of the reflected light was inside a circle with a radius of 2.25mm. This corresponds to a SigmaPSF of 1.3 mm
-#Reflector.SetSigmaPSF: 1.3
-
-# new Value from 29.05.2013:
-# Set SigmaPSF to pixelsize
-Reflector.SetSigmaPSF: 10.0
-
-# --- DWARF ---
-# distance from mirror to camera [cm]
-#focal_distance     489.73
-# TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!)
-#paraboloid_focal   488.87
-
-#MGeomCam.Constructor:   MGeomCamDwarf(189.8,  9.5,  4.8887);
-MGeomCam.Constructor:   MGeomCamFACT();
-
-#MSimBundlePhotons.FileName: resmc/dwarf-fact.txt
-
-# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
-MSimAPD.Type: 1
-MSimExcessNoise.ExcessNoise: 0.12
-
-# -------------------------------------------------------------------------
-# Setup the absorption, conversion efficiency and angular acceptance
-# -------------------------------------------------------------------------
-MirrorReflectivity.FileName:           /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
-PhotonDetectionEfficiency.FileName:    /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-pde-1.0V.txt
-ConesAngularAcceptance.FileName:       /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-cones-angular-acceptance.txt
-ConesTransmission.FileName:            /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/Transmittance_1439Cones_FACT_bearbeitet.txt
-
-# -------------------------------------------------------------------------
-# Setup what in MMCS would be called "additional spot size"
-# -------------------------------------------------------------------------
-#MSimPSF.Sigma: -1
-#MSimReflector.DetectorMargin: 0
-
-# -------------------------------------------------------------------------
-# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
-# -------------------------------------------------------------------------
-# Dark Counts per APD: ~4MHz
-#MSimRandomPhotons.FrequencyFixed: 0.004
-# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
-# acceptance and the wavelength acceptance of the camera (window, apd, etc)
-# 0.040 1/ns/cm^2 NSB-rate:
-MSimRandomPhotons.FileNameNSB:
-MSimRandomPhotons.FrequencyNSB:   0.0
-
-# FIXME: With a class describing the cones we could give NSB as
-# per sr and cm^2
-
-# -------------------------------------------------------------------------
-# Setup the trigger
-# -------------------------------------------------------------------------
-# This line could be omitted but then the discriminator would be
-# evaluated for all pixels not just for the pixels which are
-# later "connected" in the trigger (used in the coincidence map)
-# MSimTrigger.FileNameRouteAC:         resmc/magic-trigger-1NN.txt
-
-MSimTrigger.FileNameRouteAC: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-trigger-sum.txt
-#MSimTrigger.DiscriminatorThreshold: 13416
-
-# new Value from 29.01.2013: DiscriminatorThreshold is 9*offset(3280)+21*gain(328)=36408
-MSimTrigger.DiscriminatorThreshold: 36408
-
-# new Value from 28.08.2013: DiscriminatorThreshold is 9*offset(3720)+21*gain(372)=41292
-MSimTrigger.DiscriminatorThreshold: 41292
-
-# HEGRA like single pixel above threshold trigger
-#MSimTrigger.DiscriminatorThreshold:  10.00
-# Is this an option for a single pixel trigger?
-#MSimTrigger.DigitalSignalLength:     -1
-#MSimTrigger.CoincidenceTime:          3
-
-# Magic like 2NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-2NN.txt
-#MSimTrigger.DiscriminatorThreshold:  7.00
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 3NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-3NN.txt
-#MSimTrigger.DiscriminatorThreshold:  6.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 4NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-4NN.txt
-#MSimTrigger.DiscriminatorThreshold:  5.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-#MSimTrigger.FileNameRouteAC:         resmc/fact-7map.txt
-#MSimTrigger.DiscriminatorThreshold:  14040
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Every Pixel(!) should see the same signal independant of its size
-MSimCalibrationSignal.NumPhotons: 24
-MSimCalibrationSignal.NumEvents:  1000
-
-IntendedPulsePos.Val: 30
-
-#PulseShape.Function.Name: exp(-(x/2)^2/2)
-#PulseShape.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/dwarf-pulse.txt
-
-# -------------------------------------------------------------------------
-# Description how a pedestal/calibration signal is produced
-# -------------------------------------------------------------------------
-
-#MSimCalibrationSignal.NumEvents:  1000
-#MSimCalibrationSignal.NumPhotons;    5
-#MSimCalibrationSignal.TimeJitter;  1.0
-
-
-# -------------------------------------------------------------------------
-# Setup the FADC
-# -------------------------------------------------------------------------
-
-MRawRunHeader.SamplingFrequency: 2000
-MRawRunHeader.NumSamples:        1024
-MRawRunHeader.NumBytesPerSample:    2
-MRawRunHeader.FadcResolution:      12
-
-# Old values
-# Baseline at 15 like in MAGIC
-# 1.5 bit noise for a gain of 64
-# This allows a maximum of 200phe/pix
-#MSimCamera.DefaultOffset: 960
-#MSimCamera.DefaultNoise:   96
-#MSimCamera.DefaultGain:   256
-
-# New values
-#MSimCamera.DefaultOffset: 1000
-#MSimCamera.DefaultNoise:    30
-#MSimCamera.DefaultGain:    190
-
-# New values from 7.12.2012
-# gain of one pe is ~10mV, corresponds to 328 DAC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3280 DAC)
-# electronic noise is about 0.15 pe (->50 DAC)
-#MSimCamera.DefaultOffset: 3280
-#MSimCamera.DefaultNoise:    50
-#MSimCamera.DefaultGain:    328
-
-# New values from 28.08.2013
-# Gain (integral over 30 slices) of one pe is 123.5 mV ns in real data.
-# Gain(integral over 30 slices over the PulseShape is 10.8757 1ns.
-# The scaling factor (DefaultGain) should be 123.5 / 10.8757 mV = 11,3556 mV
-# this corresponds to 372 ADC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3720 ADC)
-# electronic noise is about 1.4 mV (->45 ADC)
-MSimCamera.DefaultOffset: 3720
-MSimCamera.DefaultNoise:    45
-MSimCamera.DefaultGain:    358
-
-# Value for the fudgefactor in the calculation of the accoupling:
-MSimCamera.fACFudgeFactor: 0.3367
-
-#MSimReadout.fConversionFactor: 1
-
-# The number of sampling points is almost irrelevant because they
-# are equidistant, i.e. calculated and no search is necessary.
-# Nevertheless, you must make sure that there are enough points
-# to sample the function accuratly enough.
-# Attention: x in the function is given in slices, so if you change the sampling
-# frequency you have to change also this function
-PulseShape.Function.Name:  (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
-PulseShape.Function.Npx:   300
-PulseShape.Function.Xmin:   0
-PulseShape.Function.Xmax:   300
-
-# -------------------------------------------------------------------------
-# Setup an image cleaning on the pure gamma signal (without noise)
-# -------------------------------------------------------------------------
-
-#MImgCleanStd.CleanLevel1:   6.0
-#MImgCleanStd.CleanLevel2:   6.0
-
-# -------------------------------------------------------------------------
-# This is a cut executed after the calculation of the image parameters
-# -------------------------------------------------------------------------
-Cut.Inverted: Yes
-
-#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
-Cut.Condition: MHillas.fSize>10
-#&& MHillas.fSize>30
-#MSimTrigger.SimulateElectronics: Off
-
-# Does not trigger anyway
-ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Index: trunk/Mars/resmc/fact/ceres_withoutNSBXTC2.rc
===================================================================
--- trunk/Mars/resmc/fact/ceres_withoutNSBXTC2.rc	(revision 17379)
+++ 	(revision )
@@ -1,296 +1,0 @@
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                              General
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to setup the logging stream for the jobs
-# (overwrites command line options)
-# -------------------------------------------------------------------------
-MLog.VerbosityLevel: 4
-#MLog.DebugLevel:     1
-#MLog.NoColors:       yes
-
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                                   Ceres
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to write the MJStar output somewhere
-# If you don't want it, it is written to the calibration output anyhow.
-# -------------------------------------------------------------------------
-#PathOut: .
-#PathIn: .
-
-
-# -------------------------------------------------------------------------
-# Configure Eventloop
-# -------------------------------------------------------------------------
-#MaxEvents: 10000
-#Overwrite: yes,no
-
-
-# -------------------------------------------------------------------------
-# Use this to setup binnings. For more details see: MBinning::ReadEnv
-# -------------------------------------------------------------------------
-# BinningEnergy.Raw:      100      1    100000  log
-# BinningSize.Raw:        100      1  10000000  log
-BinningImpact.Raw:       40   0       1000
-# BinningHeight.Raw:       50      0        12
-# BinningAz.Raw:          360   -360       360
-# BinningZd.Raw:           70      0        70
-# BinningViewCone.Raw:    155      0        31
-BinningTrigPos.Raw:     300    -25       275
-# BinningEvtWidth.Raw:    150      0        25
-# BinningDist.Raw:        100      0       2.5
-# BinningDistC.Raw:       100      0       2.5
-# BinningThreshold.Raw:    35    0.9     90000  log
-# BinningEnergyEst.Raw:   100    0.9     90000  log
-
-
-# -------------------------------------------------------------------------
-# Initialize random number generator (see MJob::InitRandomNumberGenerator)
-# -------------------------------------------------------------------------
-RandomNumberGenerator: TRandom3
-#RandomNumberSeedValue: 0
-
-
-# -------------------------------------------------------------------------
-# Ceres general setup
-# -------------------------------------------------------------------------
-
-# Switch off the camera "electronics"
-#Camera: Off
-
-# Force the use of the "hardware" trigger for calibration data
-#ForceTrigger: Yes
-
-
-# -------------------------------------------------------------------------
-# Some setup for the atmosphere. The default should be well suited.
-# -------------------------------------------------------------------------
-#MSimAtmosphere.FileAerosols: resmc/atmopshere-aerosols.txt
-#MSimAtmosphere.FileOzone:    resmc/atmopshere-ozone.txt
-
-
-# -------------------------------------------------------------------------
-# Here you can control the poiting of the telescope. To switch on
-# off-target observations set a value for the distance !=0 [deg].
-# For details see MSimPointingPos
-# -------------------------------------------------------------------------
-#MSimPointingPos.OffTargetDistance: 0.4
-#MSimPointingPos.OffTargetPhi: -1
-
-
-# -------------------------------------------------------------------------
-# Setup the reflector and camera geometry
-# -------------------------------------------------------------------------
-Reflector.Constructor: MReflector
-
-# For the file definition see MReflector::ReadFile
-
-Reflector.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-reflector.txt
-# Units mm: ~0.02° 
-#Reflector.SetSigmaPSF: 1.8
-# Units mm: ~0.03°
-#Reflector.SetSigmaPSF: 2.6
-#Reflector.SetSigmaPSF: 1.66
-
-# new Value from 7.12.2012:
-# 0.95 of the reflected light was inside a circle with a radius of 2.25mm. This corresponds to a SigmaPSF of 1.3 mm
-#Reflector.SetSigmaPSF: 1.3
-
-# new Value from 29.05.2013:
-# Set SigmaPSF to pixelsize
-Reflector.SetSigmaPSF: 10.0
-
-# --- DWARF ---
-# distance from mirror to camera [cm]
-#focal_distance     489.73
-# TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!)
-#paraboloid_focal   488.87
-
-#MGeomCam.Constructor:   MGeomCamDwarf(189.8,  9.5,  4.8887);
-MGeomCam.Constructor:   MGeomCamFACT();
-
-#MSimBundlePhotons.FileName: resmc/dwarf-fact.txt
-
-# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
-MSimAPD.Type: 2
-MSimExcessNoise.ExcessNoise: 0.12
-
-# -------------------------------------------------------------------------
-# Setup the absorption, conversion efficiency and angular acceptance
-# -------------------------------------------------------------------------
-MirrorReflectivity.FileName:           /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
-PhotonDetectionEfficiency.FileName:    /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-pde-1.0V.txt
-ConesAngularAcceptance.FileName:       /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-cones-angular-acceptance.txt
-ConesTransmission.FileName:            /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/Transmittance_1439Cones_FACT_bearbeitet.txt
-
-# -------------------------------------------------------------------------
-# Setup what in MMCS would be called "additional spot size"
-# -------------------------------------------------------------------------
-#MSimPSF.Sigma: -1
-#MSimReflector.DetectorMargin: 0
-
-# -------------------------------------------------------------------------
-# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
-# -------------------------------------------------------------------------
-# Dark Counts per APD: ~4MHz
-#MSimRandomPhotons.FrequencyFixed: 0.004
-# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
-# acceptance and the wavelength acceptance of the camera (window, apd, etc)
-# 0.040 1/ns/cm^2 NSB-rate:
-MSimRandomPhotons.FileNameNSB:
-MSimRandomPhotons.FrequencyNSB:   0.0
-
-# FIXME: With a class describing the cones we could give NSB as
-# per sr and cm^2
-
-# -------------------------------------------------------------------------
-# Setup the trigger
-# -------------------------------------------------------------------------
-# This line could be omitted but then the discriminator would be
-# evaluated for all pixels not just for the pixels which are
-# later "connected" in the trigger (used in the coincidence map)
-# MSimTrigger.FileNameRouteAC:         resmc/magic-trigger-1NN.txt
-
-MSimTrigger.FileNameRouteAC: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-trigger-sum.txt
-#MSimTrigger.DiscriminatorThreshold: 13416
-
-# new Value from 29.01.2013: DiscriminatorThreshold is 9*offset(3280)+21*gain(328)=36408
-MSimTrigger.DiscriminatorThreshold: 36408
-
-# new Value from 28.08.2013: DiscriminatorThreshold is 9*offset(3720)+21*gain(372)=41292
-MSimTrigger.DiscriminatorThreshold: 41292
-
-# HEGRA like single pixel above threshold trigger
-#MSimTrigger.DiscriminatorThreshold:  10.00
-# Is this an option for a single pixel trigger?
-#MSimTrigger.DigitalSignalLength:     -1
-#MSimTrigger.CoincidenceTime:          3
-
-# Magic like 2NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-2NN.txt
-#MSimTrigger.DiscriminatorThreshold:  7.00
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 3NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-3NN.txt
-#MSimTrigger.DiscriminatorThreshold:  6.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 4NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-4NN.txt
-#MSimTrigger.DiscriminatorThreshold:  5.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-#MSimTrigger.FileNameRouteAC:         resmc/fact-7map.txt
-#MSimTrigger.DiscriminatorThreshold:  14040
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Every Pixel(!) should see the same signal independant of its size
-MSimCalibrationSignal.NumPhotons: 24
-MSimCalibrationSignal.NumEvents:  1000
-
-IntendedPulsePos.Val: 30
-
-#PulseShape.Function.Name: exp(-(x/2)^2/2)
-#PulseShape.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/dwarf-pulse.txt
-
-# -------------------------------------------------------------------------
-# Description how a pedestal/calibration signal is produced
-# -------------------------------------------------------------------------
-
-#MSimCalibrationSignal.NumEvents:  1000
-#MSimCalibrationSignal.NumPhotons;    5
-#MSimCalibrationSignal.TimeJitter;  1.0
-
-
-# -------------------------------------------------------------------------
-# Setup the FADC
-# -------------------------------------------------------------------------
-
-MRawRunHeader.SamplingFrequency: 2000
-MRawRunHeader.NumSamples:        1024
-MRawRunHeader.NumBytesPerSample:    2
-MRawRunHeader.FadcResolution:      12
-
-# Old values
-# Baseline at 15 like in MAGIC
-# 1.5 bit noise for a gain of 64
-# This allows a maximum of 200phe/pix
-#MSimCamera.DefaultOffset: 960
-#MSimCamera.DefaultNoise:   96
-#MSimCamera.DefaultGain:   256
-
-# New values
-#MSimCamera.DefaultOffset: 1000
-#MSimCamera.DefaultNoise:    30
-#MSimCamera.DefaultGain:    190
-
-# New values from 7.12.2012
-# gain of one pe is ~10mV, corresponds to 328 DAC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3280 DAC)
-# electronic noise is about 0.15 pe (->50 DAC)
-#MSimCamera.DefaultOffset: 3280
-#MSimCamera.DefaultNoise:    50
-#MSimCamera.DefaultGain:    328
-
-# New values from 28.08.2013
-# Gain (integral over 30 slices) of one pe is 123.5 mV ns in real data.
-# Gain(integral over 30 slices over the PulseShape is 10.8757 1ns.
-# The scaling factor (DefaultGain) should be 123.5 / 10.8757 mV = 11,3556 mV
-# this corresponds to 372 ADC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3720 ADC)
-# electronic noise is about 1.4 mV (->45 ADC)
-MSimCamera.DefaultOffset: 3720
-MSimCamera.DefaultNoise:    45
-MSimCamera.DefaultGain:    358
-
-# Value for the fudgefactor in the calculation of the accoupling:
-MSimCamera.fACFudgeFactor: 0.3367
-
-#MSimReadout.fConversionFactor: 1
-
-# The number of sampling points is almost irrelevant because they
-# are equidistant, i.e. calculated and no search is necessary.
-# Nevertheless, you must make sure that there are enough points
-# to sample the function accuratly enough.
-# Attention: x in the function is given in slices, so if you change the sampling
-# frequency you have to change also this function
-PulseShape.Function.Name:  (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
-PulseShape.Function.Npx:   300
-PulseShape.Function.Xmin:   0
-PulseShape.Function.Xmax:   300
-
-# -------------------------------------------------------------------------
-# Setup an image cleaning on the pure gamma signal (without noise)
-# -------------------------------------------------------------------------
-
-#MImgCleanStd.CleanLevel1:   6.0
-#MImgCleanStd.CleanLevel2:   6.0
-
-# -------------------------------------------------------------------------
-# This is a cut executed after the calculation of the image parameters
-# -------------------------------------------------------------------------
-Cut.Inverted: Yes
-
-#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
-Cut.Condition: MHillas.fSize>10
-#&& MHillas.fSize>30
-#MSimTrigger.SimulateElectronics: Off
-
-# Does not trigger anyway
-ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Index: trunk/Mars/resmc/fact/ceres_withoutNSBXTC3.rc
===================================================================
--- trunk/Mars/resmc/fact/ceres_withoutNSBXTC3.rc	(revision 17379)
+++ 	(revision )
@@ -1,296 +1,0 @@
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                              General
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to setup the logging stream for the jobs
-# (overwrites command line options)
-# -------------------------------------------------------------------------
-MLog.VerbosityLevel: 4
-#MLog.DebugLevel:     1
-#MLog.NoColors:       yes
-
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                                   Ceres
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to write the MJStar output somewhere
-# If you don't want it, it is written to the calibration output anyhow.
-# -------------------------------------------------------------------------
-#PathOut: .
-#PathIn: .
-
-
-# -------------------------------------------------------------------------
-# Configure Eventloop
-# -------------------------------------------------------------------------
-#MaxEvents: 10000
-#Overwrite: yes,no
-
-
-# -------------------------------------------------------------------------
-# Use this to setup binnings. For more details see: MBinning::ReadEnv
-# -------------------------------------------------------------------------
-# BinningEnergy.Raw:      100      1    100000  log
-# BinningSize.Raw:        100      1  10000000  log
-BinningImpact.Raw:       40   0       1000
-# BinningHeight.Raw:       50      0        12
-# BinningAz.Raw:          360   -360       360
-# BinningZd.Raw:           70      0        70
-# BinningViewCone.Raw:    155      0        31
-BinningTrigPos.Raw:     300    -25       275
-# BinningEvtWidth.Raw:    150      0        25
-# BinningDist.Raw:        100      0       2.5
-# BinningDistC.Raw:       100      0       2.5
-# BinningThreshold.Raw:    35    0.9     90000  log
-# BinningEnergyEst.Raw:   100    0.9     90000  log
-
-
-# -------------------------------------------------------------------------
-# Initialize random number generator (see MJob::InitRandomNumberGenerator)
-# -------------------------------------------------------------------------
-RandomNumberGenerator: TRandom3
-#RandomNumberSeedValue: 0
-
-
-# -------------------------------------------------------------------------
-# Ceres general setup
-# -------------------------------------------------------------------------
-
-# Switch off the camera "electronics"
-#Camera: Off
-
-# Force the use of the "hardware" trigger for calibration data
-#ForceTrigger: Yes
-
-
-# -------------------------------------------------------------------------
-# Some setup for the atmosphere. The default should be well suited.
-# -------------------------------------------------------------------------
-#MSimAtmosphere.FileAerosols: resmc/atmopshere-aerosols.txt
-#MSimAtmosphere.FileOzone:    resmc/atmopshere-ozone.txt
-
-
-# -------------------------------------------------------------------------
-# Here you can control the poiting of the telescope. To switch on
-# off-target observations set a value for the distance !=0 [deg].
-# For details see MSimPointingPos
-# -------------------------------------------------------------------------
-#MSimPointingPos.OffTargetDistance: 0.4
-#MSimPointingPos.OffTargetPhi: -1
-
-
-# -------------------------------------------------------------------------
-# Setup the reflector and camera geometry
-# -------------------------------------------------------------------------
-Reflector.Constructor: MReflector
-
-# For the file definition see MReflector::ReadFile
-
-Reflector.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-reflector.txt
-# Units mm: ~0.02° 
-#Reflector.SetSigmaPSF: 1.8
-# Units mm: ~0.03°
-#Reflector.SetSigmaPSF: 2.6
-#Reflector.SetSigmaPSF: 1.66
-
-# new Value from 7.12.2012:
-# 0.95 of the reflected light was inside a circle with a radius of 2.25mm. This corresponds to a SigmaPSF of 1.3 mm
-#Reflector.SetSigmaPSF: 1.3
-
-# new Value from 29.05.2013:
-# Set SigmaPSF to pixelsize
-Reflector.SetSigmaPSF: 10.0
-
-# --- DWARF ---
-# distance from mirror to camera [cm]
-#focal_distance     489.73
-# TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!)
-#paraboloid_focal   488.87
-
-#MGeomCam.Constructor:   MGeomCamDwarf(189.8,  9.5,  4.8887);
-MGeomCam.Constructor:   MGeomCamFACT();
-
-#MSimBundlePhotons.FileName: resmc/dwarf-fact.txt
-
-# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
-MSimAPD.Type: 3
-MSimExcessNoise.ExcessNoise: 0.12
-
-# -------------------------------------------------------------------------
-# Setup the absorption, conversion efficiency and angular acceptance
-# -------------------------------------------------------------------------
-MirrorReflectivity.FileName:           /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
-PhotonDetectionEfficiency.FileName:    /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-pde-1.0V.txt
-ConesAngularAcceptance.FileName:       /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-cones-angular-acceptance.txt
-ConesTransmission.FileName:            /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/Transmittance_1439Cones_FACT_bearbeitet.txt
-
-# -------------------------------------------------------------------------
-# Setup what in MMCS would be called "additional spot size"
-# -------------------------------------------------------------------------
-#MSimPSF.Sigma: -1
-#MSimReflector.DetectorMargin: 0
-
-# -------------------------------------------------------------------------
-# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
-# -------------------------------------------------------------------------
-# Dark Counts per APD: ~4MHz
-#MSimRandomPhotons.FrequencyFixed: 0.004
-# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
-# acceptance and the wavelength acceptance of the camera (window, apd, etc)
-# 0.040 1/ns/cm^2 NSB-rate:
-MSimRandomPhotons.FileNameNSB:
-MSimRandomPhotons.FrequencyNSB:   0.0
-
-# FIXME: With a class describing the cones we could give NSB as
-# per sr and cm^2
-
-# -------------------------------------------------------------------------
-# Setup the trigger
-# -------------------------------------------------------------------------
-# This line could be omitted but then the discriminator would be
-# evaluated for all pixels not just for the pixels which are
-# later "connected" in the trigger (used in the coincidence map)
-# MSimTrigger.FileNameRouteAC:         resmc/magic-trigger-1NN.txt
-
-MSimTrigger.FileNameRouteAC: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-trigger-sum.txt
-#MSimTrigger.DiscriminatorThreshold: 13416
-
-# new Value from 29.01.2013: DiscriminatorThreshold is 9*offset(3280)+21*gain(328)=36408
-MSimTrigger.DiscriminatorThreshold: 36408
-
-# new Value from 28.08.2013: DiscriminatorThreshold is 9*offset(3720)+21*gain(372)=41292
-MSimTrigger.DiscriminatorThreshold: 41292
-
-# HEGRA like single pixel above threshold trigger
-#MSimTrigger.DiscriminatorThreshold:  10.00
-# Is this an option for a single pixel trigger?
-#MSimTrigger.DigitalSignalLength:     -1
-#MSimTrigger.CoincidenceTime:          3
-
-# Magic like 2NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-2NN.txt
-#MSimTrigger.DiscriminatorThreshold:  7.00
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 3NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-3NN.txt
-#MSimTrigger.DiscriminatorThreshold:  6.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 4NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-4NN.txt
-#MSimTrigger.DiscriminatorThreshold:  5.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-#MSimTrigger.FileNameRouteAC:         resmc/fact-7map.txt
-#MSimTrigger.DiscriminatorThreshold:  14040
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Every Pixel(!) should see the same signal independant of its size
-MSimCalibrationSignal.NumPhotons: 24
-MSimCalibrationSignal.NumEvents:  1000
-
-IntendedPulsePos.Val: 30
-
-#PulseShape.Function.Name: exp(-(x/2)^2/2)
-#PulseShape.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/dwarf-pulse.txt
-
-# -------------------------------------------------------------------------
-# Description how a pedestal/calibration signal is produced
-# -------------------------------------------------------------------------
-
-#MSimCalibrationSignal.NumEvents:  1000
-#MSimCalibrationSignal.NumPhotons;    5
-#MSimCalibrationSignal.TimeJitter;  1.0
-
-
-# -------------------------------------------------------------------------
-# Setup the FADC
-# -------------------------------------------------------------------------
-
-MRawRunHeader.SamplingFrequency: 2000
-MRawRunHeader.NumSamples:        1024
-MRawRunHeader.NumBytesPerSample:    2
-MRawRunHeader.FadcResolution:      12
-
-# Old values
-# Baseline at 15 like in MAGIC
-# 1.5 bit noise for a gain of 64
-# This allows a maximum of 200phe/pix
-#MSimCamera.DefaultOffset: 960
-#MSimCamera.DefaultNoise:   96
-#MSimCamera.DefaultGain:   256
-
-# New values
-#MSimCamera.DefaultOffset: 1000
-#MSimCamera.DefaultNoise:    30
-#MSimCamera.DefaultGain:    190
-
-# New values from 7.12.2012
-# gain of one pe is ~10mV, corresponds to 328 DAC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3280 DAC)
-# electronic noise is about 0.15 pe (->50 DAC)
-#MSimCamera.DefaultOffset: 3280
-#MSimCamera.DefaultNoise:    50
-#MSimCamera.DefaultGain:    328
-
-# New values from 28.08.2013
-# Gain (integral over 30 slices) of one pe is 123.5 mV ns in real data.
-# Gain(integral over 30 slices over the PulseShape is 10.8757 1ns.
-# The scaling factor (DefaultGain) should be 123.5 / 10.8757 mV = 11,3556 mV
-# this corresponds to 372 ADC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3720 ADC)
-# electronic noise is about 1.4 mV (->45 ADC)
-MSimCamera.DefaultOffset: 3720
-MSimCamera.DefaultNoise:    45
-MSimCamera.DefaultGain:    358
-
-# Value for the fudgefactor in the calculation of the accoupling:
-MSimCamera.fACFudgeFactor: 0.3367
-
-#MSimReadout.fConversionFactor: 1
-
-# The number of sampling points is almost irrelevant because they
-# are equidistant, i.e. calculated and no search is necessary.
-# Nevertheless, you must make sure that there are enough points
-# to sample the function accuratly enough.
-# Attention: x in the function is given in slices, so if you change the sampling
-# frequency you have to change also this function
-PulseShape.Function.Name:  (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
-PulseShape.Function.Npx:   300
-PulseShape.Function.Xmin:   0
-PulseShape.Function.Xmax:   300
-
-# -------------------------------------------------------------------------
-# Setup an image cleaning on the pure gamma signal (without noise)
-# -------------------------------------------------------------------------
-
-#MImgCleanStd.CleanLevel1:   6.0
-#MImgCleanStd.CleanLevel2:   6.0
-
-# -------------------------------------------------------------------------
-# This is a cut executed after the calculation of the image parameters
-# -------------------------------------------------------------------------
-Cut.Inverted: Yes
-
-#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
-Cut.Condition: MHillas.fSize>10
-#&& MHillas.fSize>30
-#MSimTrigger.SimulateElectronics: Off
-
-# Does not trigger anyway
-ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Index: trunk/Mars/resmc/fact/ceres_withoutNSBXTC4.rc
===================================================================
--- trunk/Mars/resmc/fact/ceres_withoutNSBXTC4.rc	(revision 17379)
+++ 	(revision )
@@ -1,296 +1,0 @@
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                              General
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to setup the logging stream for the jobs
-# (overwrites command line options)
-# -------------------------------------------------------------------------
-MLog.VerbosityLevel: 4
-#MLog.DebugLevel:     1
-#MLog.NoColors:       yes
-
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                                   Ceres
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to write the MJStar output somewhere
-# If you don't want it, it is written to the calibration output anyhow.
-# -------------------------------------------------------------------------
-#PathOut: .
-#PathIn: .
-
-
-# -------------------------------------------------------------------------
-# Configure Eventloop
-# -------------------------------------------------------------------------
-#MaxEvents: 10000
-#Overwrite: yes,no
-
-
-# -------------------------------------------------------------------------
-# Use this to setup binnings. For more details see: MBinning::ReadEnv
-# -------------------------------------------------------------------------
-# BinningEnergy.Raw:      100      1    100000  log
-# BinningSize.Raw:        100      1  10000000  log
-BinningImpact.Raw:       40   0       1000
-# BinningHeight.Raw:       50      0        12
-# BinningAz.Raw:          360   -360       360
-# BinningZd.Raw:           70      0        70
-# BinningViewCone.Raw:    155      0        31
-BinningTrigPos.Raw:     300    -25       275
-# BinningEvtWidth.Raw:    150      0        25
-# BinningDist.Raw:        100      0       2.5
-# BinningDistC.Raw:       100      0       2.5
-# BinningThreshold.Raw:    35    0.9     90000  log
-# BinningEnergyEst.Raw:   100    0.9     90000  log
-
-
-# -------------------------------------------------------------------------
-# Initialize random number generator (see MJob::InitRandomNumberGenerator)
-# -------------------------------------------------------------------------
-RandomNumberGenerator: TRandom3
-#RandomNumberSeedValue: 0
-
-
-# -------------------------------------------------------------------------
-# Ceres general setup
-# -------------------------------------------------------------------------
-
-# Switch off the camera "electronics"
-#Camera: Off
-
-# Force the use of the "hardware" trigger for calibration data
-#ForceTrigger: Yes
-
-
-# -------------------------------------------------------------------------
-# Some setup for the atmosphere. The default should be well suited.
-# -------------------------------------------------------------------------
-#MSimAtmosphere.FileAerosols: resmc/atmopshere-aerosols.txt
-#MSimAtmosphere.FileOzone:    resmc/atmopshere-ozone.txt
-
-
-# -------------------------------------------------------------------------
-# Here you can control the poiting of the telescope. To switch on
-# off-target observations set a value for the distance !=0 [deg].
-# For details see MSimPointingPos
-# -------------------------------------------------------------------------
-#MSimPointingPos.OffTargetDistance: 0.4
-#MSimPointingPos.OffTargetPhi: -1
-
-
-# -------------------------------------------------------------------------
-# Setup the reflector and camera geometry
-# -------------------------------------------------------------------------
-Reflector.Constructor: MReflector
-
-# For the file definition see MReflector::ReadFile
-
-Reflector.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-reflector.txt
-# Units mm: ~0.02° 
-#Reflector.SetSigmaPSF: 1.8
-# Units mm: ~0.03°
-#Reflector.SetSigmaPSF: 2.6
-#Reflector.SetSigmaPSF: 1.66
-
-# new Value from 7.12.2012:
-# 0.95 of the reflected light was inside a circle with a radius of 2.25mm. This corresponds to a SigmaPSF of 1.3 mm
-#Reflector.SetSigmaPSF: 1.3
-
-# new Value from 29.05.2013:
-# Set SigmaPSF to pixelsize
-Reflector.SetSigmaPSF: 10.0
-
-# --- DWARF ---
-# distance from mirror to camera [cm]
-#focal_distance     489.73
-# TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!)
-#paraboloid_focal   488.87
-
-#MGeomCam.Constructor:   MGeomCamDwarf(189.8,  9.5,  4.8887);
-MGeomCam.Constructor:   MGeomCamFACT();
-
-#MSimBundlePhotons.FileName: resmc/dwarf-fact.txt
-
-# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
-MSimAPD.Type: 4
-MSimExcessNoise.ExcessNoise: 0.12
-
-# -------------------------------------------------------------------------
-# Setup the absorption, conversion efficiency and angular acceptance
-# -------------------------------------------------------------------------
-MirrorReflectivity.FileName:           /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
-PhotonDetectionEfficiency.FileName:    /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-pde-1.0V.txt
-ConesAngularAcceptance.FileName:       /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-cones-angular-acceptance.txt
-ConesTransmission.FileName:            /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/Transmittance_1439Cones_FACT_bearbeitet.txt
-
-# -------------------------------------------------------------------------
-# Setup what in MMCS would be called "additional spot size"
-# -------------------------------------------------------------------------
-#MSimPSF.Sigma: -1
-#MSimReflector.DetectorMargin: 0
-
-# -------------------------------------------------------------------------
-# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
-# -------------------------------------------------------------------------
-# Dark Counts per APD: ~4MHz
-#MSimRandomPhotons.FrequencyFixed: 0.004
-# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
-# acceptance and the wavelength acceptance of the camera (window, apd, etc)
-# 0.040 1/ns/cm^2 NSB-rate:
-MSimRandomPhotons.FileNameNSB:
-MSimRandomPhotons.FrequencyNSB:   0.0
-
-# FIXME: With a class describing the cones we could give NSB as
-# per sr and cm^2
-
-# -------------------------------------------------------------------------
-# Setup the trigger
-# -------------------------------------------------------------------------
-# This line could be omitted but then the discriminator would be
-# evaluated for all pixels not just for the pixels which are
-# later "connected" in the trigger (used in the coincidence map)
-# MSimTrigger.FileNameRouteAC:         resmc/magic-trigger-1NN.txt
-
-MSimTrigger.FileNameRouteAC: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-trigger-sum.txt
-#MSimTrigger.DiscriminatorThreshold: 13416
-
-# new Value from 29.01.2013: DiscriminatorThreshold is 9*offset(3280)+21*gain(328)=36408
-MSimTrigger.DiscriminatorThreshold: 36408
-
-# new Value from 28.08.2013: DiscriminatorThreshold is 9*offset(3720)+21*gain(372)=41292
-MSimTrigger.DiscriminatorThreshold: 41292
-
-# HEGRA like single pixel above threshold trigger
-#MSimTrigger.DiscriminatorThreshold:  10.00
-# Is this an option for a single pixel trigger?
-#MSimTrigger.DigitalSignalLength:     -1
-#MSimTrigger.CoincidenceTime:          3
-
-# Magic like 2NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-2NN.txt
-#MSimTrigger.DiscriminatorThreshold:  7.00
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 3NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-3NN.txt
-#MSimTrigger.DiscriminatorThreshold:  6.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 4NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-4NN.txt
-#MSimTrigger.DiscriminatorThreshold:  5.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-#MSimTrigger.FileNameRouteAC:         resmc/fact-7map.txt
-#MSimTrigger.DiscriminatorThreshold:  14040
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Every Pixel(!) should see the same signal independant of its size
-MSimCalibrationSignal.NumPhotons: 24
-MSimCalibrationSignal.NumEvents:  1000
-
-IntendedPulsePos.Val: 30
-
-#PulseShape.Function.Name: exp(-(x/2)^2/2)
-#PulseShape.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/dwarf-pulse.txt
-
-# -------------------------------------------------------------------------
-# Description how a pedestal/calibration signal is produced
-# -------------------------------------------------------------------------
-
-#MSimCalibrationSignal.NumEvents:  1000
-#MSimCalibrationSignal.NumPhotons;    5
-#MSimCalibrationSignal.TimeJitter;  1.0
-
-
-# -------------------------------------------------------------------------
-# Setup the FADC
-# -------------------------------------------------------------------------
-
-MRawRunHeader.SamplingFrequency: 2000
-MRawRunHeader.NumSamples:        1024
-MRawRunHeader.NumBytesPerSample:    2
-MRawRunHeader.FadcResolution:      12
-
-# Old values
-# Baseline at 15 like in MAGIC
-# 1.5 bit noise for a gain of 64
-# This allows a maximum of 200phe/pix
-#MSimCamera.DefaultOffset: 960
-#MSimCamera.DefaultNoise:   96
-#MSimCamera.DefaultGain:   256
-
-# New values
-#MSimCamera.DefaultOffset: 1000
-#MSimCamera.DefaultNoise:    30
-#MSimCamera.DefaultGain:    190
-
-# New values from 7.12.2012
-# gain of one pe is ~10mV, corresponds to 328 DAC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3280 DAC)
-# electronic noise is about 0.15 pe (->50 DAC)
-#MSimCamera.DefaultOffset: 3280
-#MSimCamera.DefaultNoise:    50
-#MSimCamera.DefaultGain:    328
-
-# New values from 28.08.2013
-# Gain (integral over 30 slices) of one pe is 123.5 mV ns in real data.
-# Gain(integral over 30 slices over the PulseShape is 10.8757 1ns.
-# The scaling factor (DefaultGain) should be 123.5 / 10.8757 mV = 11,3556 mV
-# this corresponds to 372 ADC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3720 ADC)
-# electronic noise is about 1.4 mV (->45 ADC)
-MSimCamera.DefaultOffset: 3720
-MSimCamera.DefaultNoise:    45
-MSimCamera.DefaultGain:    358
-
-# Value for the fudgefactor in the calculation of the accoupling:
-MSimCamera.fACFudgeFactor: 0.3367
-
-#MSimReadout.fConversionFactor: 1
-
-# The number of sampling points is almost irrelevant because they
-# are equidistant, i.e. calculated and no search is necessary.
-# Nevertheless, you must make sure that there are enough points
-# to sample the function accuratly enough.
-# Attention: x in the function is given in slices, so if you change the sampling
-# frequency you have to change also this function
-PulseShape.Function.Name:  (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
-PulseShape.Function.Npx:   300
-PulseShape.Function.Xmin:   0
-PulseShape.Function.Xmax:   300
-
-# -------------------------------------------------------------------------
-# Setup an image cleaning on the pure gamma signal (without noise)
-# -------------------------------------------------------------------------
-
-#MImgCleanStd.CleanLevel1:   6.0
-#MImgCleanStd.CleanLevel2:   6.0
-
-# -------------------------------------------------------------------------
-# This is a cut executed after the calculation of the image parameters
-# -------------------------------------------------------------------------
-Cut.Inverted: Yes
-
-#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
-Cut.Condition: MHillas.fSize>10
-#&& MHillas.fSize>30
-#MSimTrigger.SimulateElectronics: Off
-
-# Does not trigger anyway
-ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Index: trunk/Mars/resmc/fact/ceres_withoutNSBXTC5.rc
===================================================================
--- trunk/Mars/resmc/fact/ceres_withoutNSBXTC5.rc	(revision 17379)
+++ 	(revision )
@@ -1,296 +1,0 @@
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                              General
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to setup the logging stream for the jobs
-# (overwrites command line options)
-# -------------------------------------------------------------------------
-MLog.VerbosityLevel: 4
-#MLog.DebugLevel:     1
-#MLog.NoColors:       yes
-
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                                   Ceres
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to write the MJStar output somewhere
-# If you don't want it, it is written to the calibration output anyhow.
-# -------------------------------------------------------------------------
-#PathOut: .
-#PathIn: .
-
-
-# -------------------------------------------------------------------------
-# Configure Eventloop
-# -------------------------------------------------------------------------
-#MaxEvents: 10000
-#Overwrite: yes,no
-
-
-# -------------------------------------------------------------------------
-# Use this to setup binnings. For more details see: MBinning::ReadEnv
-# -------------------------------------------------------------------------
-# BinningEnergy.Raw:      100      1    100000  log
-# BinningSize.Raw:        100      1  10000000  log
-BinningImpact.Raw:       40   0       1000
-# BinningHeight.Raw:       50      0        12
-# BinningAz.Raw:          360   -360       360
-# BinningZd.Raw:           70      0        70
-# BinningViewCone.Raw:    155      0        31
-BinningTrigPos.Raw:     300    -25       275
-# BinningEvtWidth.Raw:    150      0        25
-# BinningDist.Raw:        100      0       2.5
-# BinningDistC.Raw:       100      0       2.5
-# BinningThreshold.Raw:    35    0.9     90000  log
-# BinningEnergyEst.Raw:   100    0.9     90000  log
-
-
-# -------------------------------------------------------------------------
-# Initialize random number generator (see MJob::InitRandomNumberGenerator)
-# -------------------------------------------------------------------------
-RandomNumberGenerator: TRandom3
-#RandomNumberSeedValue: 0
-
-
-# -------------------------------------------------------------------------
-# Ceres general setup
-# -------------------------------------------------------------------------
-
-# Switch off the camera "electronics"
-#Camera: Off
-
-# Force the use of the "hardware" trigger for calibration data
-#ForceTrigger: Yes
-
-
-# -------------------------------------------------------------------------
-# Some setup for the atmosphere. The default should be well suited.
-# -------------------------------------------------------------------------
-#MSimAtmosphere.FileAerosols: resmc/atmopshere-aerosols.txt
-#MSimAtmosphere.FileOzone:    resmc/atmopshere-ozone.txt
-
-
-# -------------------------------------------------------------------------
-# Here you can control the poiting of the telescope. To switch on
-# off-target observations set a value for the distance !=0 [deg].
-# For details see MSimPointingPos
-# -------------------------------------------------------------------------
-#MSimPointingPos.OffTargetDistance: 0.4
-#MSimPointingPos.OffTargetPhi: -1
-
-
-# -------------------------------------------------------------------------
-# Setup the reflector and camera geometry
-# -------------------------------------------------------------------------
-Reflector.Constructor: MReflector
-
-# For the file definition see MReflector::ReadFile
-
-Reflector.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-reflector.txt
-# Units mm: ~0.02° 
-#Reflector.SetSigmaPSF: 1.8
-# Units mm: ~0.03°
-#Reflector.SetSigmaPSF: 2.6
-#Reflector.SetSigmaPSF: 1.66
-
-# new Value from 7.12.2012:
-# 0.95 of the reflected light was inside a circle with a radius of 2.25mm. This corresponds to a SigmaPSF of 1.3 mm
-#Reflector.SetSigmaPSF: 1.3
-
-# new Value from 29.05.2013:
-# Set SigmaPSF to pixelsize
-Reflector.SetSigmaPSF: 10.0
-
-# --- DWARF ---
-# distance from mirror to camera [cm]
-#focal_distance     489.73
-# TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!)
-#paraboloid_focal   488.87
-
-#MGeomCam.Constructor:   MGeomCamDwarf(189.8,  9.5,  4.8887);
-MGeomCam.Constructor:   MGeomCamFACT();
-
-#MSimBundlePhotons.FileName: resmc/dwarf-fact.txt
-
-# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
-MSimAPD.Type: 3
-MSimExcessNoise.ExcessNoise: 0.12
-
-# -------------------------------------------------------------------------
-# Setup the absorption, conversion efficiency and angular acceptance
-# -------------------------------------------------------------------------
-MirrorReflectivity.FileName:           /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
-PhotonDetectionEfficiency.FileName:    /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-pde-1.0V.txt
-ConesAngularAcceptance.FileName:       /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-cones-angular-acceptance.txt
-ConesTransmission.FileName:            /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/Transmittance_1439Cones_FACT_bearbeitet.txt
-
-# -------------------------------------------------------------------------
-# Setup what in MMCS would be called "additional spot size"
-# -------------------------------------------------------------------------
-#MSimPSF.Sigma: -1
-#MSimReflector.DetectorMargin: 0
-
-# -------------------------------------------------------------------------
-# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
-# -------------------------------------------------------------------------
-# Dark Counts per APD: ~4MHz
-#MSimRandomPhotons.FrequencyFixed: 0.004
-# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
-# acceptance and the wavelength acceptance of the camera (window, apd, etc)
-# 0.040 1/ns/cm^2 NSB-rate:
-MSimRandomPhotons.FileNameNSB:
-MSimRandomPhotons.FrequencyNSB:   0.0
-
-# FIXME: With a class describing the cones we could give NSB as
-# per sr and cm^2
-
-# -------------------------------------------------------------------------
-# Setup the trigger
-# -------------------------------------------------------------------------
-# This line could be omitted but then the discriminator would be
-# evaluated for all pixels not just for the pixels which are
-# later "connected" in the trigger (used in the coincidence map)
-# MSimTrigger.FileNameRouteAC:         resmc/magic-trigger-1NN.txt
-
-MSimTrigger.FileNameRouteAC: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-trigger-sum.txt
-#MSimTrigger.DiscriminatorThreshold: 13416
-
-# new Value from 29.01.2013: DiscriminatorThreshold is 9*offset(3280)+21*gain(328)=36408
-MSimTrigger.DiscriminatorThreshold: 36408
-
-# new Value from 28.08.2013: DiscriminatorThreshold is 9*offset(3720)+21*gain(372)=41292
-MSimTrigger.DiscriminatorThreshold: 41292
-
-# HEGRA like single pixel above threshold trigger
-#MSimTrigger.DiscriminatorThreshold:  10.00
-# Is this an option for a single pixel trigger?
-#MSimTrigger.DigitalSignalLength:     -1
-#MSimTrigger.CoincidenceTime:          3
-
-# Magic like 2NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-2NN.txt
-#MSimTrigger.DiscriminatorThreshold:  7.00
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 3NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-3NN.txt
-#MSimTrigger.DiscriminatorThreshold:  6.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 4NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-4NN.txt
-#MSimTrigger.DiscriminatorThreshold:  5.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-#MSimTrigger.FileNameRouteAC:         resmc/fact-7map.txt
-#MSimTrigger.DiscriminatorThreshold:  14040
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Every Pixel(!) should see the same signal independant of its size
-MSimCalibrationSignal.NumPhotons: 24
-MSimCalibrationSignal.NumEvents:  1000
-
-IntendedPulsePos.Val: 30
-
-#PulseShape.Function.Name: exp(-(x/2)^2/2)
-#PulseShape.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/dwarf-pulse.txt
-
-# -------------------------------------------------------------------------
-# Description how a pedestal/calibration signal is produced
-# -------------------------------------------------------------------------
-
-#MSimCalibrationSignal.NumEvents:  1000
-#MSimCalibrationSignal.NumPhotons;    5
-#MSimCalibrationSignal.TimeJitter;  1.0
-
-
-# -------------------------------------------------------------------------
-# Setup the FADC
-# -------------------------------------------------------------------------
-
-MRawRunHeader.SamplingFrequency: 2000
-MRawRunHeader.NumSamples:        1024
-MRawRunHeader.NumBytesPerSample:    2
-MRawRunHeader.FadcResolution:      12
-
-# Old values
-# Baseline at 15 like in MAGIC
-# 1.5 bit noise for a gain of 64
-# This allows a maximum of 200phe/pix
-#MSimCamera.DefaultOffset: 960
-#MSimCamera.DefaultNoise:   96
-#MSimCamera.DefaultGain:   256
-
-# New values
-#MSimCamera.DefaultOffset: 1000
-#MSimCamera.DefaultNoise:    30
-#MSimCamera.DefaultGain:    190
-
-# New values from 7.12.2012
-# gain of one pe is ~10mV, corresponds to 328 DAC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3280 DAC)
-# electronic noise is about 0.15 pe (->50 DAC)
-#MSimCamera.DefaultOffset: 3280
-#MSimCamera.DefaultNoise:    50
-#MSimCamera.DefaultGain:    328
-
-# New values from 28.08.2013
-# Gain (integral over 30 slices) of one pe is 123.5 mV ns in real data.
-# Gain(integral over 30 slices over the PulseShape is 10.8757 1ns.
-# The scaling factor (DefaultGain) should be 123.5 / 10.8757 mV = 11,3556 mV
-# this corresponds to 372 ADC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3720 ADC)
-# electronic noise is about 1.4 mV (->45 ADC)
-MSimCamera.DefaultOffset: 3720
-MSimCamera.DefaultNoise:    45
-MSimCamera.DefaultGain:    358
-
-# Value for the fudgefactor in the calculation of the accoupling:
-MSimCamera.fACFudgeFactor: 0.3367
-
-#MSimReadout.fConversionFactor: 1
-
-# The number of sampling points is almost irrelevant because they
-# are equidistant, i.e. calculated and no search is necessary.
-# Nevertheless, you must make sure that there are enough points
-# to sample the function accuratly enough.
-# Attention: x in the function is given in slices, so if you change the sampling
-# frequency you have to change also this function
-PulseShape.Function.Name:  (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
-PulseShape.Function.Npx:   300
-PulseShape.Function.Xmin:   0
-PulseShape.Function.Xmax:   300
-
-# -------------------------------------------------------------------------
-# Setup an image cleaning on the pure gamma signal (without noise)
-# -------------------------------------------------------------------------
-
-#MImgCleanStd.CleanLevel1:   6.0
-#MImgCleanStd.CleanLevel2:   6.0
-
-# -------------------------------------------------------------------------
-# This is a cut executed after the calculation of the image parameters
-# -------------------------------------------------------------------------
-Cut.Inverted: Yes
-
-#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
-Cut.Condition: MHillas.fSize>10
-#&& MHillas.fSize>30
-#MSimTrigger.SimulateElectronics: Off
-
-# Does not trigger anyway
-ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Index: trunk/Mars/resmc/fact/ceres_withoutNSB_Roi300.rc
===================================================================
--- trunk/Mars/resmc/fact/ceres_withoutNSB_Roi300.rc	(revision 17379)
+++ 	(revision )
@@ -1,296 +1,0 @@
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                              General
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to setup the logging stream for the jobs
-# (overwrites command line options)
-# -------------------------------------------------------------------------
-MLog.VerbosityLevel: 4
-#MLog.DebugLevel:     1
-#MLog.NoColors:       yes
-
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-#                                   Ceres
-# ==========================================================================
-#############################################################################
-# ==========================================================================
-
-# -------------------------------------------------------------------------
-# Use this if you want to write the MJStar output somewhere
-# If you don't want it, it is written to the calibration output anyhow.
-# -------------------------------------------------------------------------
-#PathOut: .
-#PathIn: .
-
-
-# -------------------------------------------------------------------------
-# Configure Eventloop
-# -------------------------------------------------------------------------
-#MaxEvents: 10000
-#Overwrite: yes,no
-
-
-# -------------------------------------------------------------------------
-# Use this to setup binnings. For more details see: MBinning::ReadEnv
-# -------------------------------------------------------------------------
-# BinningEnergy.Raw:      100      1    100000  log
-# BinningSize.Raw:        100      1  10000000  log
-BinningImpact.Raw:       40   0       1000
-# BinningHeight.Raw:       50      0        12
-# BinningAz.Raw:          360   -360       360
-# BinningZd.Raw:           70      0        70
-# BinningViewCone.Raw:    155      0        31
-BinningTrigPos.Raw:     300    -25       275
-# BinningEvtWidth.Raw:    150      0        25
-# BinningDist.Raw:        100      0       2.5
-# BinningDistC.Raw:       100      0       2.5
-# BinningThreshold.Raw:    35    0.9     90000  log
-# BinningEnergyEst.Raw:   100    0.9     90000  log
-
-
-# -------------------------------------------------------------------------
-# Initialize random number generator (see MJob::InitRandomNumberGenerator)
-# -------------------------------------------------------------------------
-RandomNumberGenerator: TRandom3
-#RandomNumberSeedValue: 0
-
-
-# -------------------------------------------------------------------------
-# Ceres general setup
-# -------------------------------------------------------------------------
-
-# Switch off the camera "electronics"
-#Camera: Off
-
-# Force the use of the "hardware" trigger for calibration data
-#ForceTrigger: Yes
-
-
-# -------------------------------------------------------------------------
-# Some setup for the atmosphere. The default should be well suited.
-# -------------------------------------------------------------------------
-#MSimAtmosphere.FileAerosols: resmc/atmopshere-aerosols.txt
-#MSimAtmosphere.FileOzone:    resmc/atmopshere-ozone.txt
-
-
-# -------------------------------------------------------------------------
-# Here you can control the poiting of the telescope. To switch on
-# off-target observations set a value for the distance !=0 [deg].
-# For details see MSimPointingPos
-# -------------------------------------------------------------------------
-#MSimPointingPos.OffTargetDistance: 0.4
-#MSimPointingPos.OffTargetPhi: -1
-
-
-# -------------------------------------------------------------------------
-# Setup the reflector and camera geometry
-# -------------------------------------------------------------------------
-Reflector.Constructor: MReflector
-
-# For the file definition see MReflector::ReadFile
-
-Reflector.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-reflector.txt
-# Units mm: ~0.02° 
-#Reflector.SetSigmaPSF: 1.8
-# Units mm: ~0.03°
-#Reflector.SetSigmaPSF: 2.6
-#Reflector.SetSigmaPSF: 1.66
-
-# new Value from 7.12.2012:
-# 0.95 of the reflected light was inside a circle with a radius of 2.25mm. This corresponds to a SigmaPSF of 1.3 mm
-#Reflector.SetSigmaPSF: 1.3
-
-# new Value from 29.05.2013:
-# Set SigmaPSF to pixelsize
-Reflector.SetSigmaPSF: 10.0
-
-# --- DWARF ---
-# distance from mirror to camera [cm]
-#focal_distance     489.73
-# TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!)
-#paraboloid_focal   488.87
-
-#MGeomCam.Constructor:   MGeomCamDwarf(189.8,  9.5,  4.8887);
-MGeomCam.Constructor:   MGeomCamFACT();
-
-#MSimBundlePhotons.FileName: resmc/dwarf-fact.txt
-
-# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
-MSimAPD.Type: 4
-MSimExcessNoise.ExcessNoise: 0.12
-
-# -------------------------------------------------------------------------
-# Setup the absorption, conversion efficiency and angular acceptance
-# -------------------------------------------------------------------------
-MirrorReflectivity.FileName:           /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
-PhotonDetectionEfficiency.FileName:    /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-pde-1.0V.txt
-ConesAngularAcceptance.FileName:       /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-cones-angular-acceptance.txt
-ConesTransmission.FileName:            /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/Transmittance_1439Cones_FACT_bearbeitet.txt
-
-# -------------------------------------------------------------------------
-# Setup what in MMCS would be called "additional spot size"
-# -------------------------------------------------------------------------
-#MSimPSF.Sigma: -1
-#MSimReflector.DetectorMargin: 0
-
-# -------------------------------------------------------------------------
-# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
-# -------------------------------------------------------------------------
-# Dark Counts per APD: ~4MHz
-#MSimRandomPhotons.FrequencyFixed: 0.004
-# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
-# acceptance and the wavelength acceptance of the camera (window, apd, etc)
-# 0.040 1/ns/cm^2 NSB-rate:
-MSimRandomPhotons.FileNameNSB:
-MSimRandomPhotons.FrequencyNSB:   0.0
-
-# FIXME: With a class describing the cones we could give NSB as
-# per sr and cm^2
-
-# -------------------------------------------------------------------------
-# Setup the trigger
-# -------------------------------------------------------------------------
-# This line could be omitted but then the discriminator would be
-# evaluated for all pixels not just for the pixels which are
-# later "connected" in the trigger (used in the coincidence map)
-# MSimTrigger.FileNameRouteAC:         resmc/magic-trigger-1NN.txt
-
-MSimTrigger.FileNameRouteAC: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/fact-trigger-sum.txt
-#MSimTrigger.DiscriminatorThreshold: 13416
-
-# new Value from 29.01.2013: DiscriminatorThreshold is 9*offset(3280)+21*gain(328)=36408
-MSimTrigger.DiscriminatorThreshold: 36408
-
-# new Value from 28.08.2013: DiscriminatorThreshold is 9*offset(3720)+21*gain(372)=41292
-MSimTrigger.DiscriminatorThreshold: 41292
-
-# HEGRA like single pixel above threshold trigger
-#MSimTrigger.DiscriminatorThreshold:  10.00
-# Is this an option for a single pixel trigger?
-#MSimTrigger.DigitalSignalLength:     -1
-#MSimTrigger.CoincidenceTime:          3
-
-# Magic like 2NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-2NN.txt
-#MSimTrigger.DiscriminatorThreshold:  7.00
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 3NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-3NN.txt
-#MSimTrigger.DiscriminatorThreshold:  6.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Magic like 4NN trigger (inner 396 pixel)
-#MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-4NN.txt
-#MSimTrigger.DiscriminatorThreshold:  5.0
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-#MSimTrigger.FileNameRouteAC:         resmc/fact-7map.txt
-#MSimTrigger.DiscriminatorThreshold:  14040
-#MSimTrigger.DigitalSignalLength:     8
-#MSimTrigger.CoincidenceTime:         0.5
-
-# Every Pixel(!) should see the same signal independant of its size
-MSimCalibrationSignal.NumPhotons: 24
-MSimCalibrationSignal.NumEvents:  1000
-
-IntendedPulsePos.Val: 30
-
-#PulseShape.Function.Name: exp(-(x/2)^2/2)
-#PulseShape.FileName: /fhgfs/groups/app/mc_workshop/datacenter/setup/ceres/030/dwarf-pulse.txt
-
-# -------------------------------------------------------------------------
-# Description how a pedestal/calibration signal is produced
-# -------------------------------------------------------------------------
-
-#MSimCalibrationSignal.NumEvents:  1000
-#MSimCalibrationSignal.NumPhotons;    5
-#MSimCalibrationSignal.TimeJitter;  1.0
-
-
-# -------------------------------------------------------------------------
-# Setup the FADC
-# -------------------------------------------------------------------------
-
-MRawRunHeader.SamplingFrequency: 2000
-MRawRunHeader.NumSamples:        300
-MRawRunHeader.NumBytesPerSample:    2
-MRawRunHeader.FadcResolution:      12
-
-# Old values
-# Baseline at 15 like in MAGIC
-# 1.5 bit noise for a gain of 64
-# This allows a maximum of 200phe/pix
-#MSimCamera.DefaultOffset: 960
-#MSimCamera.DefaultNoise:   96
-#MSimCamera.DefaultGain:   358
-
-# New values
-#MSimCamera.DefaultOffset: 1000
-#MSimCamera.DefaultNoise:    30
-#MSimCamera.DefaultGain:    190
-
-# New values from 7.12.2012
-# gain of one pe is ~10mV, corresponds to 328 DAC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3280 DAC)
-# electronic noise is about 0.15 pe (->50 DAC)
-#MSimCamera.DefaultOffset: 3280
-#MSimCamera.DefaultNoise:    50
-#MSimCamera.DefaultGain:    328
-
-# New values from 28.08.2013
-# Gain (integral over 30 slices) of one pe is 123.5 mV ns in real data.
-# Gain(integral over 30 slices over the PulseShape is 10.8757 1ns.
-# The scaling factor (DefaultGain) should be 123.5 / 10.8757 mV = 11,3556 mV
-# this corresponds to 372 ADC (16 bit with a dynamic range of 2 V)
-# offset is 10 pe (->3720 ADC)
-# electronic noise is about 1.4 mV (->45 ADC)
-MSimCamera.DefaultOffset: 3720
-MSimCamera.DefaultNoise:    45
-MSimCamera.DefaultGain:    372
-
-# Value for the fudgefactor in the calculation of the accoupling:
-MSimCamera.fACFudgeFactor: 0.3367
-
-#MSimReadout.fConversionFactor: 1
-
-# The number of sampling points is almost irrelevant because they
-# are equidistant, i.e. calculated and no search is necessary.
-# Nevertheless, you must make sure that there are enough points
-# to sample the function accuratly enough.
-# Attention: x in the function is given in slices, so if you change the sampling
-# frequency you have to change also this function
-PulseShape.Function.Name:  (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
-PulseShape.Function.Npx:   300
-PulseShape.Function.Xmin:   0
-PulseShape.Function.Xmax:   300
-
-# -------------------------------------------------------------------------
-# Setup an image cleaning on the pure gamma signal (without noise)
-# -------------------------------------------------------------------------
-
-#MImgCleanStd.CleanLevel1:   6.0
-#MImgCleanStd.CleanLevel2:   6.0
-
-# -------------------------------------------------------------------------
-# This is a cut executed after the calculation of the image parameters
-# -------------------------------------------------------------------------
-Cut.Inverted: Yes
-
-#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
-Cut.Condition: MHillas.fSize>10
-#&& MHillas.fSize>30
-#MSimTrigger.SimulateElectronics: Off
-
-# Does not trigger anyway
-ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Index: trunk/Mars/resmc/fact/dwarf-pulse.txt
===================================================================
--- trunk/Mars/resmc/fact/dwarf-pulse.txt	(revision 17379)
+++ 	(revision )
@@ -1,25 +1,0 @@
--7.5 	  0            
--6.16 	  0            
--4.521 	  0.0148871    
--3.85 	  0.0323368    
--2.26295  0.377118     
--1.38 	  0.692495     
--0.93942  0.860482     
--0.682 	  0.945699     
--0.145 	  1            
-0.82529   0.83773      
-1.56058   0.701257     
-2.95764   0.547716     
-6.4871 	  0.320253     
-12.3694   0.132595     
-16.0459   0.0529824    
-22.59 	  -0.0323165   
-28.2755   -0.0843197   
-35.1635   -0.100556    
-54.1895   -0.084316    
-77.6303   -0.0520671   
-96.55 	  -0.0317267   
-116.985   -0.0198186   
-136.34 	  -0.00989597  
-151.34 	  0            
-155  	  0            
Index: trunk/Mars/resmc/fact/dwarf-reflectivity-measured.txt
===================================================================
--- trunk/Mars/resmc/fact/dwarf-reflectivity-measured.txt	(revision 17379)
+++ 	(revision )
@@ -1,11 +1,0 @@
-280 0.81
-290 0.83
-320 0.88
-360 0.915
-400 0.93
-450 0.925
-500 0.903
-600 0.851
-700 0.8
-800 0.73
-999 0.64
Index: trunk/Mars/resmc/fact/dwarf-reflector.txt
===================================================================
--- trunk/Mars/resmc/fact/dwarf-reflector.txt	(revision 17379)
+++ 	(revision )
@@ -1,41 +1,0 @@
-  60    0.0000  1.84098  -0.0612508 -0.0000000 0.998122 490.712  Hex 59.5
-  30   51.9615  1.84098  -0.0306254 -0.0530447 0.998122 490.712  Hex 59.5
- -30   51.9615  1.84098   0.0306254 -0.0530447 0.998122 490.712  Hex 59.5
- -60    0.0000  1.84098   0.0612508 -0.0000000 0.998122 490.712  Hex 59.5
- -30  -51.9615  1.84098   0.0306254  0.0530447 0.998122 490.712  Hex 59.5
-  30  -51.9615  1.84098  -0.0306254  0.0530447 0.998122 490.712  Hex 59.5
- 120    0.0000  7.36392  -0.1218180 -0.0000000 0.992552 496.248  Hex 59.5
-  90   51.9615  5.52294  -0.0915334 -0.0528468 0.994399 494.401  Hex 59.5
-  60  103.9230  7.36392  -0.0609090 -0.1054970 0.992552 496.248  Hex 59.5
-   0  103.9230  5.52294  -0.0000000 -0.1056940 0.994399 494.401  Hex 59.5
- -60  103.9230  7.36392   0.0609090 -0.1054970 0.992552 496.248  Hex 59.5
- -90   51.9615  5.52294   0.0915334 -0.0528468 0.994399 494.401  Hex 59.5
--120    0.0000  7.36392   0.1218180 -0.0000000 0.992552 496.248  Hex 59.5
- -90  -51.9615  5.52294   0.0915334  0.0528468 0.994399 494.401  Hex 59.5
- -60 -103.9230  7.36392   0.0609090  0.1054970 0.992552 496.248  Hex 59.5
-   0 -103.9230  5.52294  -0.0000000  0.1056940 0.994399 494.401  Hex 59.5
-  60 -103.9230  7.36392  -0.0609090  0.1054970 0.992552 496.248  Hex 59.5
-  90  -51.9615  5.52294  -0.0915334  0.0528468 0.994399 494.401  Hex 59.5
- 150   51.9615 12.88690  -0.1514320 -0.0524576 0.987075 501.799  Hex 59.5
- 120  103.9230 12.88690  -0.1211460 -0.1049150 0.987075 501.799  Hex 59.5
-  30  155.8850 12.88690  -0.0302864 -0.1573730 0.987075 501.799  Hex 59.5
- -30  155.8850 12.88690   0.0302864 -0.1573730 0.987075 501.799  Hex 59.5
--120  103.9230 12.88690   0.1211460 -0.1049150 0.987075 501.799  Hex 59.5
--150   51.9615 12.88690   0.1514320 -0.0524576 0.987075 501.799  Hex 59.5
--150  -51.9615 12.88690   0.1514320  0.0524576 0.987075 501.799  Hex 59.5
--120 -103.9230 12.88690   0.1211460  0.1049150 0.987075 501.799  Hex 59.5
- -30 -155.8850 12.88690   0.0302864  0.1573730 0.987075 501.799  Hex 59.5
-  30 -155.8850 12.88690  -0.0302864  0.1573730 0.987075 501.799  Hex 59.5
- 120 -103.9230 12.88690  -0.1211460  0.1049150 0.987075 501.799  Hex 59.5
- 150  -51.9615 12.88690  -0.1514320  0.0524576 0.987075 501.799  Hex 59.5
-# 210   51.9615 23.93270  -0.2097090 -0.0518896 0.976386 512.949  Hex 59.5
-# 180  103.9230 22.09180  -0.1800740 -0.1039660 0.978143 511.087  Hex 59.5
-# 150  155.8850 23.93270  -0.1497920 -0.1556690 0.976386 512.949  Hex 59.5
-# 120  207.8460 29.45570  -0.1191940 -0.2064490 0.971170 518.547  Hex 59.5
-#  60  207.8460 23.93270  -0.0599169 -0.2075580 0.976386 512.949  Hex 59.5
-#   0  207.8460 22.09180  -0.0000000 -0.2079320 0.978143 511.087  Hex 59.5
-# -60  207.8460 23.93270   0.0599169 -0.2075580 0.976386 512.949  Hex 59.5
-#-120  207.8460 29.45570   0.1191940 -0.2064490 0.971170 518.547  Hex 59.5
-#-150  155.8850 23.93270   0.1497920 -0.1556690 0.976386 512.949  Hex 59.5
-#-180  103.9230 22.09180   0.1800740 -0.1039660 0.978143 511.087  Hex 59.5
-#-210   51.9615 23.93270   0.2097090 -0.0518896 0.976386 512.949  Hex 59.5
Index: trunk/Mars/resmc/fact/fact-cones-trans-sample2.txt
===================================================================
--- trunk/Mars/resmc/fact/fact-cones-trans-sample2.txt	(revision 17379)
+++ 	(revision )
@@ -1,633 +1,0 @@
-250 0
-260 0
-270 0
-273 0
-274 .000108507
-275 .000108507
-276 .000434028
-277 .000651042
-278 .000868056
-279 .00119358
-280 .0016276
-281 .00217014
-282 .00282118
-283 .00358073
-284 .00444878
-285 .00564236
-286 .00694444
-287 .00868056
-288 .0109592
-289 .0135634
-290 .0164931
-291 .0201823
-292 .0245226
-293 .0294054
-294 .0352648
-295 .0416667
-296 .0489366
-297 .0571832
-298 .0662977
-299 .0760634
-300 .0870226
-301 .0986328
-302 .110894
-303 .124566
-304 .139214
-305 .155056
-306 .172201
-307 .190213
-308 .208767
-309 .228299
-310 .24783
-311 .267361
-312 .286892
-313 .30599
-314 .32487
-315 .343859
-316 .361762
-317 .379015
-318 .396593
-319 .419596
-320 .435655
-321 .45204
-322 .466905
-323 .481337
-324 .496202
-325 .509874
-326 .523112
-327 .535916
-328 .548611
-329 .559896
-330 .57194
-331 .582357
-332 .592556
-333 .602865
-334 .612413
-335 .621528
-336 .630968
-337 .639431
-338 .647569
-339 .655924
-340 .663737
-341 .671007
-342 .678494
-343 .685872
-344 .6926
-345 .700087
-346 .706706
-347 .712674
-348 .719293
-349 .725369
-350 .73112
-351 .737088
-352 .742513
-353 .747179
-354 .753038
-355 .758138
-356 .763455
-357 .76888
-358 .773655
-359 .777995
-360 .78342
-361 .787977
-362 .792209
-363 .797092
-364 .801324
-365 .805556
-366 .810221
-367 .814128
-368 .818251
-369 .822917
-370 .826823
-371 .830404
-372 .834744
-373 .838433
-374 .841905
-375 .845812
-376 .849175
-377 .852865
-378 .853082
-379 .851237
-380 .854058
-381 .857096
-382 .858941
-383 .860786
-384 .863173
-385 .865126
-386 .867839
-387 .870334
-388 .871419
-389 .87283
-390 .874457
-391 .875977
-392 .87793
-393 .879883
-394 .881076
-395 .882378
-396 .883572
-397 .884983
-398 .886285
-399 .887261
-400 .888238
-401 .889431
-402 .890625
-403 .891493
-404 .892904
-405 .893772
-406 .89464
-407 .895508
-408 .896159
-409 .897027
-410 .898112
-411 .898763
-412 .899631
-413 .900391
-414 .901367
-415 .901801
-416 .902452
-417 .903103
-418 .903863
-419 .904731
-420 .905707
-421 .905816
-422 .90625
-423 .907118
-424 .907444
-425 .908529
-426 .909288
-427 .909614
-428 .910048
-429 .910916
-430 .911024
-431 .911784
-432 .912869
-433 .912869
-434 .91352
-435 .913954
-436 .91428
-437 .914931
-438 .915799
-439 .916124
-440 .916992
-441 .917535
-442 .918077
-443 .919054
-444 .919922
-445 .919488
-446 .919054
-447 .919054
-448 .91862
-449 .919162
-450 .919596
-451 .919054
-452 .919379
-453 .919488
-454 .919054
-455 .919596
-456 .919705
-457 .919162
-458 .919922
-459 .920139
-460 .920356
-461 .921332
-462 .922309
-463 .922526
-464 .923503
-465 .924588
-466 .925347
-467 .926758
-468 .927734
-469 .92806
-470 .929036
-471 .930122
-472 .93023
-473 .931641
-474 .932183
-475 .932292
-476 .93316
-477 .934028
-478 .934462
-479 .936089
-480 .939019
-481 .939236
-482 .939453
-483 .937391
-484 .934896
-485 .934679
-486 .934679
-487 .933051
-488 .932834
-489 .931858
-490 .931098
-491 .930122
-492 .929579
-493 .929036
-494 .927951
-495 .927843
-496 .927409
-497 .926432
-498 .926432
-499 .927083
-500 .926215
-501 .927083
-502 .928602
-503 .928168
-504 .930122
-505 .931315
-506 .931749
-507 .933919
-508 .935113
-509 .935872
-510 .937934
-511 .939236
-512 .93967
-513 .941406
-514 .942057
-515 .9426
-516 .943793
-517 .945313
-518 .944987
-519 .946181
-520 .946289
-521 .945964
-522 .94694
-523 .947808
-524 .94694
-525 .948134
-526 .948459
-527 .948134
-528 .948676
-529 .949219
-530 .948351
-531 .948785
-532 .949002
-533 .949219
-534 .950087
-535 .949978
-536 .949544
-537 .950304
-538 .950521
-539 .950412
-540 .950629
-541 .950955
-542 .950521
-543 .950955
-544 .951172
-545 .95128
-546 .951823
-547 .951823
-548 .95128
-549 .951823
-550 .952148
-551 .952474
-552 .952908
-553 .952691
-554 .952365
-555 .952582
-556 .952582
-557 .952799
-558 .953451
-559 .953451
-560 .952908
-561 .952908
-562 .952365
-563 .952474
-564 .952799
-565 .952474
-566 .952691
-567 .953776
-568 .953668
-569 .953559
-570 .953885
-571 .953559
-572 .953668
-573 .95421
-574 .954102
-575 .954102
-576 .954536
-577 .954427
-578 .954536
-579 .955187
-580 .954644
-581 .954536
-582 .95497
-583 .95497
-584 .954861
-585 .95497
-586 .954861
-587 .954753
-588 .955295
-589 .955078
-590 .955187
-591 .955729
-592 .955187
-593 .955404
-594 .955838
-595 .955404
-596 .955404
-597 .956055
-598 .956055
-599 .956163
-600 .95638
-601 .956272
-602 .956163
-603 .956489
-604 .95638
-605 .956597
-606 .956706
-607 .956489
-608 .956814
-609 .95714
-610 .956706
-611 .956597
-612 .956923
-613 .956489
-614 .956489
-615 .956706
-616 .95638
-617 .956163
-618 .956055
-619 .955946
-620 .95638
-621 .95638
-622 .955838
-623 .955729
-624 .956055
-625 .956163
-626 .956489
-627 .957031
-628 .956814
-629 .95714
-630 .957248
-631 .957031
-632 .957248
-633 .957682
-634 .957465
-635 .957791
-636 .957899
-637 .957791
-638 .958442
-639 .959093
-640 .95855
-641 .958876
-642 .958984
-643 .958767
-644 .959201
-645 .959744
-646 .959635
-647 .959744
-648 .960286
-649 .959852
-650 .959961
-651 .960395
-652 .960069
-653 .960395
-654 .960503
-655 .960503
-656 .960612
-657 .960938
-658 .960395
-659 .960612
-660 .961046
-661 .960938
-662 .96148
-663 .961263
-664 .960829
-665 .961155
-666 .961806
-667 .960829
-668 .961697
-669 .962023
-670 .961263
-671 .961589
-672 .961697
-673 .961046
-674 .961806
-675 .962131
-676 .961806
-677 .962348
-678 .962131
-679 .961589
-680 .96224
-681 .962999
-682 .961589
-683 .962457
-684 .961589
-685 .961914
-686 .962782
-687 .963216
-688 .961914
-689 .962131
-690 .962891
-691 .962457
-692 .962674
-693 .962674
-694 .962674
-695 .962999
-696 .963325
-697 .962565
-698 .962891
-699 .963216
-700 .961914
-701 .962782
-702 .962891
-703 .962782
-704 .963325
-705 .963867
-706 .962782
-707 .962999
-708 .962674
-709 .962891
-710 .962782
-711 .962674
-712 .961806
-713 .961806
-714 .961372
-715 .960395
-716 .960178
-717 .960503
-718 .960286
-719 .959635
-720 .958767
-721 .957574
-722 .957899
-723 .957574
-724 .955512
-725 .954753
-726 .954102
-727 .953885
-728 .95421
-729 .954319
-730 .953016
-731 .953668
-732 .953559
-733 .953451
-734 .954644
-735 .954644
-736 .95421
-737 .954861
-738 .955295
-739 .955187
-740 .956706
-741 .95714
-742 .957248
-743 .95855
-744 .95931
-745 .959961
-746 .960938
-747 .961589
-748 .961589
-749 .962674
-750 .963325
-751 .963433
-752 .964627
-753 .965495
-754 .965169
-755 .965603
-756 .965712
-757 .966037
-758 .966905
-759 .967014
-760 .966471
-761 .967122
-762 .967122
-763 .966905
-764 .96799
-765 .968207
-766 .967773
-767 .968207
-768 .967882
-769 .967773
-770 .967882
-771 .967556
-772 .967773
-773 .96799
-774 .967773
-775 .967665
-776 .967665
-777 .967773
-778 .967448
-779 .967339
-780 .967122
-781 .967014
-782 .967448
-783 .967122
-784 .966471
-785 .966688
-786 .966037
-787 .966037
-788 .966363
-789 .965929
-790 .965603
-791 .965278
-792 .964844
-793 .964518
-794 .964627
-795 .963759
-796 .963325
-797 .96365
-798 .963542
-799 .963867
-800 .964084
-801 .963542
-802 .962999
-803 .962891
-804 .963108
-805 .963433
-806 .963216
-807 .962782
-808 .963325
-809 .963759
-810 .962782
-811 .962457
-812 .963433
-813 .963108
-814 .963325
-815 .963759
-816 .962999
-817 .963216
-818 .964193
-819 .964301
-820 .964627
-821 .965495
-822 .965278
-823 .965386
-824 .966146
-825 .966146
-826 .96658
-827 .966905
-828 .96658
-829 .966688
-830 .967448
-831 .967556
-832 .968207
-833 .96875
-834 .968316
-835 .968207
-836 .968424
-837 .967773
-838 .96799
-839 .967882
-840 .967014
-841 .966905
-842 .966797
-843 .966254
-844 .96658
-845 .967014
-846 .965603
-847 .965386
-848 .965061
-849 .962999
-850 .962999
-851 .962457
-852 .960286
-853 .960178
-854 .958876
-855 .956814
-856 .95714
-857 .955078
-858 .952474
-859 .951497
-860 .949219
-861 .947374
-862 .945204
-863 .944119
-864 .941406
-865 .940321
-866 .9375
-867 .937283
-868 .934353
-869 .932509
-870 .928928
-871 .928385
-872 .925239
-873 .924696
-874 .922635
-875 .91862
-876 .91862
-877 .913411
-878 .908854
-879 .904188
-880 .899631
-881 .894965
-882 .890951
-883 .883138
-884 .87576
-885 .868273
-886 .864258
-887 .860135
-888 .85395
-889 .845812
-890 .844944
-891 .84158
-892 .837782
-893 .83941
-894 .839952
-895 .831489
-896 .831055
-897 .826714
-898 .833984
-899 .836155
-900 .834201
-# added point need for ceres
-950 .8
Index: trunk/Mars/resmc/fact/fact-pde-1.4V.txt
===================================================================
--- trunk/Mars/resmc/fact/fact-pde-1.4V.txt	(revision 17379)
+++ 	(revision )
@@ -1,56 +1,0 @@
-# several points are outcomment, for a faster calculation of the spline
-# 2 artificial points
-280 0
-290 0
-#
-320 0.121739
-360 0.215913
-369.655 0.237265
-380.359 0.26367
-392.682 0.285362
-400 0.298
-410 0.313043
-420 0.329652
-429.652 0.343207
-440 0.352696
-450 0.357478
-460 0.359304
-469.397 0.359992
-480 0.358696
-487.328 0.355867
-500 0.352348
-#509.192 0.345273
-520 0.336435
-#530 0.32487
-540 0.316
-#550 0.304348
-560 0.29287
-#570 0.282609
-580 0.270783
-#590 0.259739
-600 0.247565
-610 0.237043
-616.74 0.227516
-626.822 0.218219
-636.905 0.209956
-646.987 0.199626
-#660 0.190609
-#670 0.182522
-680 0.176348
-#690 0.168087
-#700 0.160609
-710 0.154609
-#720 0.147739
-#730 0.140522
-740 0.132696
-#750 0.127304
-#760 0.12
-770 0.113739
-#780 0.10713
-790 0.100696
-846.399 0.065341
-# artificial points
-880 0.01
-890 0.001
-900 0
-950 0
Index: trunk/Mars/resmc/fact/fact-reflector-real_ceres.txt
===================================================================
--- trunk/Mars/resmc/fact/fact-reflector-real_ceres.txt	(revision 17379)
+++ 	(revision )
@@ -1,48 +1,0 @@
-# x, y and z describe the x-, y- and z-coordinate of the center of the mirror (in cm)
-# nx, ny and nz describe the x-, y- and z- component of the normal vector of the mirror
-# which is normed
-# F is the focal distance of the spherical mirror (in cm)
-# Type: Hex is a hexagonal mirror
-# fD = 60.6 is the distance of two parallel sides of the hexagon (in cm)
-# the normalvectors point to (0,0,978.132)
-# Ann-Kristin Overkemping, 03 2012
-#
-# added information about PSF: theta1 is the angle according to the smearing radius
-# of 1 sigma of the PSF area (in rad)
-# Ann-Kristin Overkemping, 06 2013
-#
-# recalculated all values according to real distances of mirrors to camera,
-# real reflection positions and partly tilted mirror mountings
-# Ann-Kristin Overkemping, 07 2013
-#########################################################################################
-# x y z nx ny nz F Type fD
-31 53.694 6.745 -0.032935 -0.055560 0.997912 487.624 Hex 60.6
-62 0 10.374 -0.064847 0.000127 0.997895 488.431 Hex 60.6
-31 -53.694 7.753 -0.031980 0.054888 0.997980 488.286 Hex 60.6
--31 -53.694 8.055 0.031505 0.055296 0.997973 488.236 Hex 60.6
--62 0 9.064 0.062825 -0.000215 0.998025 488.218 Hex 60.6
--31 53.694 5.434 0.031224 -0.056422 0.997919 488.133 Hex 60.6
-93.072 52.915 13.993 -0.096734 -0.054764 0.993803 488.453 Hex 60.6
-92.516 -52.915 17.144 -0.096221 0.054676 0.993857 488.496 Hex 60.6
-0 -107 10.799 0.000122 0.109760 0.993958 488.506 Hex 60.6
--92.829 -52.915 15.372 0.095753 0.054568 0.993908 488.637 Hex 60.6
--93.367 52.915 12.319 0.095154 -0.055501 0.993914 488.696 Hex 60.6
-0 107 12.234 -0.000817 -0.111529 0.993761 488.441 Hex 60.6
-62 107.387 16.266 -0.064900 -0.111481 0.991645 488.783 Hex 60.6
-123.448 0 22.728 -0.129106 -0.000044 0.991631 488.938 Hex 60.6
-62 -107.387 14.922 -0.063895 0.110571 0.991812 488.791 Hex 60.6
--62 -107.387 14.302 0.063484 0.110542 0.991842 489.000 Hex 60.6
--123.969 0 19.773 0.127436 -0.000885 0.991846 489.075 Hex 60.6
--62 107.387 16.163 0.063208 -0.111675 0.991733 488.767 Hex 60.6
--31 161.168 27.391 0.031514 -0.168234 0.985243 490.212 Hex 60.6
-31 161.116 27.687 -0.032460 -0.168136 0.985229 490.199 Hex 60.6
-123.743 107.331 29.558 -0.129328 -0.112322 0.985220 489.448 Hex 60.6
-154.708 53.582 29.755 -0.161510 -0.056332 0.985262 490.166 Hex 60.6
-155.212 -53.582 26.899 -0.161225 0.055293 0.985368 490.109 Hex 60.6
-124.246 -107.331 26.702 -0.128675 0.110978 0.985458 489.448 Hex 60.6
-31 -161.481 25.619 -0.032036 0.167185 0.985405 490.071 Hex 60.6
--31 -161.481 25.619 0.032047 0.166922 0.985449 489.978 Hex 60.6
--124.420 -107.331 25.717 0.128309 0.111059 0.985496 489.479 Hex 60.6
--154.795 -53.582 29.263 0.160523 0.055663 0.985461 489.975 Hex 60.6
--155.229 53.582 26.801 0.160255 -0.056631 0.985450 489.956 Hex 60.6
--124.038 107.331 27.884 0.127897 -0.112420 0.985395 489.439 Hex 60.6
Index: trunk/Mars/resmc/fact/template_rising_edge_maxprob.txt
===================================================================
--- trunk/Mars/resmc/fact/template_rising_edge_maxprob.txt	(revision 17379)
+++ 	(revision )
@@ -1,300 +1,0 @@
-1	-1.25
-2	-1.75
-3	-1.75
-4	-0.75
-5	-1.75
-6	-0.25
-7	-0.75
-8	-1.25
-9	-1.25
-10	-0.75
-11	-1.25
-12	-0.75
-13	-1.25
-14	-0.25
-15	-0.25
-16	-0.75
-17	-1.25
-18	-0.25
-19	-0.25
-20	-0.75
-21	-0.75
-22	-1.25
-23	0.25
-24	-1.25
-25	0.25
-26	-1.25
-27	-0.75
-28	-1.25
-29	-0.75
-30	-0.25
-31	-1.25
-32	-0.25
-33	0.25
-34	-0.75
-35	-0.75
-36	-0.25
-37	-0.75
-38	-0.25
-39	-1.25
-40	-1.25
-41	-0.75
-42	-0.25
-43	-0.75
-44	-1.25
-45	-1.25
-46	-1.75
-47	-0.75
-48	-0.75
-49	-0.75
-50	-0.25
-51	-1.25
-52	-0.75
-53	-1.25
-54	-0.75
-55	-1.25
-56	-1.25
-57	-1.25
-58	-1.75
-59	-0.75
-60	-0.75
-61	-0.25
-62	-1.75
-63	-0.75
-64	-0.75
-65	-1.25
-66	-0.25
-67	-0.75
-68	-0.25
-69	0.75
-70	2.25
-71	3.75
-72	6.25
-73	7.25
-74	7.75
-75	9.25
-76	10.25
-77	11.25
-78	10.75
-79	11.25
-80	11.25
-81	10.75
-82	10.75
-83	10.25
-84	10.75
-85	9.25
-86	8.75
-87	9.25
-88	8.75
-89	7.25
-90	7.25
-91	7.75
-92	7.25
-93	7.25
-94	7.25
-95	7.25
-96	6.75
-97	6.75
-98	7.25
-99	5.75
-100	6.25
-101	5.25
-102	5.75
-103	4.75
-104	4.75
-105	4.75
-106	4.75
-107	4.25
-108	3.75
-109	4.75
-110	5.25
-111	4.75
-112	3.75
-113	3.75
-114	3.25
-115	4.25
-116	3.25
-117	2.75
-118	2.75
-119	2.75
-120	2.75
-121	2.75
-122	2.25
-123	2.75
-124	2.25
-125	2.75
-126	2.25
-127	2.25
-128	2.25
-129	2.25
-130	1.75
-131	1.75
-132	1.75
-133	1.75
-134	1.75
-135	0.75
-136	1.25
-137	0.75
-138	2.25
-139	1.25
-140	1.25
-141	1.75
-142	1.25
-143	0.75
-144	1.75
-145	1.25
-146	1.25
-147	1.25
-148	1.25
-149	1.75
-150	1.25
-151	0.75
-152	1.25
-153	0.75
-154	1.25
-155	0.25
-156	1.25
-157	0.25
-158	0.75
-159	0.25
-160	-0.25
-161	0.75
-162	0.25
-163	-0.25
-164	0.75
-165	-0.75
-166	0.25
-167	0.75
-168	-0.25
-169	-0.25
-170	0.25
-171	0.75
-172	-0.75
-173	-0.25
-174	-0.25
-175	-0.25
-176	-0.25
-177	-0.25
-178	0.25
-179	-0.25
-180	-0.25
-181	-0.25
-182	-0.25
-183	0.25
-184	0.25
-185	0.25
-186	0.25
-187	-0.75
-188	-0.75
-189	-0.25
-190	-0.25
-191	-0.75
-192	0.75
-193	0.75
-194	-1.25
-195	-1.25
-196	-1.25
-197	0.25
-198	-1.25
-199	0.25
-200	-0.75
-201	-1.25
-202	-0.25
-203	0.25
-204	0.25
-205	0.25
-206	0.25
-207	-1.25
-208	-0.75
-209	-0.75
-210	-0.25
-211	0.25
-212	-0.75
-213	0.25
-214	-0.25
-215	-0.75
-216	-0.75
-217	-0.25
-218	-0.75
-219	-1.25
-220	-0.75
-221	-0.25
-222	-1.25
-223	0.25
-224	-0.25
-225	-0.25
-226	0.25
-227	-1.25
-228	-0.75
-229	-0.25
-230	-0.75
-231	-0.75
-232	-0.75
-233	-0.25
-234	-1.25
-235	-1.25
-236	-0.25
-237	-0.75
-238	0.25
-239	-1.25
-240	-0.25
-241	-0.75
-242	-0.75
-243	-0.75
-244	-0.25
-245	-0.25
-246	0.75
-247	-1.75
-248	-1.25
-249	-0.75
-250	-1.75
-251	-1.25
-252	-0.75
-253	0.25
-254	-0.25
-255	-0.25
-256	-0.25
-257	-1.75
-258	-1.25
-259	-0.25
-260	0.75
-261	-2.25
-262	-1.25
-263	-0.25
-264	-0.75
-265	-1.75
-266	0.25
-267	-0.75
-268	-0.75
-269	-0.25
-270	-0.75
-271	-0.25
-272	-0.25
-273	-0.25
-274	-0.25
-275	-1.25
-276	-0.75
-277	-0.25
-278	0.25
-279	-1.25
-280	-1.75
-281	-1.25
-282	-0.75
-283	-0.75
-284	-0.25
-285	-0.25
-286	-0.75
-287	0.25
-288	-1.25
-289	-1.25
-290	-0.75
-291	-0.25
-292	-0.75
-293	-1.25
-294	-0.25
-295	-1.25
-296	-0.75
-297	-0.75
-298	-0.25
-299	-1.25
-300	-1.75
Index: trunk/Mars/resmc/fact/template_rising_edge_maxprob_in_ns.txt
===================================================================
--- trunk/Mars/resmc/fact/template_rising_edge_maxprob_in_ns.txt	(revision 17379)
+++ 	(revision )
@@ -1,300 +1,0 @@
--39.5 -1.25
--39 -1.75
--38.5 -1.75
--38 -0.75
--37.5 -1.75
--37 -0.25
--36.5 -0.75
--36 -1.25
--35.5 -1.25
--35 -0.75
--34.5 -1.25
--34 -0.75
--33.5 -1.25
--33 -0.25
--32.5 -0.25
--32 -0.75
--31.5 -1.25
--31 -0.25
--30.5 -0.25
--30 -0.75
--29.5 -0.75
--29 -1.25
--28.5 0.25
--28 -1.25
--27.5 0.25
--27 -1.25
--26.5 -0.75
--26 -1.25
--25.5 -0.75
--25 -0.25
--24.5 -1.25
--24 -0.25
--23.5 0.25
--23 -0.75
--22.5 -0.75
--22 -0.25
--21.5 -0.75
--21 -0.25
--20.5 -1.25
--20 -1.25
--19.5 -0.75
--19 -0.25
--18.5 -0.75
--18 -1.25
--17.5 -1.25
--17 -1.75
--16.5 -0.75
--16 -0.75
--15.5 -0.75
--15 -0.25
--14.5 -1.25
--14 -0.75
--13.5 -1.25
--13 -0.75
--12.5 -1.25
--12 -1.25
--11.5 -1.25
--11 -1.75
--10.5 -0.75
--10 -0.75
--9.5 -0.25
--9 -1.75
--8.5 -0.75
--8 -0.75
--7.5 -1.25
--7 -0.25
--6.5 -0.75
--6 -0.25
--5.5 0.75
--5 2.25
--4.5 3.75
--4 6.25
--3.5 7.25
--3 7.75
--2.5 9.25
--2 10.25
--1.5 11.25
--1 10.75
--0.5 11.25
-0 11.25
-0.5 10.75
-1 10.75
-1.5 10.25
-2 10.75
-2.5 9.25
-3 8.75
-3.5 9.25
-4 8.75
-4.5 7.25
-5 7.25
-5.5 7.75
-6 7.25
-6.5 7.25
-7 7.25
-7.5 7.25
-8 6.75
-8.5 6.75
-9 7.25
-9.5 5.75
-10 6.25
-10.5 5.25
-11 5.75
-11.5 4.75
-12 4.75
-12.5 4.75
-13 4.75
-13.5 4.25
-14 3.75
-14.5 4.75
-15 5.25
-15.5 4.75
-16 3.75
-16.5 3.75
-17 3.25
-17.5 4.25
-18 3.25
-18.5 2.75
-19 2.75
-19.5 2.75
-20 2.75
-20.5 2.75
-21 2.25
-21.5 2.75
-22 2.25
-22.5 2.75
-23 2.25
-23.5 2.25
-24 2.25
-24.5 2.25
-25 1.75
-25.5 1.75
-26 1.75
-26.5 1.75
-27 1.75
-27.5 0.75
-28 1.25
-28.5 0.75
-29 2.25
-29.5 1.25
-30 1.25
-30.5 1.75
-31 1.25
-31.5 0.75
-32 1.75
-32.5 1.25
-33 1.25
-33.5 1.25
-34 1.25
-34.5 1.75
-35 1.25
-35.5 0.75
-36 1.25
-36.5 0.75
-37 1.25
-37.5 0.25
-38 1.25
-38.5 0.25
-39 0.75
-39.5 0.25
-40 -0.25
-40.5 0.75
-41 0.25
-41.5 -0.25
-42 0.75
-42.5 -0.75
-43 0.25
-43.5 0.75
-44 -0.25
-44.5 -0.25
-45 0.25
-45.5 0.75
-46 -0.75
-46.5 -0.25
-47 -0.25
-47.5 -0.25
-48 -0.25
-48.5 -0.25
-49 0.25
-49.5 -0.25
-50 -0.25
-50.5 -0.25
-51 -0.25
-51.5 0.25
-52 0.25
-52.5 0.25
-53 0.25
-53.5 -0.75
-54 -0.75
-54.5 -0.25
-55 -0.25
-55.5 -0.75
-56 0.75
-56.5 0.75
-57 -1.25
-57.5 -1.25
-58 -1.25
-58.5 0.25
-59 -1.25
-59.5 0.25
-60 -0.75
-60.5 -1.25
-61 -0.25
-61.5 0.25
-62 0.25
-62.5 0.25
-63 0.25
-63.5 -1.25
-64 -0.75
-64.5 -0.75
-65 -0.25
-65.5 0.25
-66 -0.75
-66.5 0.25
-67 -0.25
-67.5 -0.75
-68 -0.75
-68.5 -0.25
-69 -0.75
-69.5 -1.25
-70 -0.75
-70.5 -0.25
-71 -1.25
-71.5 0.25
-72 -0.25
-72.5 -0.25
-73 0.25
-73.5 -1.25
-74 -0.75
-74.5 -0.25
-75 -0.75
-75.5 -0.75
-76 -0.75
-76.5 -0.25
-77 -1.25
-77.5 -1.25
-78 -0.25
-78.5 -0.75
-79 0.25
-79.5 -1.25
-80 -0.25
-80.5 -0.75
-81 -0.75
-81.5 -0.75
-82 -0.25
-82.5 -0.25
-83 0.75
-83.5 -1.75
-84 -1.25
-84.5 -0.75
-85 -1.75
-85.5 -1.25
-86 -0.75
-86.5 0.25
-87 -0.25
-87.5 -0.25
-88 -0.25
-88.5 -1.75
-89 -1.25
-89.5 -0.25
-90 0.75
-90.5 -2.25
-91 -1.25
-91.5 -0.25
-92 -0.75
-92.5 -1.75
-93 0.25
-93.5 -0.75
-94 -0.75
-94.5 -0.25
-95 -0.75
-95.5 -0.25
-96 -0.25
-96.5 -0.25
-97 -0.25
-97.5 -1.25
-98 -0.75
-98.5 -0.25
-99 0.25
-99.5 -1.25
-100 -1.75
-100.5 -1.25
-101 -0.75
-101.5 -0.75
-102 -0.25
-102.5 -0.25
-103 -0.75
-103.5 0.25
-104 -1.25
-104.5 -1.25
-105 -0.75
-105.5 -0.25
-106 -0.75
-106.5 -1.25
-107 -0.25
-107.5 -1.25
-108 -0.75
-108.5 -0.75
-109 -0.25
-109.5 -1.25
-110 -1.75
